web2019/static/js/shop.bundle.js

2 lines
325 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! For license information please see shop.bundle.js.LICENSE.txt */
(()=>{var e={679:(e,t,n)=>{"use strict";var r=n(296),a={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function u(e){return r.isMemo(e)?i:l[e.$$typeof]||a}l[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},l[r.Memo]=i;var s=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var a=p(n);a&&a!==m&&e(t,a,r)}var i=c(n);d&&(i=i.concat(d(n)));for(var l=u(t),g=u(n),h=0;h<i.length;++h){var v=i[h];if(!(o[v]||r&&r[v]||g&&g[v]||l&&l[v])){var b=f(n,v);try{s(t,v,b)}catch(e){}}}}return t}},103:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,a=n?Symbol.for("react.portal"):60106,o=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,l=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,s=n?Symbol.for("react.context"):60110,c=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,b=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case c:case d:case o:case l:case i:case p:return e;default:switch(e=e&&e.$$typeof){case s:case f:case h:case g:case u:return e;default:return t}}case a:return t}}}function S(e){return E(e)===d}t.AsyncMode=c,t.ConcurrentMode=d,t.ContextConsumer=s,t.ContextProvider=u,t.Element=r,t.ForwardRef=f,t.Fragment=o,t.Lazy=h,t.Memo=g,t.Portal=a,t.Profiler=l,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return S(e)||E(e)===c},t.isConcurrentMode=S,t.isContextConsumer=function(e){return E(e)===s},t.isContextProvider=function(e){return E(e)===u},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===f},t.isFragment=function(e){return E(e)===o},t.isLazy=function(e){return E(e)===h},t.isMemo=function(e){return E(e)===g},t.isPortal=function(e){return E(e)===a},t.isProfiler=function(e){return E(e)===l},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===o||e===d||e===l||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===g||e.$$typeof===u||e.$$typeof===s||e.$$typeof===f||e.$$typeof===b||e.$$typeof===y||e.$$typeof===w||e.$$typeof===v)},t.typeOf=E},296:(e,t,n)=>{"use strict";e.exports=n(103)},703:(e,t,n)=>{"use strict";var r=n(414);function a(){}function o(){}o.resetWarningCache=a,e.exports=function(){function e(e,t,n,a,o,i){if(i!==r){var l=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw l.name="Invariant Violation",l}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:a};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},206:(e,t,n)=>{"use strict";n.r(t),n.d(t,{DragDropContext:()=>Sa,Draggable:()=>Ya,Droppable:()=>to,resetServerContext:()=>Ea,useKeyboardSensor:()=>ea,useMouseSensor:()=>Yr,useTouchSensor:()=>aa});var r=n(294);function a(e,t){return a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},a(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a(e,t)}function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i.apply(this,arguments)}function l(e){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},l(e)}function u(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==l(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==l(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===l(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(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 c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(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 f="function"==typeof Symbol&&Symbol.observable||"@@observable",p=function(){return Math.random().toString(36).substring(7).split("").join(".")},m={INIT:"@@redux/INIT"+p(),REPLACE:"@@redux/REPLACE"+p(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+p()}};function g(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(d(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(d(1));return n(g)(e,t)}if("function"!=typeof e)throw new Error(d(2));var a=e,o=t,i=[],l=i,u=!1;function s(){l===i&&(l=i.slice())}function c(){if(u)throw new Error(d(3));return o}function p(e){if("function"!=typeof e)throw new Error(d(4));if(u)throw new Error(d(5));var t=!0;return s(),l.push(e),function(){if(t){if(u)throw new Error(d(6));t=!1,s();var n=l.indexOf(e);l.splice(n,1),i=null}}}function h(e){if(!function(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}(e))throw new Error(d(7));if(void 0===e.type)throw new Error(d(8));if(u)throw new Error(d(9));try{u=!0,o=a(o,e)}finally{u=!1}for(var t=i=l,n=0;n<t.length;n++)(0,t[n])();return e}return h({type:m.INIT}),(r={dispatch:h,subscribe:p,getState:c,replaceReducer:function(e){if("function"!=typeof e)throw new Error(d(10));a=e,h({type:m.REPLACE})}})[f]=function(){var e,t=p;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(d(11));function n(){e.next&&e.next(c())}return n(),{unsubscribe:t(n)}}})[f]=function(){return this},e},r}function h(e,t){return function(){return t(e.apply(this,arguments))}}function v(e,t){if("function"==typeof e)return h(e,t);if("object"!=typeof e||null===e)throw new Error(d(16));var n={};for(var r in e){var a=e[r];"function"==typeof a&&(n[r]=h(a,t))}return n}function b(){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))}}))}var y=r.createContext(null),w=function(e){e()},E=function(){return w},S={notify:function(){},get:function(){return[]}};function k(e,t){var n,r=S;function a(){i.onStateChange&&i.onStateChange()}function o(){n||(n=t?t.addNestedSub(a):e.subscribe(a),r=function(){var e=E(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,a=n={callback:e,next:null,prev:n};return a.prev?a.prev.next=a:t=a,function(){r&&null!==t&&(r=!1,a.next?a.next.prev=a.prev:n=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}())}var i={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=S)},getListeners:function(){return r}};return i}var C="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;const x=function(e){var t=e.store,n=e.context,a=e.children,o=(0,r.useMemo)((function(){var e=k(t);return{store:t,subscription:e}}),[t]),i=(0,r.useMemo)((function(){return t.getState()}),[t]);C((function(){var e=o.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),i!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[o,i]);var l=n||y;return r.createElement(l.Provider,{value:o},a)};function I(e,t){if(null==e)return{};var n,r,a={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(a[n]=e[n]);return a}var O=n(679),P=n.n(O),D=n(864),N=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],R=["reactReduxForwardedRef"],T=[],_=[null,null];function M(e,t){var n=e[1];return[t.payload,n+1]}function A(e,t,n){C((function(){return e.apply(void 0,t)}),n)}function L(e,t,n,r,a,o,i){e.current=r,t.current=a,n.current=!1,o.current&&(o.current=null,i())}function B(e,t,n,r,a,o,i,l,u,s){if(e){var c=!1,d=null,f=function(){if(!c){var e,n,f=t.getState();try{e=r(f,a.current)}catch(e){n=e,d=e}n||(d=null),e===o.current?i.current||u():(o.current=e,l.current=e,i.current=!0,s({type:"STORE_UPDATED",payload:{error:n}}))}};return n.onStateChange=f,n.trySubscribe(),f(),function(){if(c=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var F=function(){return[null,0]};function j(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,o=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,l=n.methodName,u=void 0===l?"connectAdvanced":l,s=n.renderCountProp,c=void 0===s?void 0:s,d=n.shouldHandleStateChanges,f=void 0===d||d,p=n.storeKey,m=void 0===p?"store":p,g=(n.withRef,n.forwardRef),h=void 0!==g&&g,v=n.context,b=void 0===v?y:v,w=I(n,N),E=b;return function(t){var n=t.displayName||t.name||"Component",a=o(n),l=i({},w,{getDisplayName:o,methodName:u,renderCountProp:c,shouldHandleStateChanges:f,storeKey:m,displayName:a,wrappedComponentName:n,WrappedComponent:t}),s=w.pure,d=s?r.useMemo:function(e){return e()};function p(n){var a=(0,r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=I(n,R);return[n.context,e,t]}),[n]),o=a[0],u=a[1],s=a[2],c=(0,r.useMemo)((function(){return o&&o.Consumer&&(0,D.isContextConsumer)(r.createElement(o.Consumer,null))?o:E}),[o,E]),p=(0,r.useContext)(c),m=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(p)&&Boolean(p.store);var g=m?n.store:p.store,h=(0,r.useMemo)((function(){return function(t){return e(t.dispatch,l)}(g)}),[g]),v=(0,r.useMemo)((function(){if(!f)return _;var e=k(g,m?null:p.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[g,m,p]),b=v[0],y=v[1],w=(0,r.useMemo)((function(){return m?p:i({},p,{subscription:b})}),[m,p,b]),S=(0,r.useReducer)(M,T,F),C=S[0][0],x=S[1];if(C&&C.error)throw C.error;var O=(0,r.useRef)(),P=(0,r.useRef)(s),N=(0,r.useRef)(),j=(0,r.useRef)(!1),z=d((function(){return N.current&&s===P.current?N.current:h(g.getState(),s)}),[g,C,s]);A(L,[P,O,j,s,z,N,y]),A(B,[f,g,b,h,P,O,j,N,y,x],[g,b,h]);var U=(0,r.useMemo)((function(){return r.createElement(t,i({},z,{ref:u}))}),[u,t,z]);return(0,r.useMemo)((function(){return f?r.createElement(c.Provider,{value:w},U):U}),[c,U,w])}var g=s?r.memo(p):p;if(g.WrappedComponent=t,g.displayName=p.displayName=a,h){var v=r.forwardRef((function(e,t){return r.createElement(g,i({},e,{reactReduxForwardedRef:t}))}));return v.displayName=a,v.WrappedComponent=t,P()(v,t)}return P()(g,t)}}function z(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function U(e,t){if(z(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])||!z(e[n[a]],t[n[a]]))return!1;return!0}function W(e){return function(t,n){var r=e(t,n);function a(){return r}return a.dependsOnOwnProps=!1,a}}function G(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function H(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=G(e);var a=r(t,n);return"function"==typeof a&&(r.mapToProps=a,r.dependsOnOwnProps=G(a),a=r(t,n)),a},r}}const V=[function(e){return"function"==typeof e?H(e):void 0},function(e){return e?void 0:W((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?W((function(t){return function(e,t){var n={},r=function(r){var a=e[r];"function"==typeof a&&(n[r]=function(){return t(a.apply(void 0,arguments))})};for(var a in e)r(a);return n}(e,t)})):void 0}],q=[function(e){return"function"==typeof e?H(e):void 0},function(e){return e?void 0:W((function(){return{}}))}];function $(e,t,n){return i({},n,e,t)}const Q=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,a=n.pure,o=n.areMergedPropsEqual,i=!1;return function(t,n,l){var u=e(t,n,l);return i?a&&o(u,r)||(r=u):(i=!0,r=u),r}}}(e):void 0},function(e){return e?void 0:function(){return $}}];var K=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function J(e,t,n,r){return function(a,o){return n(e(a,o),t(r,o),o)}}function Y(e,t,n,r,a){var o,i,l,u,s,c=a.areStatesEqual,d=a.areOwnPropsEqual,f=a.areStatePropsEqual,p=!1;return function(a,m){return p?function(a,p){var m,g,h=!d(p,i),v=!c(a,o,p,i);return o=a,i=p,h&&v?(l=e(o,i),t.dependsOnOwnProps&&(u=t(r,i)),s=n(l,u,i)):h?(e.dependsOnOwnProps&&(l=e(o,i)),t.dependsOnOwnProps&&(u=t(r,i)),s=n(l,u,i)):v?(m=e(o,i),g=!f(m,l),l=m,g&&(s=n(l,u,i)),s):s}(a,m):(l=e(o=a,i=m),u=t(r,i),s=n(l,u,i),p=!0,s)}}function X(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,a=t.initMergeProps,o=I(t,K),i=n(e,o),l=r(e,o),u=a(e,o);return(o.pure?Y:J)(i,l,u,e,o)}var Z=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function ee(e,t,n){for(var r=t.length-1;r>=0;r--){var a=t[r](e);if(a)return a}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function te(e,t){return e===t}function ne(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?j:n,a=t.mapStateToPropsFactories,o=void 0===a?q:a,l=t.mapDispatchToPropsFactories,u=void 0===l?V:l,s=t.mergePropsFactories,c=void 0===s?Q:s,d=t.selectorFactory,f=void 0===d?X:d;return function(e,t,n,a){void 0===a&&(a={});var l=a,s=l.pure,d=void 0===s||s,p=l.areStatesEqual,m=void 0===p?te:p,g=l.areOwnPropsEqual,h=void 0===g?U:g,v=l.areStatePropsEqual,b=void 0===v?U:v,y=l.areMergedPropsEqual,w=void 0===y?U:y,E=I(l,Z),S=ee(e,o,"mapStateToProps"),k=ee(t,u,"mapDispatchToProps"),C=ee(n,c,"mergeProps");return r(f,i({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:S,initMapDispatchToProps:k,initMergeProps:C,pure:d,areStatesEqual:m,areOwnPropsEqual:h,areStatePropsEqual:b,areMergedPropsEqual:w},E))}}const re=ne();var ae,oe=n(935);function ie(e,t){var n=(0,r.useState)((function(){return{inputs:t,result:e()}}))[0],a=(0,r.useRef)(!0),o=(0,r.useRef)(n),i=a.current||Boolean(t&&o.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,o.current.inputs))?o.current:{inputs:t,result:e()};return(0,r.useEffect)((function(){a.current=!1,o.current=i}),[i]),i.result}ae=oe.unstable_batchedUpdates,w=ae;var le=ie,ue=function(e,t){return ie((function(){return e}),t)},se=function(e){var t=e.top,n=e.right,r=e.bottom,a=e.left;return{top:t,right:n,bottom:r,left:a,width:n-a,height:r-t,x:a,y:t,center:{x:(n+a)/2,y:(r+t)/2}}},ce=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},de=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},fe={top:0,right:0,bottom:0,left:0},pe=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?fe:n,a=e.border,o=void 0===a?fe:a,i=e.padding,l=void 0===i?fe:i,u=se(ce(t,r)),s=se(de(t,o)),c=se(de(s,l));return{marginBox:u,borderBox:se(t),paddingBox:s,contentBox:c,margin:r,border:o,padding:l}},me=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(e,t){throw new Error("Invariant failed")}(),n},ge=function(e,t){var n,r,a=e.borderBox,o=e.border,i=e.margin,l=e.padding,u=(r=t,{top:(n=a).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return pe({borderBox:u,border:o,margin:i,padding:l})},he=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),ge(e,t)},ve=function(e,t){var n={top:me(t.marginTop),right:me(t.marginRight),bottom:me(t.marginBottom),left:me(t.marginLeft)},r={top:me(t.paddingTop),right:me(t.paddingRight),bottom:me(t.paddingBottom),left:me(t.paddingLeft)},a={top:me(t.borderTopWidth),right:me(t.borderRightWidth),bottom:me(t.borderBottomWidth),left:me(t.borderLeftWidth)};return pe({borderBox:e,margin:n,padding:r,border:a})},be=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return ve(t,n)},ye=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function we(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(a=t[n])||ye(r)&&ye(a)))return!1;var r,a;return!0}const Ee=function(e,t){var n;void 0===t&&(t=we);var r,a=[],o=!1;return function(){for(var i=[],l=0;l<arguments.length;l++)i[l]=arguments[l];return o&&n===this&&t(i,a)||(r=e.apply(this,i),o=!0,n=this,a=i),r}},Se=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];t=a,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function ke(e,t){}function Ce(){}function xe(e,t,n){var r=t.map((function(t){var r,a,o=(r=n,a=t.options,i({},r,{},a));return e.addEventListener(t.eventName,t.fn,o),function(){e.removeEventListener(t.eventName,t.fn,o)}}));return function(){r.forEach((function(e){e()}))}}ke.bind(null,"warn"),ke.bind(null,"error");var Ie=!0,Oe="Invariant failed";function Pe(e){this.message=e}function De(e,t){if(!e)throw new Pe(Ie?Oe:Oe+": "+(t||""))}Pe.prototype.toString=function(){return this.message};var Ne=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).callbacks=null,t.unbind=Ce,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof Pe&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}o(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=xe(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof Pe))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(r.Component),Re=function(e){return e+1},Te=function(e,t){var n=e.droppableId===t.droppableId,r=Re(e.index),a=Re(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+a+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+a+"\n "},_e=function(e,t,n){return t.droppableId===n.droppableId?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},Me=function(e){return"\n The item has returned to its starting position\n of "+Re(e.index)+"\n"},Ae={dragHandleUsageInstructions:"\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",onDragStart:function(e){return"\n You have lifted an item in position "+Re(e.source.index)+"\n"},onDragUpdate:function(e){var t=e.destination;if(t)return Te(e.source,t);var n=e.combine;return n?_e(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},onDragEnd:function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+Me(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+Te(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+_e(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+Me(e.source)+"\n "}},Le={x:0,y:0},Be=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},Fe=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},je=function(e,t){return e.x===t.x&&e.y===t.y},ze=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},Ue=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},We=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},Ge=function(e,t){return Math.min.apply(Math,t.map((function(t){return We(e,t)})))},He=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},Ve=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},qe=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},$e=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=se({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):se(e)},Qe=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,a=e.frame,o=function(e,t){return t?Ve(e,t.scroll.diff.displacement):e}(t.marginBox,a),l=function(e,t,n){var r;return n&&n.increasedBy?i({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(o,r,n);return{page:t,withPlaceholder:n,active:$e(l,a)}},Ke=function(e,t){e.frame||De(!1);var n=e.frame,r=Fe(t,n.scroll.initial),a=ze(r),o=i({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:a},max:n.scroll.max}});return i({},e,{frame:o,subject:Qe({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:o})})};function Je(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function Ye(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function Xe(e,t){if(e.find)return e.find(t);var n=Ye(e,t);return-1!==n?e[n]:void 0}function Ze(e){return Array.prototype.slice.call(e)}var et=Ee((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),tt=Ee((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),nt=Ee((function(e){return Je(e)})),rt=Ee((function(e){return Je(e)})),at=Ee((function(e,t){var n=rt(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}));return n}));function ot(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function it(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var lt=Ee((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),ut=function(e,t){return e.descriptor.droppableId===t.descriptor.id},st={point:Le,value:0},ct={invisible:{},visible:{},all:[]},dt={displaced:ct,displacedBy:st,at:null},ft=function(e,t){return function(n){return e<=n&&n<=t}},pt=function(e){var t=ft(e.top,e.bottom),n=ft(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var a=t(r.top)||t(r.bottom),o=n(r.left)||n(r.right);if(a&&o)return!0;var i=r.top<e.top&&r.bottom>e.bottom,l=r.left<e.left&&r.right>e.right;return!(!i||!l)||i&&o||l&&a}},mt=function(e){var t=ft(e.top,e.bottom),n=ft(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},gt={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ht={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},vt=function(e){var t=e.target,n=e.destination,r=e.viewport,a=e.withDroppableDisplacement,o=e.isVisibleThroughFrameFn,i=a?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:Le;return Ve(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(i,n,o)&&function(e,t,n){return n(t)(e)}(i,r,o)},bt=function(e){return vt(i({},e,{isVisibleThroughFrameFn:pt}))},yt=function(e){return vt(i({},e,{isVisibleThroughFrameFn:mt}))},wt=function(e,t,n){if("boolean"==typeof n)return n;if(!t)return!0;var r=t.invisible,a=t.visible;if(r[e])return!1;var o=a[e];return!o||o.shouldAnimate};function Et(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,a=e.viewport,o=e.forceShouldAnimate,i=e.last;return t.reduce((function(e,t){var l=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return se(ce(n,r))}(t,r),u=t.descriptor.id;if(e.all.push(u),!bt({target:l,destination:n,viewport:a,withDroppableDisplacement:!0}))return e.invisible[t.descriptor.id]=!0,e;var s={draggableId:u,shouldAnimate:wt(u,i,o)};return e.visible[u]=s,e}),{all:[],visible:{},invisible:{}})}function St(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,a=e.destination,o=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:ct,displacedBy:r,at:{type:"REORDER",destination:{droppableId:a.descriptor.id,index:o}}}}function kt(e){var t=e.draggable,n=e.insideDestination,r=e.destination,a=e.viewport,o=e.displacedBy,i=e.last,l=e.index,u=e.forceShouldAnimate,s=ut(t,r);if(null==l)return St({insideDestination:n,inHomeList:s,displacedBy:o,destination:r});var c=Xe(n,(function(e){return e.descriptor.index===l}));if(!c)return St({insideDestination:n,inHomeList:s,displacedBy:o,destination:r});var d=lt(t,n),f=n.indexOf(c);return{displaced:Et({afterDragging:d.slice(f),destination:r,displacedBy:o,last:i,viewport:a.frame,forceShouldAnimate:u}),displacedBy:o,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:l}}}}function Ct(e,t){return Boolean(t.effected[e])}var xt=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},It=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},Ot=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Ue(t.line,n.marginBox[t.end]+xt(t,r),It(t,n.marginBox,r))},Pt=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Ue(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),It(t,n.marginBox,r))},Dt=function(e,t){var n=e.frame;return n?Be(t,n.scroll.diff.displacement):t},Nt=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,a=e.draggables,o=e.afterCritical,i=n.page.borderBox.center,l=t.at;return r&&l?"REORDER"===l.type?function(e){var t=e.impact,n=e.draggable,r=e.draggables,a=e.droppable,o=e.afterCritical,i=at(a.descriptor.id,r),l=n.page,u=a.axis;if(!i.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return Ue(t.line,n.contentBox[t.start]+xt(t,r),It(t,n.contentBox,r))}({axis:u,moveInto:a.page,isMoving:l});var s=t.displaced,c=t.displacedBy,d=s.all[0];if(d){var f=r[d];if(Ct(d,o))return Pt({axis:u,moveRelativeTo:f.page,isMoving:l});var p=ge(f.page,c.point);return Pt({axis:u,moveRelativeTo:p,isMoving:l})}var m=i[i.length-1];if(m.descriptor.id===n.descriptor.id)return l.borderBox.center;if(Ct(m.descriptor.id,o)){var g=ge(m.page,ze(o.displacedBy.point));return Ot({axis:u,moveRelativeTo:g,isMoving:l})}return Ot({axis:u,moveRelativeTo:m.page,isMoving:l})}({impact:t,draggable:n,draggables:a,droppable:r,afterCritical:o}):function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,a=it(n);a||De(!1);var o=a.draggableId,i=r[o].page.borderBox.center,l=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,a=e.displacedBy,o=Boolean(t.visible[r]||t.invisible[r]);return Ct(r,n)?o?Le:ze(a.point):o?a.point:Le}({displaced:n.displaced,afterCritical:t,combineWith:o,displacedBy:n.displacedBy});return Be(i,l)}({impact:t,draggables:a,afterCritical:o}):i}(e),n=e.droppable;return n?Dt(n,t):t},Rt=function(e,t){var n=Fe(t,e.scroll.initial),r=ze(n);return{frame:se({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function Tt(e,t){return e.map((function(e){return t[e]}))}var _t=function(e){var t,n,r=e.pageBorderBoxCenter,a=e.draggable,o=(t=e.viewport,n=r,Be(t.scroll.diff.displacement,n)),i=Fe(o,a.page.borderBox.center);return Be(a.client.borderBox.center,i)},Mt=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,a=e.viewport,o=e.withDroppableDisplacement,l=e.onlyOnMainAxis,u=void 0!==l&&l,s=Fe(r,t.page.borderBox.center),c={target:Ve(t.page.borderBox,s),destination:n,withDroppableDisplacement:o,viewport:a};return u?function(e){return vt(i({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=ft(e.top,e.bottom),r=ft(e.left,e.right);return function(e){return t===gt?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(c):yt(c)},At=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,a=e.draggables,o=e.previousImpact,l=e.viewport,u=e.previousPageBorderBoxCenter,s=e.previousClientSelection,c=e.afterCritical;if(!r.isEnabled)return null;var d=at(r.descriptor.id,a),f=ut(n,r),p=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,a=e.insideDestination,o=e.previousImpact;if(!r.isCombineEnabled)return null;if(!ot(o))return null;function l(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return i({},o,{at:t})}var u=o.displaced.all,s=u.length?u[0]:null;if(t)return s?l(s):null;var c=lt(n,a);if(!s)return c.length?l(c[c.length-1].descriptor.id):null;var d=Ye(c,(function(e){return e.descriptor.id===s}));-1===d&&De(!1);var f=d-1;return f<0?null:l(c[f].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:d,previousImpact:o})||function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,a=e.draggables,o=e.destination,i=e.insideDestination,l=e.previousImpact,u=e.viewport,s=e.afterCritical,c=l.at;if(c||De(!1),"REORDER"===c.type){var d=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,a=e.location;if(!r.length)return null;var o=a.index,i=t?o+1:o-1,l=r[0].descriptor.index,u=r[r.length-1].descriptor.index;return i<l||i>(n?u:u+1)?null:i}({isMovingForward:t,isInHomeList:n,location:c.destination,insideDestination:i});return null==d?null:kt({draggable:r,insideDestination:i,destination:o,viewport:u,last:l.displaced,displacedBy:l.displacedBy,index:d})}var f=function(e){var t=e.isMovingForward,n=e.draggables,r=e.combine,a=e.afterCritical;if(!e.destination.isCombineEnabled)return null;var o=r.draggableId,i=n[o].descriptor.index;return Ct(o,a)?t?i:i-1:t?i+1:i}({isMovingForward:t,destination:o,displaced:l.displaced,draggables:a,combine:c.combine,afterCritical:s});return null==f?null:kt({draggable:r,insideDestination:i,destination:o,viewport:u,last:l.displaced,displacedBy:l.displacedBy,index:f})}({isMovingForward:t,isInHomeList:f,draggable:n,draggables:a,destination:r,insideDestination:d,previousImpact:o,viewport:l,afterCritical:c});if(!p)return null;var m=Nt({impact:p,draggable:n,droppable:r,draggables:a,afterCritical:c});if(Mt({draggable:n,destination:r,newPageBorderBoxCenter:m,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:_t({pageBorderBoxCenter:m,draggable:n,viewport:l}),impact:p,scrollJumpRequest:null};var g=Fe(m,u),h=function(e){var t=e.impact,n=e.viewport,r=e.destination,a=e.draggables,o=e.maxScrollChange,l=Rt(n,Be(n.scroll.current,o)),u=r.frame?Ke(r,Be(r.frame.scroll.current,o)):r,s=t.displaced,c=Et({afterDragging:Tt(s.all,a),destination:r,displacedBy:t.displacedBy,viewport:l.frame,last:s,forceShouldAnimate:!1}),d=Et({afterDragging:Tt(s.all,a),destination:u,displacedBy:t.displacedBy,viewport:n.frame,last:s,forceShouldAnimate:!1}),f={},p={},m=[s,c,d];return s.all.forEach((function(e){var t=function(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}(e,m);t?p[e]=t:f[e]=!0})),i({},t,{displaced:{all:s.all,invisible:f,visible:p}})}({impact:p,viewport:l,destination:r,draggables:a,maxScrollChange:g});return{clientSelection:s,impact:h,scrollJumpRequest:g}},Lt=function(e){var t=e.subject.active;return t||De(!1),t},Bt=function(e,t){var n=e.page.borderBox.center;return Ct(e.descriptor.id,t)?Fe(n,t.displacedBy.point):n},Ft=function(e,t){var n=e.page.borderBox;return Ct(e.descriptor.id,t)?Ve(n,ze(t.displacedBy.point)):n},jt=Ee((function(e,t){var n=t[e.line];return{value:n,point:Ue(e.line,n)}})),zt=function(e,t){return i({},e,{scroll:i({},e.scroll,{max:t})})},Ut=function(e,t,n){var r=e.frame;ut(t,e)&&De(!1),e.subject.withPlaceholder&&De(!1);var a=jt(e.axis,t.displaceBy).point,o=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return Ue(r.line,t[r.line]);var a=e.subject.page.contentBox[r.size],o=at(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-a;return o<=0?null:Ue(r.line,o)}(e,a,n),l={placeholderSize:a,increasedBy:o,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r)return i({},e,{subject:Qe({page:e.subject.page,withPlaceholder:l,axis:e.axis,frame:e.frame})});var u=o?Be(r.scroll.max,o):r.scroll.max,s=zt(r,u);return i({},e,{subject:Qe({page:e.subject.page,withPlaceholder:l,axis:e.axis,frame:s}),frame:s})},Wt=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Gt=function(e){var t=e.state,n=e.type,r=function(e,t){var n=Wt(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),a=Boolean(r),o=t.dimensions.droppables[t.critical.droppable.id],i=r||o,l=i.axis.direction,u="vertical"===l&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===l&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(u&&!a)return null;var s="MOVE_DOWN"===n||"MOVE_RIGHT"===n,c=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,f=t.dimensions,p=f.draggables,m=f.droppables;return u?At({isMovingForward:s,previousPageBorderBoxCenter:d,draggable:c,destination:i,draggables:p,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,a=e.isOver,o=e.draggables,i=e.droppables,l=e.viewport,u=e.afterCritical,s=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,a=e.droppables,o=e.viewport,i=r.subject.active;if(!i)return null;var l=r.axis,u=ft(i[l.start],i[l.end]),s=nt(a).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return pt(o.frame)(Lt(e))})).filter((function(e){var n=Lt(e);return t?i[l.crossAxisEnd]<n[l.crossAxisEnd]:n[l.crossAxisStart]<i[l.crossAxisStart]})).filter((function(e){var t=Lt(e),n=ft(t[l.start],t[l.end]);return u(t[l.start])||u(t[l.end])||n(i[l.start])||n(i[l.end])})).sort((function(e,n){var r=Lt(e)[l.crossAxisStart],a=Lt(n)[l.crossAxisStart];return t?r-a:a-r})).filter((function(e,t,n){return Lt(e)[l.crossAxisStart]===Lt(n[0])[l.crossAxisStart]}));if(!s.length)return null;if(1===s.length)return s[0];var c=s.filter((function(e){return ft(Lt(e)[l.start],Lt(e)[l.end])(n[l.line])}));return 1===c.length?c[0]:c.length>1?c.sort((function(e,t){return Lt(e)[l.start]-Lt(t)[l.start]}))[0]:s.sort((function(e,t){var r=Ge(n,qe(Lt(e))),a=Ge(n,qe(Lt(t)));return r!==a?r-a:Lt(e)[l.start]-Lt(t)[l.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:a,droppables:i,viewport:l});if(!s)return null;var c=at(s.descriptor.id,o),d=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,a=e.afterCritical,o=e.insideDestination.filter((function(e){return yt({target:Ft(e,a),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var o=We(t,Dt(r,Bt(e,a))),i=We(t,Dt(r,Bt(n,a)));return o<i?-1:i<o?1:e.descriptor.index-n.descriptor.index}));return o[0]||null}({pageBorderBoxCenter:n,viewport:l,destination:s,insideDestination:c,afterCritical:u}),f=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,a=e.draggable,o=e.draggables,i=e.destination,l=e.viewport,u=e.afterCritical;if(!n){if(r.length)return null;var s={displaced:ct,displacedBy:st,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:0}}},c=Nt({impact:s,draggable:a,droppable:i,draggables:o,afterCritical:u}),d=ut(a,i)?i:Ut(i,a,o);return Mt({draggable:a,destination:d,newPageBorderBoxCenter:c,viewport:l.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?s:null}var f,p=Boolean(t[i.axis.line]<=n.page.borderBox.center[i.axis.line]),m=(f=n.descriptor.index,n.descriptor.id===a.descriptor.id||p?f:f+1);return kt({draggable:a,insideDestination:r,destination:i,viewport:l,displacedBy:jt(i.axis,a.displaceBy),last:ct,index:m})}({previousPageBorderBoxCenter:n,destination:s,draggable:r,draggables:o,moveRelativeTo:d,insideDestination:c,viewport:l,afterCritical:u});if(!f)return null;var p=Nt({impact:f,draggable:r,droppable:s,draggables:o,afterCritical:u});return{clientSelection:_t({pageBorderBoxCenter:p,draggable:r,viewport:l}),impact:f,scrollJumpRequest:null}}({isMovingForward:s,previousPageBorderBoxCenter:d,draggable:c,isOver:i,draggables:p,droppables:m,viewport:t.viewport,afterCritical:t.afterCritical})};function Ht(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function Vt(e){var t=ft(e.top,e.bottom),n=ft(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}var qt=function(e,t){return se(Ve(e,t))};function $t(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var Qt=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,a=e.droppables,o=e.previousImpact,i=e.viewport,l=e.afterCritical,u=qt(n.page.borderBox,t),s=function(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,a=nt(r).filter((function(e){if(!e.isEnabled)return!1;var n,r,a=e.subject.active;if(!a)return!1;if(r=a,!((n=t).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(Vt(a)(t.center))return!0;var o=e.axis,i=a.center[o.crossAxisLine],l=t[o.crossAxisStart],u=t[o.crossAxisEnd],s=ft(a[o.crossAxisStart],a[o.crossAxisEnd]),c=s(l),d=s(u);return!c&&!d||(c?l<i:u>i)}));return a.length?1===a.length?a[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.candidates,r=e.draggable.page.borderBox.center,a=n.map((function(e){var n=e.axis,a=Ue(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:We(r,a)}})).sort((function(e,t){return t.distance-e.distance}));return a[0]?a[0].id:null}({pageBorderBox:t,draggable:n,candidates:a}):null}({pageBorderBox:u,draggable:n,droppables:a});if(!s)return dt;var c=a[s],d=at(c.descriptor.id,r),f=function(e,t){var n=e.frame;return n?qt(t,n.scroll.diff.value):t}(c,u);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,a=e.destination,o=e.insideDestination,i=e.afterCritical;if(!a.isCombineEnabled)return null;var l=a.axis,u=jt(a.axis,t.displaceBy),s=u.value,c=n[l.start],d=n[l.end],f=Xe(lt(t,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox,a=n[l.size]/4,o=Ct(t,i),u=$t({displaced:r.displaced,id:t});return o?u?d>n[l.start]+a&&d<n[l.end]-a:c>n[l.start]-s+a&&c<n[l.end]-s-a:u?d>n[l.start]+s+a&&d<n[l.end]+s-a:c>n[l.start]+a&&c<n[l.end]-a}));return f?{displacedBy:u,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:f.descriptor.id,droppableId:a.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:f,draggable:n,previousImpact:o,destination:c,insideDestination:d,afterCritical:l})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,a=e.insideDestination,o=e.last,i=e.viewport,l=e.afterCritical,u=r.axis,s=jt(r.axis,n.displaceBy),c=s.value,d=t[u.start],f=t[u.end],p=function(e){var t=e.draggable,n=e.closest;return n?e.inHomeList&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:Xe(lt(n,a),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[u.line],r=Ct(t,l),a=$t({displaced:o,id:t});return r?a?f<=n:d<n-c:a?f<=n+c:d<n})),inHomeList:ut(n,r)});return kt({draggable:n,insideDestination:a,destination:r,viewport:i,last:o,displacedBy:s,index:p})}({pageBorderBoxWithDroppableScroll:f,draggable:n,destination:c,insideDestination:d,last:o.displaced,viewport:i,afterCritical:l})},Kt=function(e,t){var n;return i({},e,((n={})[t.descriptor.id]=t,n))},Jt=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,a=e.viewport,o=e.impact,l=e.scrollJumpRequest,u=a||t.viewport,s=r||t.dimensions,c=n||t.current.client.selection,d=Fe(c,t.initial.client.selection),f={offset:d,selection:c,borderBoxCenter:Be(t.initial.client.borderBoxCenter,d)},p={selection:Be(f.selection,u.scroll.current),borderBoxCenter:Be(f.borderBoxCenter,u.scroll.current),offset:Be(f.offset,u.scroll.diff.value)},m={client:f,page:p};if("COLLECTING"===t.phase)return i({phase:"COLLECTING"},t,{dimensions:s,viewport:u,current:m});var g=s.draggables[t.critical.draggable.id],h=o||Qt({pageOffset:p.offset,draggable:g,draggables:s.draggables,droppables:s.droppables,previousImpact:t.impact,viewport:u,afterCritical:t.afterCritical}),v=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,a=e.impact,o=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,a=Wt(t),o=Wt(n);if(!a)return r;if(a===o)return r;var l=r[a];if(!l.subject.withPlaceholder)return r;var u=function(e){var t=e.subject.withPlaceholder;t||De(!1);var n=e.frame;if(!n)return i({},e,{subject:Qe({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null})});var r=t.oldFrameMaxScroll;r||De(!1);var a=zt(n,r);return i({},e,{subject:Qe({page:e.subject.page,axis:e.axis,frame:a,withPlaceholder:null}),frame:a})}(l);return Kt(r,u)}({previousImpact:e.previousImpact,impact:a,droppables:r}),l=Wt(a);if(!l)return o;var u=r[l];if(ut(t,u))return o;if(u.subject.withPlaceholder)return o;var s=Ut(u,t,n);return Kt(o,s)}({draggable:g,impact:h,previousImpact:t.impact,draggables:s.draggables,droppables:s.droppables});return i({},t,{current:m,dimensions:{draggables:s.draggables,droppables:v},impact:h,viewport:u,scrollJumpRequest:l||null,forceShouldAnimate:!l&&null})},Yt=function(e){var t=e.impact,n=e.viewport,r=e.draggables,a=e.destination,o=e.forceShouldAnimate,l=t.displaced,u=function(e,t){return e.map((function(e){return t[e]}))}(l.all,r);return i({},t,{displaced:Et({afterDragging:u,destination:a,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:o,last:l})})},Xt=function(e){var t=e.impact,n=e.draggable,r=e.droppable,a=e.draggables,o=e.viewport,i=e.afterCritical,l=Nt({impact:t,draggable:n,draggables:a,droppable:r,afterCritical:i});return _t({pageBorderBoxCenter:l,draggable:n,viewport:o})},Zt=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&De(!1);var a=t.impact,o=r||t.viewport,i=n||t.dimensions,l=i.draggables,u=i.droppables,s=l[t.critical.draggable.id],c=Wt(a);c||De(!1);var d=u[c],f=Yt({impact:a,viewport:o,destination:d,draggables:l}),p=Xt({impact:f,draggable:s,droppable:d,draggables:l,viewport:o,afterCritical:t.afterCritical});return Jt({impact:f,clientSelection:p,state:t,dimensions:i,viewport:o})},en=function(e){var t=e.draggable,n=e.home,r=e.draggables,a=e.viewport,o=jt(n.axis,t.displaceBy),i=at(n.descriptor.id,r),l=i.indexOf(t);-1===l&&De(!1);var u,s=i.slice(l+1),c=s.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),d={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:o,effected:c};return{impact:{displaced:Et({afterDragging:s,destination:n,displacedBy:o,last:null,viewport:a.frame,forceShouldAnimate:!1}),displacedBy:o,at:{type:"REORDER",destination:(u=t.descriptor,{index:u.index,droppableId:u.droppableId})}},afterCritical:d}},tn=function(e){return"SNAP"===e.movementMode},nn=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:Kt(e.droppables,t)}}(e.dimensions,t);return!tn(e)||n?Jt({state:e,dimensions:r}):Zt({state:e,dimensions:r})};function rn(e){return e.isDragging&&"SNAP"===e.movementMode?i({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var an={phase:"IDLE",completed:null,shouldFlush:!1},on=function(e,t){if(void 0===e&&(e=an),"FLUSH"===t.type)return i({},an,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&De(!1);var n=t.payload,r=n.critical,a=n.clientSelection,o=n.viewport,l=n.dimensions,u=n.movementMode,s=l.draggables[r.draggable.id],c=l.droppables[r.droppable.id],d={selection:a,borderBoxCenter:s.client.borderBox.center,offset:Le},f={client:d,page:{selection:Be(d.selection,o.scroll.initial),borderBoxCenter:Be(d.selection,o.scroll.initial),offset:Be(d.selection,o.scroll.diff.value)}},p=nt(l.droppables).every((function(e){return!e.isFixedOnPage})),m=en({draggable:s,home:c,draggables:l.draggables,viewport:o}),g=m.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:u,dimensions:l,initial:f,current:f,isWindowScrollAllowed:p,impact:g,afterCritical:m.afterCritical,onLiftImpact:g,viewport:o,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&De(!1),i({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&De(!1),function(e){var t=e.state,n=e.published,r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return Ke(n,e.scroll)})),a=i({},t.dimensions.droppables,{},et(r)),o=tt(function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,a=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,o=function(e){var t=e.frame;return t||De(!1),t}(n[t]),l=o.scroll.diff.value,u=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,a=ge(t.client,n),o=he(a,r);return i({},t,{placeholder:i({},t.placeholder,{client:a}),client:a,page:o})}({draggable:e,offset:Be(a,l),initialWindowScroll:r.scroll.initial});return u}))}({additions:n.additions,updatedDroppables:a,viewport:t.viewport})),l=i({},t.dimensions.draggables,{},o);n.removals.forEach((function(e){delete l[e]}));var u={droppables:a,draggables:l},s=Wt(t.impact),c=s?u.droppables[s]:null,d=u.draggables[t.critical.draggable.id],f=u.droppables[t.critical.droppable.id],p=en({draggable:d,home:f,draggables:l,viewport:t.viewport}),m=p.impact,g=p.afterCritical,h=c&&c.isCombineEnabled?t.impact:m,v=Qt({pageOffset:t.current.page.offset,draggable:u.draggables[t.critical.draggable.id],draggables:u.draggables,droppables:u.droppables,previousImpact:h,viewport:t.viewport,afterCritical:g}),b=i({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:v,onLiftImpact:m,dimensions:u,afterCritical:g,forceShouldAnimate:!1});return"COLLECTING"===t.phase?b:i({phase:"DROP_PENDING"},b,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;Ht(e)||De(!1);var h=t.payload.client;return je(h,e.current.client.selection)?e:Jt({state:e,clientSelection:h,impact:tn(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return rn(e);if("COLLECTING"===e.phase)return rn(e);Ht(e)||De(!1);var v=t.payload,b=v.id,y=v.newScroll,w=e.dimensions.droppables[b];if(!w)return e;var E=Ke(w,y);return nn(e,E,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Ht(e)||De(!1);var S=t.payload,k=S.id,C=S.isEnabled,x=e.dimensions.droppables[k];x||De(!1),x.isEnabled===C&&De(!1);var I=i({},x,{isEnabled:C});return nn(e,I,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Ht(e)||De(!1);var O=t.payload,P=O.id,D=O.isCombineEnabled,N=e.dimensions.droppables[P];N||De(!1),N.isCombineEnabled===D&&De(!1);var R=i({},N,{isCombineEnabled:D});return nn(e,R,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Ht(e)||De(!1),e.isWindowScrollAllowed||De(!1);var T=t.payload.newScroll;if(je(e.viewport.scroll.current,T))return rn(e);var _=Rt(e.viewport,T);return tn(e)?Zt({state:e,viewport:_}):Jt({state:e,viewport:_})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!Ht(e))return e;var M=t.payload.maxScroll;if(je(M,e.viewport.scroll.max))return e;var A=i({},e.viewport,{scroll:i({},e.viewport.scroll,{max:M})});return i({phase:"DRAGGING"},e,{viewport:A})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&De(!1);var L=Gt({state:e,type:t.type});return L?Jt({state:e,impact:L.impact,clientSelection:L.clientSelection,scrollJumpRequest:L.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var B=t.payload.reason;return"COLLECTING"!==e.phase&&De(!1),i({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:B})}if("DROP_ANIMATE"===t.type){var F=t.payload,j=F.completed,z=F.dropDuration,U=F.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&De(!1),{phase:"DROP_ANIMATING",completed:j,dropDuration:z,newHomeClientOffset:U,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},ln=function(e){return{type:"LIFT",payload:e}},un=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},sn=function(){return{type:"COLLECTION_STARTING",payload:null}},cn=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},dn=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},fn=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},pn=function(e){return{type:"MOVE",payload:e}},mn=function(){return{type:"MOVE_UP",payload:null}},gn=function(){return{type:"MOVE_DOWN",payload:null}},hn=function(){return{type:"MOVE_RIGHT",payload:null}},vn=function(){return{type:"MOVE_LEFT",payload:null}},bn=function(){return{type:"FLUSH",payload:null}},yn=function(e){return{type:"DROP_COMPLETE",payload:e}},wn=function(e){return{type:"DROP",payload:e}},En="cubic-bezier(.2,1,.1,1)",Sn=0,kn=.7,Cn=.75,xn="0.2s cubic-bezier(0.2, 0, 0, 1)",In={fluid:"opacity "+xn,snap:"transform "+xn+", opacity "+xn,drop:function(e){var t=e+"s "+En;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+xn,placeholder:"height "+xn+", width "+xn+", margin "+xn},On=function(e){return je(e,Le)?null:"translate("+e.x+"px, "+e.y+"px)"},Pn=On,Dn=function(e,t){var n=On(e);return n?t?n+" scale("+Cn+")":n:null},Nn=.33,Rn=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var a=t(),o=r.payload.reason;if("COLLECTING"!==a.phase){if("IDLE"!==a.phase){"DROP_PENDING"===a.phase&&a.isWaiting&&De(!1),"DRAGGING"!==a.phase&&"DROP_PENDING"!==a.phase&&De(!1);var l=a.critical,u=a.dimensions,s=u.draggables[a.critical.draggable.id],c=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,a=e.home,o=e.viewport,l=e.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:i({},r,{displaced:ct}),didDropInsideDroppable:!0}:{impact:Yt({draggables:t,impact:l,destination:a,viewport:o,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:o,lastImpact:a.impact,afterCritical:a.afterCritical,onLiftImpact:a.onLiftImpact,home:a.dimensions.droppables[a.critical.droppable.id],viewport:a.viewport,draggables:a.dimensions.draggables}),d=c.impact,f=c.didDropInsideDroppable,p=f?ot(d):null,m=f?it(d):null,g={index:l.draggable.index,droppableId:l.droppable.id},h={draggableId:s.descriptor.id,type:s.descriptor.type,source:g,reason:o,mode:a.movementMode,destination:p,combine:m},v=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,a=e.viewport,o=e.afterCritical,i=r.draggables,l=r.droppables,u=Wt(t),s=u?l[u]:null,c=l[n.descriptor.droppableId],d=Xt({impact:t,draggable:n,draggables:i,afterCritical:o,droppable:s||c,viewport:a});return Fe(d,n.client.borderBox.center)}({impact:d,draggable:s,dimensions:u,viewport:a.viewport,afterCritical:a.afterCritical}),b={critical:a.critical,afterCritical:a.afterCritical,result:h,impact:d};if(!je(a.current.client.offset,v)||Boolean(h.combine)){var y=function(e){var t=e.reason,n=We(e.current,e.destination);if(n<=0)return Nn;if(n>=1500)return.55;var r=Nn+n/1500*.22000000000000003;return Number(("CANCEL"===t?.6*r:r).toFixed(2))}({current:a.current.client.offset,destination:v,reason:o});n({type:"DROP_ANIMATE",payload:{newHomeClientOffset:v,dropDuration:y,completed:b}})}else n(yn({completed:b}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:o}))}else e(r)}}},Tn=function(){return{x:window.pageXOffset,y:window.pageYOffset}};var _n=function(e){var t=function(e){var t=e.onWindowScroll,n=Se((function(){t(Tn())})),r=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(n),a=Ce;function o(){return a!==Ce}return{start:function(){o()&&De(!1),a=xe(window,[r])},stop:function(){o()||De(!1),n.cancel(),a(),a=Ce},isActive:o}}({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n)&&t.stop(),e(n)}}},Mn=function(e,t){t()},An=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},Ln=function(e,t,n,r){if(e){var a=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),a=function(a){t||n||(t=!0,e(a),clearTimeout(r))};return a.wasCalled=function(){return t},a}(n);e(t,{announce:a}),a.wasCalled()||n(r(t))}else n(r(t))},Bn=function(e,t){var n=function(e,t){var n,r=(n=[],{add:function(e){var t=setTimeout((function(){return function(e){var t=Ye(n,(function(t){return t.timerId===e}));-1===t&&De(!1),n.splice(t,1)[0].callback()}(t)})),r={timerId:t,callback:e};n.push(r)},flush:function(){if(n.length){var e=[].concat(n);n.length=0,e.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}),a=null,o=function(n){a||De(!1),a=null,Mn(0,(function(){return Ln(e().onDragEnd,n,t,Ae.onDragEnd)}))};return{beforeCapture:function(t,n){a&&De(!1),Mn(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){a&&De(!1),Mn(0,(function(){var r=e().onBeforeDragStart;r&&r(An(t,n))}))},start:function(n,o){a&&De(!1);var i=An(n,o);a={mode:o,lastCritical:n,lastLocation:i.source,lastCombine:null},r.add((function(){Mn(0,(function(){return Ln(e().onDragStart,i,t,Ae.onDragStart)}))}))},update:function(n,o){var l=ot(o),u=it(o);a||De(!1);var s=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(n,a.lastCritical);s&&(a.lastCritical=n);var c,d,f=(d=l,!(null==(c=a.lastLocation)&&null==d||null!=c&&null!=d&&c.droppableId===d.droppableId&&c.index===d.index));f&&(a.lastLocation=l);var p=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(a.lastCombine,u);if(p&&(a.lastCombine=u),s||f||p){var m=i({},An(n,a.mode),{combine:u,destination:l});r.add((function(){Mn(0,(function(){return Ln(e().onDragUpdate,m,t,Ae.onDragUpdate)}))}))}},flush:function(){a||De(!1),r.flush()},drop:o,abort:function(){if(a){var e=i({},An(a.lastCritical,a.mode),{combine:null,destination:null,reason:"CANCEL"});o(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var a=r.payload.critical;return n.beforeStart(a,r.payload.movementMode),t(r),void n.start(a,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var o=r.payload.completed.result;return n.flush(),t(r),void n.drop(o)}if(t(r),"FLUSH"!==r.type){var i=e.getState();"DRAGGING"===i.phase&&n.update(i.critical,i.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},Fn=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&De(!1),e.dispatch(yn({completed:r.completed}))}else t(n)}}},jn=function(e){var t=null,n=null;return function(r){return function(a){if("FLUSH"!==a.type&&"DROP_COMPLETE"!==a.type&&"DROP_ANIMATION_FINISHED"!==a.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(a),"DROP_ANIMATE"===a.type){var o={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,t=xe(window,[o])}))}}}},zn=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(wn({reason:r.reason})))}}}},Un=b,Wn=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,a=e.styleMarshal,o=e.getResponders,i=e.announce,l=e.autoScroller;return g(on,Un(function(){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(d(15))},a={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},o=t.map((function(e){return e(a)}));return r=b.apply(void 0,o)(n.dispatch),c(c({},n),{},{dispatch:r})}}}((t=a,function(){return function(e){return function(n){"INITIAL_PUBLISH"===n.type&&t.dragging(),"DROP_ANIMATE"===n.type&&t.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||t.resting(),e(n)}}}),function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}}(n),function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(a){if("LIFT"===a.type){var o=a.payload,i=o.id,l=o.clientSelection,u=o.movementMode,s=n();"DROP_ANIMATING"===s.phase&&r(yn({completed:s.completed})),"IDLE"!==n().phase&&De(!1),r(bn()),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:i,movementMode:u}});var c={draggableId:i,scrollOptions:{shouldPublishImmediately:"SNAP"===u}},d=e.startPublishing(c),f=d.critical,p=d.dimensions,m=d.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:f,dimensions:p,clientSelection:l,movementMode:u,viewport:m}})}else t(a)}}}}(n),Rn,Fn,jn,zn,function(e){return function(t){return function(n){return function(r){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var a=t.getState();return"DRAGGING"!==a.phase&&De(!1),void e.start(a)}n(r),e.scroll(t.getState())}}}}(l),_n,function(e){var t=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;var a=r.payload.completed.result;a.combine&&e.tryShiftRecord(a.draggableId,a.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),Bn(o,i))))},Gn=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,a=e.width,o=Fe({x:n,y:t},{x:a,y:r});return{x:Math.max(0,o.x),y:Math.max(0,o.y)}},Hn=function(){var e=document.documentElement;return e||De(!1),e},Vn=function(){var e=Hn();return Gn({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})};function qn(e,t,n){return n.descriptor.id!==t.id&&n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode}var $n,Qn,Kn=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},a=null,o=function(){a||(n.collectionStarting(),a=requestAnimationFrame((function(){a=null;var e=r,o=e.additions,i=e.removals,l=e.modified,u=Object.keys(o).map((function(e){return t.draggable.getById(e).getDimension(Le)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),s=Object.keys(l).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),c={additions:u,removals:Object.keys(i),modified:s};r={additions:{},removals:{},modified:{}},n.publish(c)})))};return{add:function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],o()},remove:function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],o()},stop:function(){a&&(cancelAnimationFrame(a),a=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),a=function(t){n||De(!1);var a=n.critical.draggable;"ADDITION"===t.type&&qn(e,a,t.value)&&r.add(t.value),"REMOVAL"===t.type&&qn(e,a,t.value)&&r.remove(t.value)};return{updateDroppableIsEnabled:function(r,a){e.droppable.exists(r)||De(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:a})},updateDroppableIsCombineEnabled:function(r,a){n&&(e.droppable.exists(r)||De(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:a}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,a){n&&(e.droppable.exists(r)||De(!1),t.updateDroppableScroll({id:r,newScroll:a}))},startPublishing:function(t){n&&De(!1);var r=e.draggable.getById(t.draggableId),o=e.droppable.getById(r.descriptor.droppableId),i={draggable:r.descriptor,droppable:o.descriptor},l=e.subscribe(a);return n={critical:i,unsubscribe:l},function(e){var t,n,r,a,o,i,l,u=e.critical,s=e.scrollOptions,c=e.registry,d=(t=Tn(),n=Vn(),r=t.y,a=t.x,i=(o=Hn()).clientWidth,l=o.clientHeight,{frame:se({top:r,left:a,right:a+i,bottom:r+l}),scroll:{initial:t,current:t,max:n,diff:{value:Le,displacement:Le}}}),f=d.scroll.current,p=u.droppable,m=c.droppable.getAllByType(p.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(f,s)})),g=c.draggable.getAllByType(u.draggable.type).map((function(e){return e.getDimension(f)}));return{dimensions:{draggables:tt(g),droppables:et(m)},critical:u,viewport:d}}({critical:i,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}}}},Jn=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason},Yn=function(e){window.scrollBy(e.x,e.y)},Xn=Ee((function(e){return nt(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),Zn=function(e){return Math.pow(e,2)},er=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,a=n-t;return 0===a?0:(r-t)/a},tr=360,nr=1200,rr=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,a=e.shouldUseTimeDampening,o=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return 28;if(e===t.startScrollingFrom)return 1;var n=er({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=28*Zn(1-n);return Math.ceil(r)}(t,n);return 0===o?0:a?Math.max(function(e,t){var n=t,r=nr,a=Date.now()-n;if(a>=nr)return e;if(a<tr)return 1;var o=er({startOfRange:tr,endOfRange:r,current:a}),i=e*Zn(o);return Math.ceil(i)}(o,r),1):o},ar=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,a=e.axis,o=e.shouldUseTimeDampening,i=function(e,t){return{startScrollingFrom:.25*e[t.size],maxScrollValueAt:.05*e[t.size]}}(t,a);return n[a.end]<n[a.start]?rr({distanceToEdge:n[a.end],thresholds:i,dragStartTime:r,shouldUseTimeDampening:o}):-1*rr({distanceToEdge:n[a.start],thresholds:i,dragStartTime:r,shouldUseTimeDampening:o})},or=He((function(e){return 0===e?0:e})),ir=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,a=e.center,o=e.shouldUseTimeDampening,i={top:a.y-n.top,right:n.right-a.x,bottom:n.bottom-a.y,left:a.x-n.left},l=ar({container:n,distanceToEdges:i,dragStartTime:t,axis:gt,shouldUseTimeDampening:o}),u=ar({container:n,distanceToEdges:i,dragStartTime:t,axis:ht,shouldUseTimeDampening:o}),s=or({x:u,y:l});if(je(s,Le))return null;var c=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,a=n.height>t.height,o=n.width>t.width;return o||a?o&&a?null:{x:o?0:r.x,y:a?0:r.y}:r}({container:n,subject:r,proposedScroll:s});return c?je(c,Le)?null:c:null},lr=He((function(e){return 0===e?0:e>0?1:-1})),ur=($n=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,n=e.max,r=e.change,a=Be(t,r),o={x:$n(a.x,n.x),y:$n(a.y,n.y)};return je(o,Le)?null:o}),sr=function(e){var t=e.max,n=e.current,r=e.change,a={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},o=lr(r),i=ur({max:a,current:n,change:o});return!i||0!==o.x&&0===i.x||0!==o.y&&0===i.y},cr=function(e,t){return sr({current:e.scroll.current,max:e.scroll.max,change:t})},dr=function(e,t){var n=e.frame;return!!n&&sr({current:n.scroll.current,max:n.scroll.max,change:t})},fr=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,a=e.scrollWindow,o=e.scrollDroppable,i=t.current.page.borderBoxCenter,l=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var u=function(e){var t=e.viewport,n=e.subject,r=e.center,a=e.shouldUseTimeDampening,o=ir({dragStartTime:e.dragStartTime,container:t.frame,subject:n,center:r,shouldUseTimeDampening:a});return o&&cr(t,o)?o:null}({dragStartTime:n,viewport:t.viewport,subject:l,center:i,shouldUseTimeDampening:r});if(u)return void a(u)}var s=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var a=r[n];return a.frame?a:null}var o=function(e,t){var n=Xe(Xn(t),(function(t){return t.frame||De(!1),Vt(t.frame.pageMarginBox)(e)}));return n}(t,r);return o}({center:i,destination:Wt(t.impact),droppables:t.dimensions.droppables});if(s){var c=function(e){var t=e.droppable,n=e.subject,r=e.center,a=e.dragStartTime,o=e.shouldUseTimeDampening,i=t.frame;if(!i)return null;var l=ir({dragStartTime:a,container:i.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:o});return l&&dr(t,l)?l:null}({dragStartTime:n,droppable:s,subject:l,center:i,shouldUseTimeDampening:r});c&&o(s.descriptor.id,c)}},pr=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow;return function(e){var a=e.scrollJumpRequest;if(a){var o=Wt(e.impact);o||De(!1);var i=function(e,t){if(!dr(e,t))return t;var r=function(e,t){var n=e.frame;return n&&dr(e,t)?ur({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var a=Fe(t,r);return n(e.descriptor.id,a),Fe(t,a)}(e.dimensions.droppables[o],a);if(i){var l=e.viewport,u=function(e,t,n){if(!e)return n;if(!cr(t,n))return n;var a=function(e,t){if(!cr(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return ur({current:r,max:n,change:t})}(t,n);if(!a)return r(n),null;var o=Fe(n,a);return r(o),Fe(n,o)}(e.isWindowScrollAllowed,l,i);u&&function(e,n){var r=Be(e.current.client.selection,n);t({client:r})}(e,u)}}}},mr=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,a=function(e){var t=e.scrollDroppable,n=Se(e.scrollWindow),r=Se(t),a=null,o=function(e){a||De(!1);var t=a,o=t.shouldUseTimeDampening,i=t.dragStartTime;fr({state:e,scrollWindow:n,scrollDroppable:r,dragStartTime:i,shouldUseTimeDampening:o})};return{start:function(e){a&&De(!1);var t=Date.now(),n=!1,r=function(){n=!0};fr({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),a={dragStartTime:t,shouldUseTimeDampening:n},n&&o(e)},stop:function(){a&&(n.cancel(),r.cancel(),a=null)},scroll:o}}({scrollWindow:n,scrollDroppable:t}),o=pr({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&o(e):a.scroll(e))},start:a.start,stop:a.stop}},gr="data-rbd",hr={base:Qn=gr+"-drag-handle",draggableId:Qn+"-draggable-id",contextId:Qn+"-context-id"},vr=function(){var e=gr+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),br=function(){var e=gr+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),yr={contextId:gr+"-scroll-container-context-id"},wr=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},Er=function(e){var t,n,r,a=(t=e,function(e){return"["+e+'="'+t+'"]'}),o=(n="\n cursor: -webkit-grab;\n cursor: grab;\n ",{selector:a(hr.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:n,dragging:"pointer-events: none;",dropAnimating:n}}),i=[(r="\n transition: "+In.outOfTheWay+";\n ",{selector:a(vr.contextId),styles:{dragging:r,dropAnimating:r,userCancel:r}}),o,{selector:a(br.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:wr(i,"always"),resting:wr(i,"resting"),dragging:wr(i,"dragging"),dropAnimating:wr(i,"dropAnimating"),userCancel:wr(i,"userCancel")}},Sr="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,kr=function(){var e=document.querySelector("head");return e||De(!1),e},Cr=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t},xr=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function Ir(e){return e instanceof xr(e).HTMLElement}function Or(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}function a(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var a=t.descriptor.id,o=r(a);o&&t.uniqueId===o.uniqueId&&(delete e.draggables[a],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||De(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return Je(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=a(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=a(e);return t||De(!1),t},findById:a,exists:function(e){return Boolean(a(e))},getAllByType:function(t){return Je(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var Pr=r.createContext(null),Dr=function(){var e=document.body;return e||De(!1),e},Nr={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Rr=function(e){return"rbd-announcement-"+e},Tr=0,_r={separator:"::"};function Mr(e,t){return void 0===t&&(t=_r),le((function(){return""+e+t.separator+Tr++}),[t.separator,e])}var Ar=r.createContext(null);function Lr(e){var t=(0,r.useRef)(e);return(0,r.useEffect)((function(){t.current=e})),t}var Br,Fr,jr=27,zr=32,Ur=37,Wr=38,Gr=39,Hr=40,Vr=((Br={})[13]=!0,Br[9]=!0,Br),qr=function(e){Vr[e.keyCode]&&e.preventDefault()},$r=function(){var e="visibilitychange";return"undefined"==typeof document?e:Xe([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}(),Qr=0,Kr=5,Jr={type:"IDLE"};function Yr(e){var t=(0,r.useRef)(Jr),n=(0,r.useRef)(Ce),a=le((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&t.button===Qr&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var a=e.tryGetLock(r,l,{sourceEvent:t});if(a){t.preventDefault();var o={x:t.clientX,y:t.clientY};n.current(),c(a,o)}}}}}}),[e]),o=le((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),i=ue((function(){n.current=xe(window,[o,a],{passive:!1,capture:!0})}),[o,a]),l=ue((function(){"IDLE"!==t.current.type&&(t.current=Jr,n.current(),i())}),[i]),u=ue((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),s=ue((function(){var e=function(e){var t=e.cancel,n=e.completed,r=e.getPhase,a=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,o=e.clientY;if(t===Qr){var i={x:n,y:o},l=r();if("DRAGGING"===l.type)return e.preventDefault(),void l.actions.move(i);if("PENDING"!==l.type&&De(!1),u=l.point,s=i,Math.abs(s.x-u.x)>=Kr||Math.abs(s.y-u.y)>=Kr){var u,s;e.preventDefault();var c=l.actions.fluidLift(i);a({type:"DRAGGING",actions:c})}}}},{eventName:"mouseup",fn:function(e){var a=r();"DRAGGING"===a.type?(e.preventDefault(),a.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==r().type)return e.keyCode===jr?(e.preventDefault(),void t()):void qr(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&De(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:$r,fn:t}]}({cancel:u,completed:l,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=xe(window,e,{capture:!0,passive:!1})}),[u,l]),c=ue((function(e,n){"IDLE"!==t.current.type&&De(!1),t.current={type:"PENDING",point:n,actions:e},s()}),[s]);Sr((function(){return i(),function(){n.current()}}),[i])}function Xr(){}var Zr=((Fr={})[34]=!0,Fr[33]=!0,Fr[36]=!0,Fr[35]=!0,Fr);function ea(e){var t=(0,r.useRef)(Xr),n=le((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&n.keyCode===zr){var r=e.findClosestDraggableId(n);if(r){var o=e.tryGetLock(r,u,{sourceEvent:n});if(o){n.preventDefault();var i=!0,l=o.snapLift();t.current(),t.current=xe(window,function(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:function(r){return r.keyCode===jr?(r.preventDefault(),void n()):r.keyCode===zr?(r.preventDefault(),t(),void e.drop()):r.keyCode===Hr?(r.preventDefault(),void e.moveDown()):r.keyCode===Wr?(r.preventDefault(),void e.moveUp()):r.keyCode===Gr?(r.preventDefault(),void e.moveRight()):r.keyCode===Ur?(r.preventDefault(),void e.moveLeft()):void(Zr[r.keyCode]?r.preventDefault():qr(r))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:$r,fn:n}]}(l,u),{capture:!0,passive:!1})}}}function u(){i||De(!1),i=!1,t.current(),a()}}}}),[e]),a=ue((function(){t.current=xe(window,[n],{passive:!1,capture:!0})}),[n]);Sr((function(){return a(),function(){t.current()}}),[a])}var ta={type:"IDLE"},na=120,ra=.15;function aa(e){var t=(0,r.useRef)(ta),n=(0,r.useRef)(Ce),a=ue((function(){return t.current}),[]),o=ue((function(e){t.current=e}),[]),i=le((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var a=e.tryGetLock(r,u,{sourceEvent:t});if(a){var o=t.touches[0],i={x:o.clientX,y:o.clientY};n.current(),f(a,i)}}}}}}),[e]),l=ue((function(){n.current=xe(window,[i],{capture:!0,passive:!1})}),[i]),u=ue((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),o(ta),n.current(),l())}),[l,o]),s=ue((function(){var e=t.current;u(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[u]),c=ue((function(){var e={capture:!0,passive:!1},t={cancel:s,completed:u,getPhase:a},r=xe(window,function(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var a=e.touches[0],o={x:a.clientX,y:a.clientY};e.preventDefault(),n.actions.move(o)}else t()}},{eventName:"touchend",fn:function(e){var a=r();"DRAGGING"===a.type?(e.preventDefault(),a.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&De(!1);var a=e.touches[0];if(a&&a.force>=ra){var o=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return o?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();o&&t()}}},{eventName:$r,fn:t}]}(t),e),o=xe(window,function(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(e.keyCode===jr&&e.preventDefault(),t()):t()}},{eventName:$r,fn:t}]}(t),e);n.current=function(){r(),o()}}),[s,a,u]),d=ue((function(){var e=a();"PENDING"!==e.type&&De(!1);var t=e.actions.fluidLift(e.point);o({type:"DRAGGING",actions:t,hasMoved:!1})}),[a,o]),f=ue((function(e,t){"IDLE"!==a().type&&De(!1);var n=setTimeout(d,na);o({type:"PENDING",point:t,actions:e,longPressTimerId:n}),c()}),[c,a,o,d]);Sr((function(){return l(),function(){n.current();var e=a();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),o(ta))}}),[a,l,o]),Sr((function(){return xe(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}var oa={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function ia(e,t){if(null==t)return!1;if(Boolean(oa[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&ia(e,t.parentElement)}function la(e,t){var n=t.target;return!!Ir(n)&&ia(e,n)}var ua=function(e){return se(e.getBoundingClientRect()).center},sa=function(){var e="matches";return"undefined"==typeof document?e:Xe([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function ca(e,t){return null==e?null:e[sa](t)?e:ca(e.parentElement,t)}function da(e,t){return e.closest?e.closest(t):ca(e,t)}function fa(e){e.preventDefault()}function pa(e){var t=e.expected,n=e.phase,r=e.isLockActive;return e.shouldWarn,!!r()&&t===n}function ma(e){var t=e.lockAPI,n=e.store,r=e.registry,a=e.draggableId;if(t.isClaimed())return!1;var o=r.draggable.findById(a);return!!o&&!!o.options.isEnabled&&!!Jn(n.getState(),a)}var ga=[Yr,ea,aa];function ha(e){var t=e.contextId,n=e.store,a=e.registry,o=e.customSensors,l=e.enableDefaultSensors,u=[].concat(l?ga:[],o||[]),s=(0,r.useState)((function(){return function(){var e=null;function t(){e||De(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&De(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],c=ue((function(e,t){e.isDragging&&!t.isDragging&&s.tryAbandon()}),[s]);Sr((function(){var e=n.getState();return n.subscribe((function(){var t=n.getState();c(e,t),e=t}))}),[s,n,c]),Sr((function(){return s.tryAbandon}),[s.tryAbandon]);for(var d=ue((function(e){return ma({lockAPI:s,registry:a,store:n,draggableId:e})}),[s,a,n]),f=ue((function(e,r,o){return function(e){var t=e.lockAPI,n=e.contextId,r=e.store,a=e.registry,o=e.draggableId,l=e.forceSensorStop,u=e.sourceEvent;if(!ma({lockAPI:t,store:r,registry:a,draggableId:o}))return null;var s=a.draggable.getById(o),c=function(e,t){var n="["+vr.contextId+'="'+e+'"]',r=Xe(Ze(document.querySelectorAll(n)),(function(e){return e.getAttribute(vr.id)===t}));return r&&Ir(r)?r:null}(n,s.descriptor.id);if(!c)return null;if(u&&!s.options.canDragInteractiveElements&&la(c,u))return null;var d=t.claim(l||Ce),f="PRE_DRAG";function p(){return s.options.shouldRespectForcePress}function m(){return t.isActive(d)}var g=function(e,t){pa({expected:e,phase:f,isLockActive:m,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function h(e){function n(){t.release(),f="COMPLETED"}function a(t,a){if(void 0===a&&(a={shouldBlockNextClick:!1}),e.cleanup(),a.shouldBlockNextClick){var o=xe(window,[{eventName:"click",fn:fa,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(o)}n(),r.dispatch(wn({reason:t}))}return"PRE_DRAG"!==f&&(n(),"PRE_DRAG"!==f&&De(!1)),r.dispatch(ln(e.liftActionArgs)),f="DRAGGING",i({isActive:function(){return pa({expected:"DRAGGING",phase:f,isLockActive:m,shouldWarn:!1})},shouldRespectForcePress:p,drop:function(e){return a("DROP",e)},cancel:function(e){return a("CANCEL",e)}},e.actions)}return{isActive:function(){return pa({expected:"PRE_DRAG",phase:f,isLockActive:m,shouldWarn:!1})},shouldRespectForcePress:p,fluidLift:function(e){var t=Se((function(e){g((function(){return pn({client:e})}))}));return i({},h({liftActionArgs:{id:o,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}}),{move:t})},snapLift:function(){var e={moveUp:function(){return g(mn)},moveRight:function(){return g(hn)},moveDown:function(){return g(gn)},moveLeft:function(){return g(vn)}};return h({liftActionArgs:{id:o,clientSelection:ua(c),movementMode:"SNAP"},cleanup:Ce,actions:e})},abort:function(){pa({expected:"PRE_DRAG",phase:f,isLockActive:m,shouldWarn:!0})&&t.release()}}}({lockAPI:s,registry:a,contextId:t,store:n,draggableId:e,forceSensorStop:r,sourceEvent:o&&o.sourceEvent?o.sourceEvent:null})}),[t,s,a,n]),p=ue((function(e){return function(e,t){var n=function(e,t){var n,r=t.target;if(!((n=r)instanceof xr(n).Element))return null;var a=function(e){return"["+hr.contextId+'="'+e+'"]'}(e),o=da(r,a);return o&&Ir(o)?o:null}(e,t);return n?n.getAttribute(hr.draggableId):null}(t,e)}),[t]),m=ue((function(e){var t=a.draggable.findById(e);return t?t.options:null}),[a.draggable]),g=ue((function(){s.isClaimed()&&(s.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch(bn()))}),[s,n]),h=ue(s.isClaimed,[s]),v=le((function(){return{canGetLock:d,tryGetLock:f,findClosestDraggableId:p,findOptionsForDraggable:m,tryReleaseLock:g,isLockClaimed:h}}),[d,f,p,m,g,h]),b=0;b<u.length;b++)u[b](v)}var va=function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}};function ba(e){return e.current||De(!1),e.current}function ya(e){var t=e.contextId,n=e.setCallbacks,a=e.sensors,o=e.nonce,l=e.dragHandleUsageInstructions,u=(0,r.useRef)(null),s=Lr(e),c=ue((function(){return va(s.current)}),[s]),d=function(e){var t=le((function(){return Rr(e)}),[e]),n=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),i(e.style,Nr),Dr().appendChild(e),function(){setTimeout((function(){var t=Dr();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]),ue((function(e){var t=n.current;t&&(t.textContent=e)}),[])}(t),f=function(e){var t=e.contextId,n=e.text,a=Mr("hidden-text",{separator:"-"}),o=le((function(){return"rbd-hidden-text-"+(e={contextId:t,uniqueId:a}).contextId+"-"+e.uniqueId;var e}),[a,t]);return(0,r.useEffect)((function(){var e=document.createElement("div");return e.id=o,e.textContent=n,e.style.display="none",Dr().appendChild(e),function(){var t=Dr();t.contains(e)&&t.removeChild(e)}}),[o,n]),o}({contextId:t,text:l}),p=function(e,t){var n=le((function(){return Er(e)}),[e]),a=(0,r.useRef)(null),o=(0,r.useRef)(null),i=ue(Ee((function(e){var t=o.current;t||De(!1),t.textContent=e})),[]),l=ue((function(e){var t=a.current;t||De(!1),t.textContent=e}),[]);Sr((function(){(a.current||o.current)&&De(!1);var r=Cr(t),u=Cr(t);return a.current=r,o.current=u,r.setAttribute(gr+"-always",e),u.setAttribute(gr+"-dynamic",e),kr().appendChild(r),kr().appendChild(u),l(n.always),i(n.resting),function(){var e=function(e){var t=e.current;t||De(!1),kr().removeChild(t),e.current=null};e(a),e(o)}}),[t,l,i,n.always,n.resting,e]);var u=ue((function(){return i(n.dragging)}),[i,n.dragging]),s=ue((function(e){i("DROP"!==e?n.userCancel:n.dropAnimating)}),[i,n.dropAnimating,n.userCancel]),c=ue((function(){o.current&&i(n.resting)}),[i,n.resting]);return le((function(){return{dragging:u,dropping:s,resting:c}}),[u,s,c])}(t,o),m=ue((function(e){ba(u).dispatch(e)}),[]),g=le((function(){return v({publishWhileDragging:un,updateDroppableScroll:cn,updateDroppableIsEnabled:dn,updateDroppableIsCombineEnabled:fn,collectionStarting:sn},m)}),[m]),h=function(){var e=le(Or,[]);return(0,r.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),b=le((function(){return Kn(h,g)}),[h,g]),y=le((function(){return mr(i({scrollWindow:Yn,scrollDroppable:b.scrollDroppable},v({move:pn},m)))}),[b.scrollDroppable,m]),w=function(e){var t=(0,r.useRef)({}),n=(0,r.useRef)(null),a=(0,r.useRef)(null),o=(0,r.useRef)(!1),i=ue((function(e,n){var r={id:e,focus:n};return t.current[e]=r,function(){var n=t.current;n[e]!==r&&delete n[e]}}),[]),l=ue((function(t){var n=function(e,t){var n="["+hr.contextId+'="'+e+'"]',r=Ze(document.querySelectorAll(n));if(!r.length)return null;var a=Xe(r,(function(e){return e.getAttribute(hr.draggableId)===t}));return a&&Ir(a)?a:null}(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),u=ue((function(e,t){n.current===e&&(n.current=t)}),[]),s=ue((function(){a.current||o.current&&(a.current=requestAnimationFrame((function(){a.current=null;var e=n.current;e&&l(e)})))}),[l]),c=ue((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(hr.draggableId)===e&&(n.current=e)}),[]);return Sr((function(){return o.current=!0,function(){o.current=!1;var e=a.current;e&&cancelAnimationFrame(e)}}),[]),le((function(){return{register:i,tryRecordFocus:c,tryRestoreFocusRecorded:s,tryShiftRecord:u}}),[i,c,s,u])}(t),E=le((function(){return Wn({announce:d,autoScroller:y,dimensionMarshal:b,focusMarshal:w,getResponders:c,styleMarshal:p})}),[d,y,b,w,c,p]);u.current=E;var S=ue((function(){var e=ba(u);"IDLE"!==e.getState().phase&&e.dispatch(bn())}),[]),k=ue((function(){var e=ba(u).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);n(le((function(){return{isDragging:k,tryAbort:S}}),[k,S]));var C=ue((function(e){return Jn(ba(u).getState(),e)}),[]),I=ue((function(){return Ht(ba(u).getState())}),[]),O=le((function(){return{marshal:b,focus:w,contextId:t,canLift:C,isMovementAllowed:I,dragHandleUsageInstructionsId:f,registry:h}}),[t,b,f,w,C,I,h]);return ha({contextId:t,store:E,registry:h,customSensors:a,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,r.useEffect)((function(){return S}),[S]),r.createElement(Ar.Provider,{value:O},r.createElement(x,{context:Pr,store:E},e.children))}var wa=0;function Ea(){wa=0,Tr=0}function Sa(e){var t=le((function(){return""+wa++}),[]),n=e.dragHandleUsageInstructions||Ae.dragHandleUsageInstructions;return r.createElement(Ne,null,(function(a){return r.createElement(ya,{nonce:e.nonce,contextId:t,setCallbacks:a,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var ka=function(e){return function(t){return e===t}},Ca=ka("scroll"),xa=ka("auto"),Ia=(ka("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),Oa=function e(t){return null==t||t===document.body||t===document.documentElement?null:function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return Ia(n,Ca)||Ia(n,xa)}(t)?t:e(t.parentElement)},Pa=function(e){return{x:e.scrollLeft,y:e.scrollTop}},Da=function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))},Na={passive:!1},Ra={passive:!0},Ta=function(e){return e.shouldPublishImmediately?Na:Ra};function _a(e){var t=(0,r.useContext)(e);return t||De(!1),t}var Ma=function(e){return e&&e.env.closestScrollable||null};function Aa(){}var La={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},Ba=r.memo((function(e){var t=(0,r.useRef)(null),n=ue((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),a=e.animate,o=e.onTransitionEnd,i=e.onClose,l=e.contextId,u=(0,r.useState)("open"===e.animate),s=u[0],c=u[1];(0,r.useEffect)((function(){return s?"open"!==a?(n(),c(!1),Aa):t.current?Aa:(t.current=setTimeout((function(){t.current=null,c(!1)})),n):Aa}),[a,s,n]);var d=ue((function(e){"height"===e.propertyName&&(o(),"close"===a&&i())}),[a,i,o]),f=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,a=function(e){var t=e.placeholder;return e.isAnimatingOpenOnMount||"close"===e.animate?La:{height:t.client.borderBox.height,width:t.client.borderBox.width,margin:t.client.margin}}({isAnimatingOpenOnMount:t,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:a.width,height:a.height,marginTop:a.margin.top,marginRight:a.margin.right,marginBottom:a.margin.bottom,marginLeft:a.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?In.placeholder:null}}({isAnimatingOpenOnMount:s,animate:e.animate,placeholder:e.placeholder});return r.createElement(e.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":l,onTransitionEnd:d,ref:e.innerRef})})),Fa=r.createContext(null),ja=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this).state={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return o(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(r.PureComponent),za=5e3,Ua=4500,Wa=function(e,t){return t?In.drop(t.duration):e?In.snap:In.fluid},Ga=function(e,t){return e?t?Sn:kn:null};function Ha(e){e.preventDefault()}var Va=function(e,t){return e===t},qa=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null};function $a(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var Qa={mapped:{type:"SECONDARY",offset:Le,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:$a(null)}},Ka=re((function(){var e,t,n,r=(e=Ee((function(e,t){return{x:e,y:t}})),t=Ee((function(e,t,n,r,a){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(a),dropAnimation:a,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=Ee((function(e,n,r,a,o,i,l){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:o,combineWith:i,mode:n,offset:e,dimension:r,forceShouldAnimate:l,snapshot:t(n,a,o,i,null)}}})),function(r,a){if(r.isDragging){if(r.critical.draggable.id!==a.draggableId)return null;var o=r.current.client.offset,i=r.dimensions.draggables[a.draggableId],l=Wt(r.impact),u=(c=r.impact).at&&"COMBINE"===c.at.type?c.at.combine.draggableId:null,s=r.forceShouldAnimate;return n(e(o.x,o.y),r.movementMode,i,a.isClone,l,u,s)}var c;if("DROP_ANIMATING"===r.phase){var d=r.completed;if(d.result.draggableId!==a.draggableId)return null;var f=a.isClone,p=r.dimensions.draggables[a.draggableId],m=d.result,g=m.mode,h=qa(m),v=function(e){return e.combine?e.combine.draggableId:null}(m),b={duration:r.dropDuration,curve:En,moveTo:r.newHomeClientOffset,opacity:v?Sn:null,scale:v?Cn:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:p,dropping:b,draggingOver:h,combineWith:v,mode:g,forceShouldAnimate:null,snapshot:t(g,f,h,v,b)}}}return null}),a=function(){var e=Ee((function(e,t){return{x:e,y:t}})),t=Ee($a),n=Ee((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),r=function(e){return e?n(Le,e,!0):null},a=function(t,a,o,i){var l=o.displaced.visible[t],u=Boolean(i.inVirtualList&&i.effected[t]),s=it(o),c=s&&s.draggableId===t?a:null;if(!l){if(!u)return r(c);if(o.displaced.invisible[t])return null;var d=ze(i.displacedBy.point),f=e(d.x,d.y);return n(f,c,!0)}if(u)return r(c);var p=o.displacedBy.point,m=e(p.x,p.y);return n(m,c,l.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:a(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:a(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(e,t){return r(e,t)||a(e,t)||Qa}}),{dropAnimationFinished:function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}}},null,{context:Pr,pure:!0,areStatePropsEqual:Va})((function(e){var t=(0,r.useRef)(null),n=ue((function(e){t.current=e}),[]),a=ue((function(){return t.current}),[]),o=_a(Ar),i=o.contextId,l=o.dragHandleUsageInstructionsId,u=o.registry,s=_a(Fa),c=s.type,d=s.droppableId,f=le((function(){return{id:e.draggableId,index:e.index,type:c,droppableId:d}}),[e.draggableId,e.index,c,d]),p=e.children,m=e.draggableId,g=e.isEnabled,h=e.shouldRespectForcePress,v=e.canDragInteractiveElements,b=e.isClone,y=e.mapped,w=e.dropAnimationFinished;b||function(e){var t=Mr("draggable"),n=e.descriptor,a=e.registry,o=e.getDraggableRef,i=e.canDragInteractiveElements,l=e.shouldRespectForcePress,u=e.isEnabled,s=le((function(){return{canDragInteractiveElements:i,shouldRespectForcePress:l,isEnabled:u}}),[i,u,l]),c=ue((function(e){var t=o();return t||De(!1),function(e,t,n){void 0===n&&(n=Le);var r=window.getComputedStyle(t),a=t.getBoundingClientRect(),o=ve(a,r),i=he(o,n);return{descriptor:e,placeholder:{client:o,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:o.marginBox.width,y:o.marginBox.height},client:o,page:i}}(n,t,e)}),[n,o]),d=le((function(){return{uniqueId:t,descriptor:n,options:s,getDimension:c}}),[n,c,s,t]),f=(0,r.useRef)(d),p=(0,r.useRef)(!0);Sr((function(){return a.draggable.register(f.current),function(){return a.draggable.unregister(f.current)}}),[a.draggable]),Sr((function(){if(p.current)p.current=!1;else{var e=f.current;f.current=d,a.draggable.update(d,e)}}),[d,a.draggable])}(le((function(){return{descriptor:f,registry:u,getDraggableRef:a,canDragInteractiveElements:v,shouldRespectForcePress:h,isEnabled:g}}),[f,u,a,v,h,g]));var E=le((function(){return g?{tabIndex:0,role:"button","aria-describedby":l,"data-rbd-drag-handle-draggable-id":m,"data-rbd-drag-handle-context-id":i,draggable:!1,onDragStart:Ha}:null}),[i,l,m,g]),S=ue((function(e){"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&w()}),[w,y]),k=le((function(){var e=function(e){return"DRAGGING"===e.type?function(e){var t=e.dimension.client,n=e.offset,r=e.combineWith,a=e.dropping,o=Boolean(r),i=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(e),l=Boolean(a),u=l?Dn(n,o):Pn(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:Wa(i,a),transform:u,opacity:Ga(o,l),zIndex:l?Ua:za,pointerEvents:"none"}}(e):{transform:Pn((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t}(y),t="DRAGGING"===y.type&&y.dropping?S:null;return{innerRef:n,draggableProps:{"data-rbd-draggable-context-id":i,"data-rbd-draggable-id":m,style:e,onTransitionEnd:t},dragHandleProps:E}}),[i,E,m,y,S,n]),C=le((function(){return{draggableId:f.id,type:f.type,source:{index:f.index,droppableId:f.droppableId}}}),[f.droppableId,f.id,f.index,f.type]);return p(k,y.snapshot,C)}));function Ja(e){return _a(Fa).isUsingCloneFor!==e.draggableId||e.isClone?r.createElement(Ka,e):null}function Ya(e){var t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),a=Boolean(e.shouldRespectForcePress);return r.createElement(Ja,i({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:a}))}var Xa=function(e,t){return e===t.droppable.type},Za=function(e,t){return t.draggables[e.draggable.id]},eo={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||De(!1),document.body}},to=re((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=i({},e,{shouldAnimatePlaceholder:!1}),n=Ee((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=Ee((function(r,a,o,i,l,u){var s=l.descriptor.id;if(l.descriptor.droppableId===r){var c=u?{render:u,dragging:n(l.descriptor)}:null,d={isDraggingOver:o,draggingOverWith:o?s:null,draggingFromThisWith:s,isUsingPlaceholder:!0};return{placeholder:l.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:c}}if(!a)return t;if(!i)return e;var f={isDraggingOver:o,draggingOverWith:s,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:l.placeholder,shouldAnimatePlaceholder:!0,snapshot:f,useClone:null}}));return function(n,a){var o=a.droppableId,i=a.type,l=!a.isDropDisabled,u=a.renderClone;if(n.isDragging){var s=n.critical;if(!Xa(i,s))return t;var c=Za(s,n.dimensions),d=Wt(n.impact)===o;return r(o,l,d,d,c,u)}if("DROP_ANIMATING"===n.phase){var f=n.completed;if(!Xa(i,f.critical))return t;var p=Za(f.critical,n.dimensions);return r(o,l,qa(f.result)===o,Wt(f.impact)===o,p,u)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var m=n.completed;if(!Xa(i,m.critical))return t;var g=Wt(m.impact)===o,h=Boolean(m.impact.at&&"COMBINE"===m.impact.at.type),v=m.critical.droppable.id===o;return g?h?e:t:v?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:Pr,pure:!0,areStatePropsEqual:Va})((function(e){var t=(0,r.useContext)(Ar);t||De(!1);var n=t.contextId,a=t.isMovementAllowed,o=(0,r.useRef)(null),i=(0,r.useRef)(null),l=e.children,u=e.droppableId,s=e.type,c=e.mode,d=e.direction,f=e.ignoreContainerClipping,p=e.isDropDisabled,m=e.isCombineEnabled,g=e.snapshot,h=e.useClone,v=e.updateViewportMaxScroll,b=e.getContainerForClone,y=ue((function(){return o.current}),[]),w=ue((function(e){o.current=e}),[]),E=(ue((function(){return i.current}),[]),ue((function(e){i.current=e}),[])),S=ue((function(){a()&&v({maxScroll:Vn()})}),[a,v]);!function(e){var t=(0,r.useRef)(null),n=_a(Ar),a=Mr("droppable"),o=n.registry,i=n.marshal,l=Lr(e),u=le((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),s=(0,r.useRef)(u),c=le((function(){return Ee((function(e,n){t.current||De(!1);var r={x:e,y:n};i.updateDroppableScroll(u.id,r)}))}),[u.id,i]),d=ue((function(){var e=t.current;return e&&e.env.closestScrollable?Pa(e.env.closestScrollable):Le}),[]),f=ue((function(){var e=d();c(e.x,e.y)}),[d,c]),p=le((function(){return Se(f)}),[f]),m=ue((function(){var e=t.current,n=Ma(e);e&&n||De(!1),e.scrollOptions.shouldPublishImmediately?f():p()}),[p,f]),g=ue((function(e,r){t.current&&De(!1);var a=l.current,o=a.getDroppableRef();o||De(!1);var i=function(e){return{closestScrollable:Oa(e),isFixedOnPage:Da(e)}}(o),s={ref:o,descriptor:u,env:i,scrollOptions:r};t.current=s;var c=function(e){var t=e.ref,n=e.descriptor,r=e.env,a=e.windowScroll,o=e.direction,i=e.isDropDisabled,l=e.isCombineEnabled,u=e.shouldClipSubject,s=r.closestScrollable,c=function(e,t){var n=be(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,a=n.paddingBox.left-t.scrollLeft,o=r+t.scrollHeight,i=a+t.scrollWidth,l=ce({top:r,right:i,bottom:o,left:a},n.border);return pe({borderBox:l,margin:n.margin,border:n.border,padding:n.padding})}(t,s),d=he(c,a),f=function(){if(!s)return null;var e=be(s),t={scrollHeight:s.scrollHeight,scrollWidth:s.scrollWidth};return{client:e,page:he(e,a),scroll:Pa(s),scrollSize:t,shouldClipSubject:u}}(),p=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,a=e.isFixedOnPage,o=e.direction,i=e.client,l=e.page,u=e.closest,s=function(){if(!u)return null;var e=u.scrollSize,t=u.client,n=Gn({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:u.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:u.shouldClipSubject,scroll:{initial:u.scroll,current:u.scroll,max:n,diff:{value:Le,displacement:Le}}}}(),c="vertical"===o?gt:ht;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:a,axis:c,isEnabled:n,client:i,page:l,frame:s,subject:Qe({page:l,withPlaceholder:null,axis:c,frame:s})}}({descriptor:n,isEnabled:!i,isCombineEnabled:l,isFixedOnPage:r.isFixedOnPage,direction:o,client:c,page:d,closest:f});return p}({ref:o,descriptor:u,env:i,windowScroll:e,direction:a.direction,isDropDisabled:a.isDropDisabled,isCombineEnabled:a.isCombineEnabled,shouldClipSubject:!a.ignoreContainerClipping}),d=i.closestScrollable;return d&&(d.setAttribute(yr.contextId,n.contextId),d.addEventListener("scroll",m,Ta(s.scrollOptions))),c}),[n.contextId,u,m,l]),h=ue((function(){var e=t.current,n=Ma(e);return e&&n||De(!1),Pa(n)}),[]),v=ue((function(){var e=t.current;e||De(!1);var n=Ma(e);t.current=null,n&&(p.cancel(),n.removeAttribute(yr.contextId),n.removeEventListener("scroll",m,Ta(e.scrollOptions)))}),[m,p]),b=ue((function(e){var n=t.current;n||De(!1);var r=Ma(n);r||De(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),y=le((function(){return{getDimensionAndWatchScroll:g,getScrollWhileDragging:h,dragStopped:v,scroll:b}}),[v,g,h,b]),w=le((function(){return{uniqueId:a,descriptor:u,callbacks:y}}),[y,u,a]);Sr((function(){return s.current=w.descriptor,o.droppable.register(w),function(){t.current&&v(),o.droppable.unregister(w)}}),[y,u,v,w,i,o.droppable]),Sr((function(){t.current&&i.updateDroppableIsEnabled(s.current.id,!e.isDropDisabled)}),[e.isDropDisabled,i]),Sr((function(){t.current&&i.updateDroppableIsCombineEnabled(s.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,i])}({droppableId:u,type:s,mode:c,direction:d,isDropDisabled:p,isCombineEnabled:m,ignoreContainerClipping:f,getDroppableRef:y});var k=r.createElement(ja,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,a=e.data,o=e.animate;return r.createElement(Ba,{placeholder:a,onClose:t,innerRef:E,animate:o,contextId:n,onTransitionEnd:S})})),C=le((function(){return{innerRef:w,placeholder:k,droppableProps:{"data-rbd-droppable-id":u,"data-rbd-droppable-context-id":n}}}),[n,u,k,w]),x=h?h.dragging.draggableId:null,I=le((function(){return{droppableId:u,type:s,isUsingCloneFor:x}}),[u,x,s]);return r.createElement(Fa.Provider,{value:I},l(C,g),function(){if(!h)return null;var e=h.dragging,t=h.render,n=r.createElement(Ja,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(n,r){return t(n,r,e)}));return oe.createPortal(n,b())}())}));to.defaultProps=eo},448:(e,t,n)=>{"use strict";var r=n(294),a=n(840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function u(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},m={};function g(e,t,n,r,a,o,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=a,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=i}var h={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){h[e]=new g(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 g(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){h[e]=new g(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){h[e]=new g(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 g(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){h[e]=new g(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){h[e]=new g(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){h[e]=new g(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){h[e]=new g(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function y(e,t,n,r){var 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!!d.call(m,e)||!d.call(p,e)&&(f.test(e)?m[e]=!0:(p[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,b);h[t]=new g(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,b);h[t]=new g(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,b);h[t]=new g(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){h[e]=new g(e,1,!1,e.toLowerCase(),null,!1,!1)})),h.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){h[e]=new g(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=Symbol.for("react.element"),S=Symbol.for("react.portal"),k=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),x=Symbol.for("react.profiler"),I=Symbol.for("react.provider"),O=Symbol.for("react.context"),P=Symbol.for("react.forward_ref"),D=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),R=Symbol.for("react.memo"),T=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var _=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");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 L,B=Object.assign;function F(e){if(void 0===L)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);L=t&&t[1]||""}return"\n"+L+e}var j=!1;function z(e,t){if(!e||j)return"";j=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),o=r.stack.split("\n"),i=a.length-1,l=o.length-1;1<=i&&0<=l&&a[i]!==o[l];)l--;for(;1<=i&&0<=l;i--,l--)if(a[i]!==o[l]){if(1!==i||1!==l)do{if(i--,0>--l||a[i]!==o[l]){var u="\n"+a[i].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=i&&0<=l);break}}}finally{j=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function U(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return z(e.type,!1);case 11:return z(e.type.render,!1);case 1:return z(e.type,!0);default:return""}}function W(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case k:return"Fragment";case S:return"Portal";case x:return"Profiler";case C:return"StrictMode";case D:return"Suspense";case N:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case O:return(e.displayName||"Context")+".Consumer";case I:return(e._context.displayName||"Context")+".Provider";case P:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case R:return null!==(t=e.displayName||null)?t:W(e.type)||"Memo";case T:t=e._payload,e=e._init;try{return W(e(t))}catch(e){}}return null}function G(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 W(t);case 8:return t===C?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function H(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function V(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=V(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 $(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Q(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 K(e,t){var n=t.checked;return B({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function J(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=H(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Y(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function X(e,t){Y(e,t);var n=H(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,H(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Q(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var a=0;a<n.length;a++)t["$"+n[a]]=!0;for(n=0;n<e.length;n++)a=t.hasOwnProperty("$"+e[n].value),e[n].selected!==a&&(e[n].selected=a),a&&r&&(e[n].defaultSelected=!0)}else{for(n=""+H(n),t=null,a=0;a<e.length;a++){if(e[a].value===n)return e[a].selected=!0,void(r&&(e[a].defaultSelected=!0));null!==t||e[a].disabled||(t=e[a])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return B({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ae(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(te(n)){if(1<n.length)throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:H(n)}}function oe(e,t){var n=H(t.value),r=H(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function 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 ue(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,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((se=se||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function ge(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 he(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=ge(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(pe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=B({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function Ee(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Se=null,ke=null,Ce=null;function xe(e){if(e=ya(e)){if("function"!=typeof Se)throw Error(o(280));var t=e.stateNode;t&&(t=Ea(t),Se(e.stateNode,e.type,t))}}function Ie(e){ke?Ce?Ce.push(e):Ce=[e]:ke=e}function Oe(){if(ke){var e=ke,t=Ce;if(Ce=ke=null,xe(e),t)for(e=0;e<t.length;e++)xe(t[e])}}function Pe(e,t){return e(t)}function De(){}var Ne=!1;function Re(e,t,n){if(Ne)return e(t,n);Ne=!0;try{return Pe(e,t,n)}finally{Ne=!1,(null!==ke||null!==Ce)&&(De(),Oe())}}function Te(e,t){var n=e.stateNode;if(null===n)return null;var r=Ea(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var _e=!1;if(c)try{var Me={};Object.defineProperty(Me,"passive",{get:function(){_e=!0}}),window.addEventListener("test",Me,Me),window.removeEventListener("test",Me,Me)}catch(ce){_e=!1}function Ae(e,t,n,r,a,o,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var Le=!1,Be=null,Fe=!1,je=null,ze={onError:function(e){Le=!0,Be=e}};function Ue(e,t,n,r,a,o,i,l,u){Le=!1,Be=null,Ae.apply(ze,arguments)}function We(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 Ge(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function He(e){if(We(e)!==e)throw Error(o(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=We(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,r=t;;){var a=n.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(r=a.return)){n=r;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===n)return He(a),e;if(i===r)return He(a),t;i=i.sibling}throw Error(o(188))}if(n.return!==r.return)n=a,r=i;else{for(var l=!1,u=a.child;u;){if(u===n){l=!0,n=a,r=i;break}if(u===r){l=!0,r=a,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=a;break}if(u===r){l=!0,r=i,n=a;break}u=u.sibling}if(!l)throw Error(o(189))}}if(n.alternate!==r)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var $e=a.unstable_scheduleCallback,Qe=a.unstable_cancelCallback,Ke=a.unstable_shouldYield,Je=a.unstable_requestPaint,Ye=a.unstable_now,Xe=a.unstable_getCurrentPriorityLevel,Ze=a.unstable_ImmediatePriority,et=a.unstable_UserBlockingPriority,tt=a.unstable_NormalPriority,nt=a.unstable_LowPriority,rt=a.unstable_IdlePriority,at=null,ot=null,it=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(lt(e)/ut|0)|0},lt=Math.log,ut=Math.LN2,st=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~a;0!==l?r=dt(l):0!=(o&=i)&&(r=dt(o))}else 0!=(i=n&~a)?r=dt(i):0!==o&&(r=dt(o));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)&&((a=r&-r)>=(o=t&-t)||16===a&&0!=(4194240&o)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)a=1<<(n=31-it(t)),r|=e[n],t&=~a;return r}function 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 mt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function gt(){var e=st;return 0==(4194240&(st<<=1))&&(st=64),e}function ht(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var yt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Et,St,kt,Ct,xt,It=!1,Ot=[],Pt=null,Dt=null,Nt=null,Rt=new Map,Tt=new Map,_t=[],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":Dt=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":Rt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Tt.delete(t.pointerId)}}function Lt(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=ya(t))&&St(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Bt(e){var t=ba(e.target);if(null!==t){var n=We(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ge(n)))return e.blockedOn=t,void xt(e.priority,(function(){kt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=ya(n))&&St(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 jt(e,t,n){Ft(e)&&n.delete(t)}function zt(){It=!1,null!==Pt&&Ft(Pt)&&(Pt=null),null!==Dt&&Ft(Dt)&&(Dt=null),null!==Nt&&Ft(Nt)&&(Nt=null),Rt.forEach(jt),Tt.forEach(jt)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,It||(It=!0,a.unstable_scheduleCallback(a.unstable_NormalPriority,zt)))}function Wt(e){function t(t){return Ut(t,e)}if(0<Ot.length){Ut(Ot[0],e);for(var n=1;n<Ot.length;n++){var r=Ot[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Pt&&Ut(Pt,e),null!==Dt&&Ut(Dt,e),null!==Nt&&Ut(Nt,e),Rt.forEach(t),Tt.forEach(t),n=0;n<_t.length;n++)(r=_t[n]).blockedOn===e&&(r.blockedOn=null);for(;0<_t.length&&null===(n=_t[0]).blockedOn;)Bt(n),null===n.blockedOn&&_t.shift()}var Gt=w.ReactCurrentBatchConfig,Ht=!0;function Vt(e,t,n,r){var a=yt,o=Gt.transition;Gt.transition=null;try{yt=1,$t(e,t,n,r)}finally{yt=a,Gt.transition=o}}function qt(e,t,n,r){var a=yt,o=Gt.transition;Gt.transition=null;try{yt=4,$t(e,t,n,r)}finally{yt=a,Gt.transition=o}}function $t(e,t,n,r){if(Ht){var a=Kt(e,t,n,r);if(null===a)Hr(e,t,r,Qt,n),At(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Pt=Lt(Pt,e,t,n,r,a),!0;case"dragenter":return Dt=Lt(Dt,e,t,n,r,a),!0;case"mouseover":return Nt=Lt(Nt,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Rt.set(o,Lt(Rt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Tt.set(o,Lt(Tt.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=ya(a);if(null!==o&&Et(o),null===(o=Kt(e,t,n,r))&&Hr(e,t,r,Qt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else Hr(e,t,r,null,n)}}var Qt=null;function Kt(e,t,n,r){if(Qt=null,null!==(e=ba(e=Ee(r))))if(null===(t=We(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ge(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 Qt=e,null}function Jt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Yt=null,Xt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Xt,r=n.length,a="value"in Yt?Yt.value:Yt.textContent,o=a.length;for(e=0;e<r&&n[e]===a[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===a[o-t];t++);return Zt=a.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,a,o){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=a,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(a):a[i]);return this.isDefaultPrevented=(null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return B(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,ln,un,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=an(sn),dn=B({},sn,{view:0,detail:0}),fn=an(dn),pn=B({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:xn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(on=e.screenX-un.screenX,ln=e.screenY-un.screenY):ln=on=0,un=e),on)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),mn=an(pn),gn=an(B({},pn,{dataTransfer:0})),hn=an(B({},dn,{relatedTarget:0})),vn=an(B({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=B({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=an(bn),wn=an(B({},sn,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},Sn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},kn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=kn[e])&&!!t[e]}function xn(){return Cn}var In=B({},dn,{key:function(e){if(e.key){var t=En[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?Sn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:xn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),On=an(In),Pn=an(B({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Dn=an(B({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:xn})),Nn=an(B({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=B({},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}),Tn=an(Rn),_n=[9,13,27,32],Mn=c&&"CompositionEvent"in window,An=null;c&&"documentMode"in document&&(An=document.documentMode);var Ln=c&&"TextEvent"in window&&!An,Bn=c&&(!Mn||An&&8<An&&11>=An),Fn=String.fromCharCode(32),jn=!1;function zn(e,t){switch(e){case"keyup":return-1!==_n.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Un(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Wn=!1,Gn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Hn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Gn[e.type]:"textarea"===t}function Vn(e,t,n,r){Ie(r),0<(t=qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var qn=null,$n=null;function Qn(e){Fr(e,0)}function Kn(e){if($(wa(e)))return e}function Jn(e,t){if("change"===e)return t}var Yn=!1;if(c){var Xn;if(c){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Xn=Zn}else Xn=!1;Yn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){qn&&(qn.detachEvent("onpropertychange",nr),$n=qn=null)}function nr(e){if("value"===e.propertyName&&Kn($n)){var t=[];Vn(t,$n,e,Ee(e)),Re(Qn,t)}}function rr(e,t,n){"focusin"===e?(tr(),$n=n,(qn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kn($n)}function or(e,t){if("click"===e)return Kn(t)}function ir(e,t){if("input"===e||"change"===e)return Kn(t)}var lr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ur(e,t){if(lr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var a=n[r];if(!d.call(t,a)||!lr(e[a],t[a]))return!1}return!0}function sr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=sr(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=sr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=Q();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Q((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 mr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var 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=cr(n,o);var i=cr(n,r);a&&i&&(1!==e.rangeCount||e.anchorNode!==a.node||e.anchorOffset!==a.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(a.node,a.offset),e.removeAllRanges(),o>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var gr=c&&"documentMode"in document&&11>=document.documentMode,hr=null,vr=null,br=null,yr=!1;function wr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==hr||hr!==Q(r)||(r="selectionStart"in(r=hr)&&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},br&&ur(br,r)||(br=r,0<(r=qr(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=hr)))}function Er(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:Er("Animation","AnimationEnd"),animationiteration:Er("Animation","AnimationIteration"),animationstart:Er("Animation","AnimationStart"),transitionend:Er("Transition","TransitionEnd")},kr={},Cr={};function xr(e){if(kr[e])return kr[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Cr)return kr[e]=n[t];return e}c&&(Cr=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Ir=xr("animationend"),Or=xr("animationiteration"),Pr=xr("animationstart"),Dr=xr("transitionend"),Nr=new Map,Rr="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 Tr(e,t){Nr.set(e,t),u(t,[e])}for(var _r=0;_r<Rr.length;_r++){var Mr=Rr[_r];Tr(Mr.toLowerCase(),"on"+(Mr[0].toUpperCase()+Mr.slice(1)))}Tr(Ir,"onAnimationEnd"),Tr(Or,"onAnimationIteration"),Tr(Pr,"onAnimationStart"),Tr("dblclick","onDoubleClick"),Tr("focusin","onFocus"),Tr("focusout","onBlur"),Tr(Dr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("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(" "),Lr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ar));function Br(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,i,l,u,s){if(Ue.apply(this,arguments),Le){if(!Le)throw Error(o(198));var c=Be;Le=!1,Be=null,Fe||(Fe=!0,je=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(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 i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==o&&a.isPropagationStopped())break e;Br(a,l,s),o=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,s=l.currentTarget,l=l.listener,u!==o&&a.isPropagationStopped())break e;Br(a,l,s),o=u}}}if(Fe)throw e=je,Fe=!1,je=null,e}function jr(e,t){var n=t[ga];void 0===n&&(n=t[ga]=new Set);var r=e+"__bubble";n.has(r)||(Gr(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),Gr(n,e,r,t)}var Ur="_reactListening"+Math.random().toString(36).slice(2);function Wr(e){if(!e[Ur]){e[Ur]=!0,i.forEach((function(t){"selectionchange"!==t&&(Lr.has(t)||zr(t,!1,e),zr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Ur]||(t[Ur]=!0,zr("selectionchange",!1,t))}}function Gr(e,t,n,r){switch(Jt(t)){case 1:var a=Vt;break;case 4:a=qt;break;default:a=$t}n=a.bind(null,t,n,e),a=void 0,!_e||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function Hr(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===a||8===l.nodeType&&l.parentNode===a)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===a||8===u.nodeType&&u.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=ba(l)))return;if(5===(u=i.tag)||6===u){r=o=i;continue e}l=l.parentNode}}r=r.return}Re((function(){var r=o,a=Ee(n),i=[];e:{var l=Nr.get(e);if(void 0!==l){var u=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=On;break;case"focusin":s="focus",u=hn;break;case"focusout":s="blur",u=hn;break;case"beforeblur":case"afterblur":u=hn;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":u=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Dn;break;case Ir:case Or:case Pr:u=vn;break;case Dr:u=Nn;break;case"scroll":u=fn;break;case"wheel":u=Tn;break;case"copy":case"cut":case"paste":u=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Pn}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,m=r;null!==m;){var g=(p=m).stateNode;if(5===p.tag&&null!==g&&(p=g,null!==f&&null!=(g=Te(m,f))&&c.push(Vr(m,g,p))),d)break;m=m.return}0<c.length&&(l=new u(l,s,null,n,a),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(s=n.relatedTarget||n.fromElement)||!ba(s)&&!s[ma])&&(u||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?ba(s):null)&&(s!==(d=We(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=mn,g="onMouseLeave",f="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Pn,g="onPointerLeave",f="onPointerEnter",m="pointer"),d=null==u?l:wa(u),p=null==s?l:wa(s),(l=new c(g,m+"leave",u,n,a)).target=d,l.relatedTarget=p,g=null,ba(a)===r&&((c=new c(f,m+"enter",s,n,a)).target=p,c.relatedTarget=d,g=c),d=g,u&&s)e:{for(f=s,m=0,p=c=u;p;p=$r(p))m++;for(p=0,g=f;g;g=$r(g))p++;for(;0<m-p;)c=$r(c),m--;for(;0<p-m;)f=$r(f),p--;for(;m--;){if(c===f||null!==f&&c===f.alternate)break e;c=$r(c),f=$r(f)}c=null}else c=null;null!==u&&Qr(i,l,u,c,!1),null!==s&&null!==d&&Qr(i,d,s,c,!0)}if("select"===(u=(l=r?wa(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var h=Jn;else if(Hn(l))if(Yn)h=ir;else{h=ar;var v=rr}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(h=or);switch(h&&(h=h(e,r))?Vn(i,h,n,a):(v&&v(e,l,r),"focusout"===e&&(v=l._wrapperState)&&v.controlled&&"number"===l.type&&ee(l,"number",l.value)),v=r?wa(r):window,e){case"focusin":(Hn(v)||"true"===v.contentEditable)&&(hr=v,vr=r,br=null);break;case"focusout":br=vr=hr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,wr(i,n,a);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":wr(i,n,a)}var b;if(Mn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Wn?zn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Bn&&"ko"!==n.locale&&(Wn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Wn&&(b=en()):(Xt="value"in(Yt=a)?Yt.value:Yt.textContent,Wn=!0)),0<(v=qr(r,y)).length&&(y=new wn(y,e,null,n,a),i.push({event:y,listeners:v}),(b||null!==(b=Un(n)))&&(y.data=b))),(b=Ln?function(e,t){switch(e){case"compositionend":return Un(t);case"keypress":return 32!==t.which?null:(jn=!0,Fn);case"textInput":return(e=t.data)===Fn&&jn?null:e;default:return null}}(e,n):function(e,t){if(Wn)return"compositionend"===e||!Mn&&zn(e,t)?(e=en(),Zt=Xt=Yt=null,Wn=!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 Bn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=qr(r,"onBeforeInput")).length&&(a=new wn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=b)}Fr(i,t)}))}function Vr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qr(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=Te(e,n))&&r.unshift(Vr(e,o,a)),null!=(o=Te(e,t))&&r.push(Vr(e,o,a))),e=e.return}return r}function $r(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Qr(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,a?null!=(u=Te(n,o))&&i.unshift(Vr(n,u,l)):a||null!=(u=Te(n,o))&&i.push(Vr(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Kr=/\r\n?/g,Jr=/\u0000|\uFFFD/g;function Yr(e){return("string"==typeof e?e:""+e).replace(Kr,"\n").replace(Jr,"")}function Xr(e,t,n){if(t=Yr(t),Yr(e)!==t&&n)throw Error(o(425))}function Zr(){}var ea=null,ta=null;function na(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ra="function"==typeof setTimeout?setTimeout:void 0,aa="function"==typeof clearTimeout?clearTimeout:void 0,oa="function"==typeof Promise?Promise:void 0,ia="function"==typeof queueMicrotask?queueMicrotask:void 0!==oa?function(e){return oa.resolve(null).then(e).catch(la)}:ra;function la(e){setTimeout((function(){throw e}))}function ua(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 Wt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Wt(t)}function sa(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 ca(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var da=Math.random().toString(36).slice(2),fa="__reactFiber$"+da,pa="__reactProps$"+da,ma="__reactContainer$"+da,ga="__reactEvents$"+da,ha="__reactListeners$"+da,va="__reactHandles$"+da;function ba(e){var t=e[fa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[ma]||n[fa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ca(e);null!==e;){if(n=e[fa])return n;e=ca(e)}return t}n=(e=n).parentNode}return null}function ya(e){return!(e=e[fa]||e[ma])||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(o(33))}function Ea(e){return e[pa]||null}var Sa=[],ka=-1;function Ca(e){return{current:e}}function xa(e){0>ka||(e.current=Sa[ka],Sa[ka]=null,ka--)}function Ia(e,t){ka++,Sa[ka]=e.current,e.current=t}var Oa={},Pa=Ca(Oa),Da=Ca(!1),Na=Oa;function Ra(e,t){var n=e.type.contextTypes;if(!n)return Oa;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 Ta(e){return null!=e.childContextTypes}function _a(){xa(Da),xa(Pa)}function Ma(e,t,n){if(Pa.current!==Oa)throw Error(o(168));Ia(Pa,t),Ia(Da,n)}function Aa(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var a in r=r.getChildContext())if(!(a in t))throw Error(o(108,G(e)||"Unknown",a));return B({},n,r)}function La(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Oa,Na=Pa.current,Ia(Pa,e),Ia(Da,Da.current),!0}function Ba(e,t,n){var r=e.stateNode;if(!r)throw Error(o(169));n?(e=Aa(e,t,Na),r.__reactInternalMemoizedMergedChildContext=e,xa(Da),xa(Pa),Ia(Pa,e)):xa(Da),Ia(Da,n)}var Fa=null,ja=!1,za=!1;function Ua(e){null===Fa?Fa=[e]:Fa.push(e)}function Wa(){if(!za&&null!==Fa){za=!0;var e=0,t=yt;try{var n=Fa;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Fa=null,ja=!1}catch(t){throw null!==Fa&&(Fa=Fa.slice(e+1)),$e(Ze,Wa),t}finally{yt=t,za=!1}}return null}var Ga=[],Ha=0,Va=null,qa=0,$a=[],Qa=0,Ka=null,Ja=1,Ya="";function Xa(e,t){Ga[Ha++]=qa,Ga[Ha++]=Va,Va=e,qa=t}function Za(e,t,n){$a[Qa++]=Ja,$a[Qa++]=Ya,$a[Qa++]=Ka,Ka=e;var r=Ja;e=Ya;var a=32-it(r)-1;r&=~(1<<a),n+=1;var o=32-it(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Ja=1<<32-it(t)+a|n<<a|r,Ya=o+e}else Ja=1<<o|n<<a|r,Ya=e}function eo(e){null!==e.return&&(Xa(e,1),Za(e,1,0))}function to(e){for(;e===Va;)Va=Ga[--Ha],Ga[Ha]=null,qa=Ga[--Ha],Ga[Ha]=null;for(;e===Ka;)Ka=$a[--Qa],$a[Qa]=null,Ya=$a[--Qa],$a[Qa]=null,Ja=$a[--Qa],$a[Qa]=null}var no=null,ro=null,ao=!1,oo=null;function io(e,t){var n=Ts(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 lo(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,no=e,ro=sa(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,no=e,ro=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Ka?{id:Ja,overflow:Ya}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Ts(18,null,null,0)).stateNode=t,n.return=e,e.child=n,no=e,ro=null,!0);default:return!1}}function uo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function so(e){if(ao){var t=ro;if(t){var n=t;if(!lo(e,t)){if(uo(e))throw Error(o(418));t=sa(n.nextSibling);var r=no;t&&lo(e,t)?io(r,n):(e.flags=-4097&e.flags|2,ao=!1,no=e)}}else{if(uo(e))throw Error(o(418));e.flags=-4097&e.flags|2,ao=!1,no=e}}}function co(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;no=e}function fo(e){if(e!==no)return!1;if(!ao)return co(e),ao=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!na(e.type,e.memoizedProps)),t&&(t=ro)){if(uo(e))throw po(),Error(o(418));for(;t;)io(e,t),t=sa(t.nextSibling)}if(co(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ro=sa(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ro=null}}else ro=no?sa(e.stateNode.nextSibling):null;return!0}function po(){for(var e=ro;e;)e=sa(e.nextSibling)}function mo(){ro=no=null,ao=!1}function go(e){null===oo?oo=[e]:oo.push(e)}var ho=w.ReactCurrentBatchConfig;function vo(e,t){if(e&&e.defaultProps){for(var n in t=B({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var bo=Ca(null),yo=null,wo=null,Eo=null;function So(){Eo=wo=yo=null}function ko(e){var t=bo.current;xa(bo),e._currentValue=t}function Co(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 xo(e,t){yo=e,Eo=wo=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(wl=!0),e.firstContext=null)}function Io(e){var t=e._currentValue;if(Eo!==e)if(e={context:e,memoizedValue:t,next:null},null===wo){if(null===yo)throw Error(o(308));wo=e,yo.dependencies={lanes:0,firstContext:e}}else wo=wo.next=e;return t}var Oo=null;function Po(e){null===Oo?Oo=[e]:Oo.push(e)}function Do(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Po(t)):(n.next=a.next,a.next=n),t.interleaved=n,No(e,r)}function No(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ro=!1;function To(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function _o(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Mo(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ao(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Du)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,No(e,n)}return null===(a=r.interleaved)?(t.next=t,Po(r)):(t.next=a.next,a.next=t),r.interleaved=t,No(e,n)}function Lo(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function Bo(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var a=null,o=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===o?a=o=i:o=o.next=i,n=n.next}while(null!==n);null===o?a=o=t:o=o.next=t}else a=o=t;return n={baseState:r.baseState,firstBaseUpdate:a,lastBaseUpdate:o,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fo(e,t,n,r){var a=e.updateQueue;Ro=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var u=l,s=u.next;u.next=null,null===i?o=s:i.next=s,i=u;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=s:l.next=s,c.lastBaseUpdate=u)}if(null!==o){var d=a.baseState;for(i=0,c=s=u=null,l=o;;){var f=l.lane,p=l.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,g=l;switch(f=t,p=n,g.tag){case 1:if("function"==typeof(m=g.payload)){d=m.call(p,d,f);break e}d=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(f="function"==typeof(m=g.payload)?m.call(p,d,f):m))break e;d=B({},d,f);break e;case 2:Ro=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=a.effects)?a.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(s=c=p,u=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=a.shared.pending))break;l=(f=l).next,f.next=null,a.lastBaseUpdate=f,a.shared.pending=null}}if(null===c&&(u=d),a.baseState=u,a.firstBaseUpdate=s,a.lastBaseUpdate=c,null!==(t=a.shared.interleaved)){a=t;do{i|=a.lane,a=a.next}while(a!==t)}else null===o&&(a.shared.lanes=0);Bu|=i,e.lanes=i,e.memoizedState=d}}function jo(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],a=r.callback;if(null!==a){if(r.callback=null,r=n,"function"!=typeof a)throw Error(o(191,a));a.call(r)}}}var zo=(new r.Component).refs;function Uo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:B({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Wo={isMounted:function(e){return!!(e=e._reactInternals)&&We(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ts(),a=ns(e),o=Mo(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Ao(e,o,a))&&(rs(t,e,a,r),Lo(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ts(),a=ns(e),o=Mo(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Ao(e,o,a))&&(rs(t,e,a,r),Lo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ts(),r=ns(e),a=Mo(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Ao(e,a,r))&&(rs(t,e,r,n),Lo(t,e,r))}};function Go(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!(t.prototype&&t.prototype.isPureReactComponent&&ur(n,r)&&ur(a,o))}function Ho(e,t,n){var r=!1,a=Oa,o=t.contextType;return"object"==typeof o&&null!==o?o=Io(o):(a=Ta(t)?Na:Pa.current,o=(r=null!=(r=t.contextTypes))?Ra(e,a):Oa),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Wo,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function Vo(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&&Wo.enqueueReplaceState(t,t.state,null)}function qo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=zo,To(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=Io(o):(o=Ta(t)?Na:Pa.current,a.context=Ra(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(Uo(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&&Wo.enqueueReplaceState(a,a.state,null),Fo(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function $o(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var r=n.stateNode}if(!r)throw Error(o(147,e));var a=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=a.refs;t===zo&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function Qo(e,t){throw e=Object.prototype.toString.call(t),Error(o(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Ko(e){return(0,e._init)(e._payload)}function Jo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function a(e,t){return(e=Ms(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Fs(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function s(e,t,n,r){var o=n.type;return o===k?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===T&&Ko(o)===t.type)?((r=a(t,n.props)).ref=$o(e,t,n),r.return=e,r):((r=As(n.type,n.key,n.props,null,e.mode,r)).ref=$o(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=js(n,e.mode,r)).return=e,t):((t=a(t,n.children||[])).return=e,t)}function d(e,t,n,r,o){return null===t||7!==t.tag?((t=Ls(n,e.mode,r,o)).return=e,t):((t=a(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fs(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(n=As(t.type,t.key,t.props,null,e.mode,n)).ref=$o(e,null,t),n.return=e,n;case S:return(t=js(t,e.mode,n)).return=e,t;case T:return f(e,(0,t._init)(t._payload),n)}if(te(t)||A(t))return(t=Ls(t,e.mode,n,null)).return=e,t;Qo(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:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===a?s(e,t,n,r):null;case S:return n.key===a?c(e,t,n,r):null;case T:return p(e,t,(a=n._init)(n._payload),r)}if(te(n)||A(n))return null!==a?null:d(e,t,n,r,null);Qo(e,n)}return null}function m(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return s(t,e=e.get(null===r.key?n:r.key)||null,r,a);case S:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case T:return m(e,t,n,(0,r._init)(r._payload),a)}if(te(r)||A(r))return d(t,e=e.get(n)||null,r,a,null);Qo(t,r)}return null}function g(a,o,l,u){for(var s=null,c=null,d=o,g=o=0,h=null;null!==d&&g<l.length;g++){d.index>g?(h=d,d=null):h=d.sibling;var v=p(a,d,l[g],u);if(null===v){null===d&&(d=h);break}e&&d&&null===v.alternate&&t(a,d),o=i(v,o,g),null===c?s=v:c.sibling=v,c=v,d=h}if(g===l.length)return n(a,d),ao&&Xa(a,g),s;if(null===d){for(;g<l.length;g++)null!==(d=f(a,l[g],u))&&(o=i(d,o,g),null===c?s=d:c.sibling=d,c=d);return ao&&Xa(a,g),s}for(d=r(a,d);g<l.length;g++)null!==(h=m(d,a,g,l[g],u))&&(e&&null!==h.alternate&&d.delete(null===h.key?g:h.key),o=i(h,o,g),null===c?s=h:c.sibling=h,c=h);return e&&d.forEach((function(e){return t(a,e)})),ao&&Xa(a,g),s}function h(a,l,u,s){var c=A(u);if("function"!=typeof c)throw Error(o(150));if(null==(u=c.call(u)))throw Error(o(151));for(var d=c=null,g=l,h=l=0,v=null,b=u.next();null!==g&&!b.done;h++,b=u.next()){g.index>h?(v=g,g=null):v=g.sibling;var y=p(a,g,b.value,s);if(null===y){null===g&&(g=v);break}e&&g&&null===y.alternate&&t(a,g),l=i(y,l,h),null===d?c=y:d.sibling=y,d=y,g=v}if(b.done)return n(a,g),ao&&Xa(a,h),c;if(null===g){for(;!b.done;h++,b=u.next())null!==(b=f(a,b.value,s))&&(l=i(b,l,h),null===d?c=b:d.sibling=b,d=b);return ao&&Xa(a,h),c}for(g=r(a,g);!b.done;h++,b=u.next())null!==(b=m(g,a,h,b.value,s))&&(e&&null!==b.alternate&&g.delete(null===b.key?h:b.key),l=i(b,l,h),null===d?c=b:d.sibling=b,d=b);return e&&g.forEach((function(e){return t(a,e)})),ao&&Xa(a,h),c}return function e(r,o,i,u){if("object"==typeof i&&null!==i&&i.type===k&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case E:e:{for(var s=i.key,c=o;null!==c;){if(c.key===s){if((s=i.type)===k){if(7===c.tag){n(r,c.sibling),(o=a(c,i.props.children)).return=r,r=o;break e}}else if(c.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===T&&Ko(s)===c.type){n(r,c.sibling),(o=a(c,i.props)).ref=$o(r,c,i),o.return=r,r=o;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===k?((o=Ls(i.props.children,r.mode,u,i.key)).return=r,r=o):((u=As(i.type,i.key,i.props,null,r.mode,u)).ref=$o(r,o,i),u.return=r,r=u)}return l(r);case S:e:{for(c=i.key;null!==o;){if(o.key===c){if(4===o.tag&&o.stateNode.containerInfo===i.containerInfo&&o.stateNode.implementation===i.implementation){n(r,o.sibling),(o=a(o,i.children||[])).return=r,r=o;break e}n(r,o);break}t(r,o),o=o.sibling}(o=js(i,r.mode,u)).return=r,r=o}return l(r);case T:return e(r,o,(c=i._init)(i._payload),u)}if(te(i))return g(r,o,i,u);if(A(i))return h(r,o,i,u);Qo(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(n(r,o.sibling),(o=a(o,i)).return=r,r=o):(n(r,o),(o=Fs(i,r.mode,u)).return=r,r=o),l(r)):n(r,o)}}var Yo=Jo(!0),Xo=Jo(!1),Zo={},ei=Ca(Zo),ti=Ca(Zo),ni=Ca(Zo);function ri(e){if(e===Zo)throw Error(o(174));return e}function ai(e,t){switch(Ia(ni,t),Ia(ti,e),Ia(ei,Zo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}xa(ei),Ia(ei,t)}function oi(){xa(ei),xa(ti),xa(ni)}function ii(e){ri(ni.current);var t=ri(ei.current),n=ue(t,e.type);t!==n&&(Ia(ti,e),Ia(ei,n))}function li(e){ti.current===e&&(xa(ei),xa(ti))}var ui=Ca(0);function si(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 ci=[];function di(){for(var e=0;e<ci.length;e++)ci[e]._workInProgressVersionPrimary=null;ci.length=0}var fi=w.ReactCurrentDispatcher,pi=w.ReactCurrentBatchConfig,mi=0,gi=null,hi=null,vi=null,bi=!1,yi=!1,wi=0,Ei=0;function Si(){throw Error(o(321))}function ki(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!lr(e[n],t[n]))return!1;return!0}function Ci(e,t,n,r,a,i){if(mi=i,gi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fi.current=null===e||null===e.memoizedState?ll:ul,e=n(r,a),yi){i=0;do{if(yi=!1,wi=0,25<=i)throw Error(o(301));i+=1,vi=hi=null,t.updateQueue=null,fi.current=sl,e=n(r,a)}while(yi)}if(fi.current=il,t=null!==hi&&null!==hi.next,mi=0,vi=hi=gi=null,bi=!1,t)throw Error(o(300));return e}function xi(){var e=0!==wi;return wi=0,e}function Ii(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===vi?gi.memoizedState=vi=e:vi=vi.next=e,vi}function Oi(){if(null===hi){var e=gi.alternate;e=null!==e?e.memoizedState:null}else e=hi.next;var t=null===vi?gi.memoizedState:vi.next;if(null!==t)vi=t,hi=e;else{if(null===e)throw Error(o(310));e={memoizedState:(hi=e).memoizedState,baseState:hi.baseState,baseQueue:hi.baseQueue,queue:hi.queue,next:null},null===vi?gi.memoizedState=vi=e:vi=vi.next=e}return vi}function Pi(e,t){return"function"==typeof t?t(e):t}function Di(e){var t=Oi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=hi,a=r.baseQueue,i=n.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}r.baseQueue=a=i,n.pending=null}if(null!==a){i=a.next,r=r.baseState;var u=l=null,s=null,c=i;do{var d=c.lane;if((mi&d)===d)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(u=s=f,l=r):s=s.next=f,gi.lanes|=d,Bu|=d}c=c.next}while(null!==c&&c!==i);null===s?l=r:s.next=u,lr(r,t.memoizedState)||(wl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){a=e;do{i=a.lane,gi.lanes|=i,Bu|=i,a=a.next}while(a!==e)}else null===a&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Ni(e){var t=Oi(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var r=n.dispatch,a=n.pending,i=t.memoizedState;if(null!==a){n.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);lr(i,t.memoizedState)||(wl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ri(){}function Ti(e,t){var n=gi,r=Oi(),a=t(),i=!lr(r.memoizedState,a);if(i&&(r.memoizedState=a,wl=!0),r=r.queue,Hi(Ai.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==vi&&1&vi.memoizedState.tag){if(n.flags|=2048,ji(9,Mi.bind(null,n,r,a,t),void 0,null),null===Nu)throw Error(o(349));0!=(30&mi)||_i(n,t,a)}return a}function _i(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=gi.updateQueue)?(t={lastEffect:null,stores:null},gi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Mi(e,t,n,r){t.value=n,t.getSnapshot=r,Li(t)&&Bi(e)}function Ai(e,t,n){return n((function(){Li(t)&&Bi(e)}))}function Li(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!lr(e,n)}catch(e){return!0}}function Bi(e){var t=No(e,1);null!==t&&rs(t,e,1,-1)}function Fi(e){var t=Ii();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Pi,lastRenderedState:e},t.queue=e,e=e.dispatch=nl.bind(null,gi,e),[t.memoizedState,e]}function ji(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=gi.updateQueue)?(t={lastEffect:null,stores:null},gi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function zi(){return Oi().memoizedState}function Ui(e,t,n,r){var a=Ii();gi.flags|=e,a.memoizedState=ji(1|t,n,void 0,void 0===r?null:r)}function Wi(e,t,n,r){var a=Oi();r=void 0===r?null:r;var o=void 0;if(null!==hi){var i=hi.memoizedState;if(o=i.destroy,null!==r&&ki(r,i.deps))return void(a.memoizedState=ji(t,n,o,r))}gi.flags|=e,a.memoizedState=ji(1|t,n,o,r)}function Gi(e,t){return Ui(8390656,8,e,t)}function Hi(e,t){return Wi(2048,8,e,t)}function Vi(e,t){return Wi(4,2,e,t)}function qi(e,t){return Wi(4,4,e,t)}function $i(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Qi(e,t,n){return n=null!=n?n.concat([e]):null,Wi(4,4,$i.bind(null,t,e),n)}function Ki(){}function Ji(e,t){var n=Oi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ki(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=Oi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&ki(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Xi(e,t,n){return 0==(21&mi)?(e.baseState&&(e.baseState=!1,wl=!0),e.memoizedState=n):(lr(n,t)||(n=gt(),gi.lanes|=n,Bu|=n,e.baseState=!0),t)}function Zi(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=pi.transition;pi.transition={};try{e(!1),t()}finally{yt=n,pi.transition=r}}function el(){return Oi().memoizedState}function tl(e,t,n){var r=ns(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rl(e)?al(t,n):null!==(n=Do(e,t,n,r))&&(rs(n,e,r,ts()),ol(n,t,r))}function nl(e,t,n){var r=ns(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rl(e))al(t,a);else{var o=e.alternate;if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=o(i,n);if(a.hasEagerState=!0,a.eagerState=l,lr(l,i)){var u=t.interleaved;return null===u?(a.next=a,Po(t)):(a.next=u.next,u.next=a),void(t.interleaved=a)}}catch(e){}null!==(n=Do(e,t,a,r))&&(rs(n,e,r,a=ts()),ol(n,t,r))}}function rl(e){var t=e.alternate;return e===gi||null!==t&&t===gi}function al(e,t){yi=bi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function ol(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var il={readContext:Io,useCallback:Si,useContext:Si,useEffect:Si,useImperativeHandle:Si,useInsertionEffect:Si,useLayoutEffect:Si,useMemo:Si,useReducer:Si,useRef:Si,useState:Si,useDebugValue:Si,useDeferredValue:Si,useTransition:Si,useMutableSource:Si,useSyncExternalStore:Si,useId:Si,unstable_isNewReconciler:!1},ll={readContext:Io,useCallback:function(e,t){return Ii().memoizedState=[e,void 0===t?null:t],e},useContext:Io,useEffect:Gi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ui(4194308,4,$i.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ui(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ui(4,2,e,t)},useMemo:function(e,t){var n=Ii();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Ii();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=tl.bind(null,gi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Ii().memoizedState=e},useState:Fi,useDebugValue:Ki,useDeferredValue:function(e){return Ii().memoizedState=e},useTransition:function(){var e=Fi(!1),t=e[0];return e=Zi.bind(null,e[1]),Ii().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=gi,a=Ii();if(ao){if(void 0===n)throw Error(o(407));n=n()}else{if(n=t(),null===Nu)throw Error(o(349));0!=(30&mi)||_i(r,t,n)}a.memoizedState=n;var i={value:n,getSnapshot:t};return a.queue=i,Gi(Ai.bind(null,r,i,e),[e]),r.flags|=2048,ji(9,Mi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Ii(),t=Nu.identifierPrefix;if(ao){var n=Ya;t=":"+t+"R"+(n=(Ja&~(1<<32-it(Ja)-1)).toString(32)+n),0<(n=wi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Ei++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ul={readContext:Io,useCallback:Ji,useContext:Io,useEffect:Hi,useImperativeHandle:Qi,useInsertionEffect:Vi,useLayoutEffect:qi,useMemo:Yi,useReducer:Di,useRef:zi,useState:function(){return Di(Pi)},useDebugValue:Ki,useDeferredValue:function(e){return Xi(Oi(),hi.memoizedState,e)},useTransition:function(){return[Di(Pi)[0],Oi().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ti,useId:el,unstable_isNewReconciler:!1},sl={readContext:Io,useCallback:Ji,useContext:Io,useEffect:Hi,useImperativeHandle:Qi,useInsertionEffect:Vi,useLayoutEffect:qi,useMemo:Yi,useReducer:Ni,useRef:zi,useState:function(){return Ni(Pi)},useDebugValue:Ki,useDeferredValue:function(e){var t=Oi();return null===hi?t.memoizedState=e:Xi(t,hi.memoizedState,e)},useTransition:function(){return[Ni(Pi)[0],Oi().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ti,useId:el,unstable_isNewReconciler:!1};function cl(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var a=n}catch(e){a="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:a,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var pl="function"==typeof WeakMap?WeakMap:Map;function ml(e,t,n){(n=Mo(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Vu||(Vu=!0,qu=r),fl(0,t)},n}function gl(e,t,n){(n=Mo(-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(){fl(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){fl(0,t),"function"!=typeof r&&(null===$u?$u=new Set([this]):$u.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function hl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new pl;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=Is.bind(null,e,t,n),t.then(e,e))}function vl(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 bl(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=Mo(-1,1)).tag=2,Ao(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var yl=w.ReactCurrentOwner,wl=!1;function El(e,t,n,r){t.child=null===e?Xo(t,null,n,r):Yo(t,e.child,n,r)}function Sl(e,t,n,r,a){n=n.render;var o=t.ref;return xo(t,a),r=Ci(e,t,n,r,o,a),n=xi(),null===e||wl?(ao&&n&&eo(t),t.flags|=1,El(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vl(e,t,a))}function kl(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||_s(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=As(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Cl(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(i,r)&&e.ref===t.ref)return Vl(e,t,a)}return t.flags|=1,(e=Ms(o,r)).ref=t.ref,e.return=t,t.child=e}function Cl(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(ur(o,r)&&e.ref===t.ref){if(wl=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,Vl(e,t,a);0!=(131072&e.flags)&&(wl=!0)}}return Ol(e,t,n,r,a)}function xl(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},Ia(Mu,_u),_u|=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,Ia(Mu,_u),_u|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,Ia(Mu,_u),_u|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,Ia(Mu,_u),_u|=r;return El(e,t,a,n),t.child}function Il(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ol(e,t,n,r,a){var o=Ta(n)?Na:Pa.current;return o=Ra(t,o),xo(t,a),n=Ci(e,t,n,r,o,a),r=xi(),null===e||wl?(ao&&r&&eo(t),t.flags|=1,El(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,Vl(e,t,a))}function Pl(e,t,n,r,a){if(Ta(n)){var o=!0;La(t)}else o=!1;if(xo(t,a),null===t.stateNode)Hl(e,t),Ho(t,n,r),qo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;s="object"==typeof s&&null!==s?Io(s):Ra(t,s=Ta(n)?Na:Pa.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&Vo(t,i,r,s),Ro=!1;var f=t.memoizedState;i.state=f,Fo(t,r,i,a),u=t.memoizedState,l!==r||f!==u||Da.current||Ro?("function"==typeof c&&(Uo(t,n,c,r),u=t.memoizedState),(l=Ro||Go(t,n,l,r,f,u,s))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,_o(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:vo(t.type,l),i.props=s,d=t.pendingProps,f=i.context,u="object"==typeof(u=n.contextType)&&null!==u?Io(u):Ra(t,u=Ta(n)?Na:Pa.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==d||f!==u)&&Vo(t,i,r,u),Ro=!1,f=t.memoizedState,i.state=f,Fo(t,r,i,a);var m=t.memoizedState;l!==d||f!==m||Da.current||Ro?("function"==typeof p&&(Uo(t,n,p,r),m=t.memoizedState),(s=Ro||Go(t,n,s,r,f,m,u)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,u)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=u,r=s):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Dl(e,t,n,r,o,a)}function Dl(e,t,n,r,a,o){Il(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&Ba(t,n,!1),Vl(e,t,o);r=t.stateNode,yl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Yo(t,e.child,null,o),t.child=Yo(t,null,l,o)):El(e,t,l,o),t.memoizedState=r.state,a&&Ba(t,n,!0),t.child}function Nl(e){var t=e.stateNode;t.pendingContext?Ma(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Ma(0,t.context,!1),ai(e,t.containerInfo)}function Rl(e,t,n,r,a){return mo(),go(a),t.flags|=256,El(e,t,n,r),t.child}var Tl,_l,Ml,Al,Ll={dehydrated:null,treeContext:null,retryLane:0};function Bl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fl(e,t,n){var r,a=t.pendingProps,i=ui.current,l=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Ia(ui,1&i),null===e)return so(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=a.children,e=a.fallback,l?(a=t.mode,l=t.child,u={mode:"hidden",children:u},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=u):l=Bs(u,a,0,null),e=Ls(e,a,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Bl(n),t.memoizedState=Ll,e):jl(t,u));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,a,i,l){if(n)return 256&t.flags?(t.flags&=-257,zl(e,t,l,r=dl(Error(o(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,a=t.mode,r=Bs({mode:"visible",children:r.children},a,0,null),(i=Ls(i,a,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Yo(t,e.child,null,l),t.child.memoizedState=Bl(l),t.memoizedState=Ll,i);if(0==(1&t.mode))return zl(e,t,l,null);if("$!"===a.data){if(r=a.nextSibling&&a.nextSibling.dataset)var u=r.dgst;return r=u,zl(e,t,l,r=dl(i=Error(o(419)),r,void 0))}if(u=0!=(l&e.childLanes),wl||u){if(null!==(r=Nu)){switch(l&-l){case 4:a=2;break;case 16:a=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:a=32;break;case 536870912:a=268435456;break;default:a=0}0!==(a=0!=(a&(r.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,No(e,a),rs(r,e,a,-1))}return hs(),zl(e,t,l,r=dl(Error(o(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=Ps.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ro=sa(a.nextSibling),no=t,ao=!0,oo=null,null!==e&&($a[Qa++]=Ja,$a[Qa++]=Ya,$a[Qa++]=Ka,Ja=e.id,Ya=e.overflow,Ka=t),(t=jl(t,r.children)).flags|=4096,t)}(e,t,u,a,r,i,n);if(l){l=a.fallback,u=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:a.children};return 0==(1&u)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=s,t.deletions=null):(a=Ms(i,s)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Ms(r,l):(l=Ls(l,u,n,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,u=null===(u=e.child.memoizedState)?Bl(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},l.memoizedState=u,l.childLanes=e.childLanes&~n,t.memoizedState=Ll,a}return e=(l=e.child).sibling,a=Ms(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=n),a.return=t,a.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=a,t.memoizedState=null,a}function jl(e,t){return(t=Bs({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function zl(e,t,n,r){return null!==r&&go(r),Yo(t,e.child,null,n),(e=jl(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ul(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Co(e.return,t,n)}function Wl(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 Gl(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(El(e,t,r.children,n),0!=(2&(r=ui.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&&Ul(e,n,t);else if(19===e.tag)Ul(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(Ia(ui,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===si(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),Wl(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===si(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}Wl(t,!0,n,null,o);break;case"together":Wl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Hl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vl(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Bu|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Ms(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ms(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function ql(e,t){if(!ao)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function $l(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 Ql(e,t,n){var r=t.pendingProps;switch(to(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return $l(t),null;case 1:case 17:return Ta(t.type)&&_a(),$l(t),null;case 3:return r=t.stateNode,oi(),xa(Da),xa(Pa),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fo(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==oo&&(ls(oo),oo=null))),_l(e,t),$l(t),null;case 5:li(t);var a=ri(ni.current);if(n=t.type,null!==e&&null!=t.stateNode)Ml(e,t,n,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(o(166));return $l(t),null}if(e=ri(ei.current),fo(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[fa]=t,r[pa]=i,e=0!=(1&t.mode),n){case"dialog":jr("cancel",r),jr("close",r);break;case"iframe":case"object":case"embed":jr("load",r);break;case"video":case"audio":for(a=0;a<Ar.length;a++)jr(Ar[a],r);break;case"source":jr("error",r);break;case"img":case"image":case"link":jr("error",r),jr("load",r);break;case"details":jr("toggle",r);break;case"input":J(r,i),jr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},jr("invalid",r);break;case"textarea":ae(r,i),jr("invalid",r)}for(var u in be(n,i),a=null,i)if(i.hasOwnProperty(u)){var s=i[u];"children"===u?"string"==typeof s?r.textContent!==s&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,s,e),a=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(!0!==i.suppressHydrationWarning&&Xr(r.textContent,s,e),a=["children",""+s]):l.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&jr("scroll",r)}switch(n){case"input":q(r),Z(r,i,!0);break;case"textarea":q(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=Zr)}r=a,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===a.nodeType?a:a.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[fa]=t,e[pa]=r,Tl(e,t,!1,!1),t.stateNode=e;e:{switch(u=ye(n,r),n){case"dialog":jr("cancel",e),jr("close",e),a=r;break;case"iframe":case"object":case"embed":jr("load",e),a=r;break;case"video":case"audio":for(a=0;a<Ar.length;a++)jr(Ar[a],e);a=r;break;case"source":jr("error",e),a=r;break;case"img":case"image":case"link":jr("error",e),jr("load",e),a=r;break;case"details":jr("toggle",e),a=r;break;case"input":J(e,r),a=K(e,r),jr("invalid",e);break;case"option":default:a=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},a=B({},r,{value:void 0}),jr("invalid",e);break;case"textarea":ae(e,r),a=re(e,r),jr("invalid",e)}for(i in be(n,a),s=a)if(s.hasOwnProperty(i)){var c=s[i];"style"===i?he(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&jr("scroll",e):null!=c&&y(e,i,c,u))}switch(n){case"input":q(e),Z(e,r,!1);break;case"textarea":q(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+H(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof a.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return $l(t),null;case 6:if(e&&null!=t.stateNode)Al(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(o(166));if(n=ri(ni.current),ri(ei.current),fo(t)){if(r=t.stateNode,n=t.memoizedProps,r[fa]=t,(i=r.nodeValue!==n)&&null!==(e=no))switch(e.tag){case 3:Xr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fa]=t,t.stateNode=r}return $l(t),null;case 13:if(xa(ui),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ao&&null!==ro&&0!=(1&t.mode)&&0==(128&t.flags))po(),mo(),t.flags|=98560,i=!1;else if(i=fo(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(o(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(o(317));i[fa]=t}else mo(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;$l(t),i=!1}else null!==oo&&(ls(oo),oo=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ui.current)?0===Au&&(Au=3):hs())),null!==t.updateQueue&&(t.flags|=4),$l(t),null);case 4:return oi(),_l(e,t),null===e&&Wr(t.stateNode.containerInfo),$l(t),null;case 10:return ko(t.type._context),$l(t),null;case 19:if(xa(ui),null===(i=t.memoizedState))return $l(t),null;if(r=0!=(128&t.flags),null===(u=i.rendering))if(r)ql(i,!1);else{if(0!==Au||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=si(e))){for(t.flags|=128,ql(i,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(u=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=u.childLanes,i.lanes=u.lanes,i.child=u.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,i.type=u.type,e=u.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ia(ui,1&ui.current|2),t.child}e=e.sibling}null!==i.tail&&Ye()>Gu&&(t.flags|=128,r=!0,ql(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=si(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),ql(i,!0),null===i.tail&&"hidden"===i.tailMode&&!u.alternate&&!ao)return $l(t),null}else 2*Ye()-i.renderingStartTime>Gu&&1073741824!==n&&(t.flags|=128,r=!0,ql(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=i.last)?n.sibling=u:t.child=u,i.last=u)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ye(),t.sibling=null,n=ui.current,Ia(ui,r?1&n|2:1&n),t):($l(t),null);case 22:case 23:return fs(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&_u)&&($l(t),6&t.subtreeFlags&&(t.flags|=8192)):$l(t),null;case 24:case 25:return null}throw Error(o(156,t.tag))}function Kl(e,t){switch(to(t),t.tag){case 1:return Ta(t.type)&&_a(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return oi(),xa(Da),xa(Pa),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return li(t),null;case 13:if(xa(ui),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(o(340));mo()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return xa(ui),null;case 4:return oi(),null;case 10:return ko(t.type._context),null;case 22:case 23:return fs(),null;default:return null}}Tl=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}},_l=function(){},Ml=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ri(ei.current);var o,i=null;switch(n){case"input":a=K(e,a),r=K(e,r),i=[];break;case"select":a=B({},a,{value:void 0}),r=B({},r,{value:void 0}),i=[];break;case"textarea":a=re(e,a),r=re(e,r),i=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in be(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var u=a[c];for(o in u)u.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(o in u)!u.hasOwnProperty(o)||s&&s.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in s)s.hasOwnProperty(o)&&u[o]!==s[o]&&(n||(n={}),n[o]=s[o])}else n||(i||(i=[]),i.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(i=i||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&jr("scroll",e),i||u===s||(i=[])):(i=i||[]).push(c,s))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Al=function(e,t,n,r){n!==r&&(t.flags|=4)};var Jl=!1,Yl=!1,Xl="function"==typeof WeakSet?WeakSet:Set,Zl=null;function eu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){xs(e,t,n)}else n.current=null}function tu(e,t,n){try{n()}catch(n){xs(e,t,n)}}var nu=!1;function ru(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&&tu(t,n,o)}a=a.next}while(a!==r)}}function au(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function ou(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function iu(e){var t=e.alternate;null!==t&&(e.alternate=null,iu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[fa],delete t[pa],delete t[ga],delete t[ha],delete t[va]),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 lu(e){return 5===e.tag||3===e.tag||4===e.tag}function uu(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||lu(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 su(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(su(e,t,n),e=e.sibling;null!==e;)su(e,t,n),e=e.sibling}function cu(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(cu(e,t,n),e=e.sibling;null!==e;)cu(e,t,n),e=e.sibling}var du=null,fu=!1;function pu(e,t,n){for(n=n.child;null!==n;)mu(e,t,n),n=n.sibling}function mu(e,t,n){if(ot&&"function"==typeof ot.onCommitFiberUnmount)try{ot.onCommitFiberUnmount(at,n)}catch(e){}switch(n.tag){case 5:Yl||eu(n,t);case 6:var r=du,a=fu;du=null,pu(e,t,n),fu=a,null!==(du=r)&&(fu?(e=du,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):du.removeChild(n.stateNode));break;case 18:null!==du&&(fu?(e=du,n=n.stateNode,8===e.nodeType?ua(e.parentNode,n):1===e.nodeType&&ua(e,n),Wt(e)):ua(du,n.stateNode));break;case 4:r=du,a=fu,du=n.stateNode.containerInfo,fu=!0,pu(e,t,n),du=r,fu=a;break;case 0:case 11:case 14:case 15:if(!Yl&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){a=r=r.next;do{var o=a,i=o.destroy;o=o.tag,void 0!==i&&(0!=(2&o)||0!=(4&o))&&tu(n,t,i),a=a.next}while(a!==r)}pu(e,t,n);break;case 1:if(!Yl&&(eu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){xs(n,t,e)}pu(e,t,n);break;case 21:pu(e,t,n);break;case 22:1&n.mode?(Yl=(r=Yl)||null!==n.memoizedState,pu(e,t,n),Yl=r):pu(e,t,n);break;default:pu(e,t,n)}}function gu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Xl),t.forEach((function(t){var r=Ds.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function hu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var a=n[r];try{var i=e,l=t,u=l;e:for(;null!==u;){switch(u.tag){case 5:du=u.stateNode,fu=!1;break e;case 3:case 4:du=u.stateNode.containerInfo,fu=!0;break e}u=u.return}if(null===du)throw Error(o(160));mu(i,l,a),du=null,fu=!1;var s=a.alternate;null!==s&&(s.return=null),a.return=null}catch(e){xs(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vu(t,e),t=t.sibling}function vu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hu(t,e),bu(e),4&r){try{ru(3,e,e.return),au(3,e)}catch(t){xs(e,e.return,t)}try{ru(5,e,e.return)}catch(t){xs(e,e.return,t)}}break;case 1:hu(t,e),bu(e),512&r&&null!==n&&eu(n,n.return);break;case 5:if(hu(t,e),bu(e),512&r&&null!==n&&eu(n,n.return),32&e.flags){var a=e.stateNode;try{fe(a,"")}catch(t){xs(e,e.return,t)}}if(4&r&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,u=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===u&&"radio"===i.type&&null!=i.name&&Y(a,i),ye(u,l);var c=ye(u,i);for(l=0;l<s.length;l+=2){var d=s[l],f=s[l+1];"style"===d?he(a,f):"dangerouslySetInnerHTML"===d?de(a,f):"children"===d?fe(a,f):y(a,d,f,c)}switch(u){case"input":X(a,i);break;case"textarea":oe(a,i);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var m=i.value;null!=m?ne(a,!!i.multiple,m,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(a,!!i.multiple,i.defaultValue,!0):ne(a,!!i.multiple,i.multiple?[]:"",!1))}a[pa]=i}catch(t){xs(e,e.return,t)}}break;case 6:if(hu(t,e),bu(e),4&r){if(null===e.stateNode)throw Error(o(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(t){xs(e,e.return,t)}}break;case 3:if(hu(t,e),bu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Wt(t.containerInfo)}catch(t){xs(e,e.return,t)}break;case 4:default:hu(t,e),bu(e);break;case 13:hu(t,e),bu(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Wu=Ye())),4&r&&gu(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Yl=(c=Yl)||d,hu(t,e),Yl=c):hu(t,e),bu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Zl=e,d=e.child;null!==d;){for(f=Zl=d;null!==Zl;){switch(m=(p=Zl).child,p.tag){case 0:case 11:case 14:case 15:ru(4,p,p.return);break;case 1:eu(p,p.return);var g=p.stateNode;if("function"==typeof g.componentWillUnmount){r=p,n=p.return;try{t=r,g.props=t.memoizedProps,g.state=t.memoizedState,g.componentWillUnmount()}catch(e){xs(r,n,e)}}break;case 5:eu(p,p.return);break;case 22:if(null!==p.memoizedState){Su(f);continue}}null!==m?(m.return=p,Zl=m):Su(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{a=f.stateNode,c?"function"==typeof(i=a.style).setProperty?i.setProperty("display","none","important"):i.display="none":(u=f.stateNode,l=null!=(s=f.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,u.style.display=ge("display",l))}catch(t){xs(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){xs(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:hu(t,e),bu(e),4&r&&gu(e);case 21:}}function bu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(lu(n)){var r=n;break e}n=n.return}throw Error(o(160))}switch(r.tag){case 5:var a=r.stateNode;32&r.flags&&(fe(a,""),r.flags&=-33),cu(e,uu(e),a);break;case 3:case 4:var i=r.stateNode.containerInfo;su(e,uu(e),i);break;default:throw Error(o(161))}}catch(t){xs(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yu(e,t,n){Zl=e,wu(e,t,n)}function wu(e,t,n){for(var r=0!=(1&e.mode);null!==Zl;){var a=Zl,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||Jl;if(!i){var l=a.alternate,u=null!==l&&null!==l.memoizedState||Yl;l=Jl;var s=Yl;if(Jl=i,(Yl=u)&&!s)for(Zl=a;null!==Zl;)u=(i=Zl).child,22===i.tag&&null!==i.memoizedState?ku(a):null!==u?(u.return=i,Zl=u):ku(a);for(;null!==o;)Zl=o,wu(o,t,n),o=o.sibling;Zl=a,Jl=l,Yl=s}Eu(e)}else 0!=(8772&a.subtreeFlags)&&null!==o?(o.return=a,Zl=o):Eu(e)}}function Eu(e){for(;null!==Zl;){var t=Zl;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Yl||au(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Yl)if(null===n)r.componentDidMount();else{var a=t.elementType===t.type?n.memoizedProps:vo(t.type,n.memoizedProps);r.componentDidUpdate(a,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&jo(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}jo(t,l,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Wt(f)}}}break;default:throw Error(o(163))}Yl||512&t.flags&&ou(t)}catch(e){xs(t,t.return,e)}}if(t===e){Zl=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zl=n;break}Zl=t.return}}function Su(e){for(;null!==Zl;){var t=Zl;if(t===e){Zl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zl=n;break}Zl=t.return}}function ku(e){for(;null!==Zl;){var t=Zl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{au(4,t)}catch(e){xs(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(e){xs(t,a,e)}}var o=t.return;try{ou(t)}catch(e){xs(t,o,e)}break;case 5:var i=t.return;try{ou(t)}catch(e){xs(t,i,e)}}}catch(e){xs(t,t.return,e)}if(t===e){Zl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Zl=l;break}Zl=t.return}}var Cu,xu=Math.ceil,Iu=w.ReactCurrentDispatcher,Ou=w.ReactCurrentOwner,Pu=w.ReactCurrentBatchConfig,Du=0,Nu=null,Ru=null,Tu=0,_u=0,Mu=Ca(0),Au=0,Lu=null,Bu=0,Fu=0,ju=0,zu=null,Uu=null,Wu=0,Gu=1/0,Hu=null,Vu=!1,qu=null,$u=null,Qu=!1,Ku=null,Ju=0,Yu=0,Xu=null,Zu=-1,es=0;function ts(){return 0!=(6&Du)?Ye():-1!==Zu?Zu:Zu=Ye()}function ns(e){return 0==(1&e.mode)?1:0!=(2&Du)&&0!==Tu?Tu&-Tu:null!==ho.transition?(0===es&&(es=gt()),es):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Jt(e.type)}function rs(e,t,n,r){if(50<Yu)throw Yu=0,Xu=null,Error(o(185));vt(e,n,r),0!=(2&Du)&&e===Nu||(e===Nu&&(0==(2&Du)&&(Fu|=n),4===Au&&us(e,Tu)),as(e,r),1===n&&0===Du&&0==(1&t.mode)&&(Gu=Ye()+500,ja&&Wa()))}function as(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,a=e.expirationTimes,o=e.pendingLanes;0<o;){var i=31-it(o),l=1<<i,u=a[i];-1===u?0!=(l&n)&&0==(l&r)||(a[i]=pt(l,t)):u<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=ft(e,e===Nu?Tu:0);if(0===r)null!==n&&Qe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Qe(n),1===t)0===e.tag?function(e){ja=!0,Ua(e)}(ss.bind(null,e)):Ua(ss.bind(null,e)),ia((function(){0==(6&Du)&&Wa()})),n=null;else{switch(wt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ns(n,os.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function os(e,t){if(Zu=-1,es=0,0!=(6&Du))throw Error(o(327));var n=e.callbackNode;if(ks()&&e.callbackNode!==n)return null;var r=ft(e,e===Nu?Tu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=vs(e,r);else{t=r;var a=Du;Du|=2;var i=gs();for(Nu===e&&Tu===t||(Hu=null,Gu=Ye()+500,ps(e,t));;)try{ys();break}catch(t){ms(e,t)}So(),Iu.current=i,Du=a,null!==Ru?t=0:(Nu=null,Tu=0,t=Au)}if(0!==t){if(2===t&&0!==(a=mt(e))&&(r=a,t=is(e,a)),1===t)throw n=Lu,ps(e,0),us(e,r),as(e,Ye()),n;if(6===t)us(e,r);else{if(a=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!lr(o(),a))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(a)&&(2===(t=vs(e,r))&&0!==(i=mt(e))&&(r=i,t=is(e,i)),1===t))throw n=Lu,ps(e,0),us(e,r),as(e,Ye()),n;switch(e.finishedWork=a,e.finishedLanes=r,t){case 0:case 1:throw Error(o(345));case 2:case 5:Ss(e,Uu,Hu);break;case 3:if(us(e,r),(130023424&r)===r&&10<(t=Wu+500-Ye())){if(0!==ft(e,0))break;if(((a=e.suspendedLanes)&r)!==r){ts(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=ra(Ss.bind(null,e,Uu,Hu),t);break}Ss(e,Uu,Hu);break;case 4:if(us(e,r),(4194240&r)===r)break;for(t=e.eventTimes,a=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>a&&(a=l),r&=~i}if(r=a,10<(r=(120>(r=Ye()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xu(r/1960))-r)){e.timeoutHandle=ra(Ss.bind(null,e,Uu,Hu),r);break}Ss(e,Uu,Hu);break;default:throw Error(o(329))}}}return as(e,Ye()),e.callbackNode===n?os.bind(null,e):null}function is(e,t){var n=zu;return e.current.memoizedState.isDehydrated&&(ps(e,t).flags|=256),2!==(e=vs(e,t))&&(t=Uu,Uu=n,null!==t&&ls(t)),e}function ls(e){null===Uu?Uu=e:Uu.push.apply(Uu,e)}function us(e,t){for(t&=~ju,t&=~Fu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function ss(e){if(0!=(6&Du))throw Error(o(327));ks();var t=ft(e,0);if(0==(1&t))return as(e,Ye()),null;var n=vs(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=is(e,r))}if(1===n)throw n=Lu,ps(e,0),us(e,t),as(e,Ye()),n;if(6===n)throw Error(o(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ss(e,Uu,Hu),as(e,Ye()),null}function cs(e,t){var n=Du;Du|=1;try{return e(t)}finally{0===(Du=n)&&(Gu=Ye()+500,ja&&Wa())}}function ds(e){null!==Ku&&0===Ku.tag&&0==(6&Du)&&ks();var t=Du;Du|=1;var n=Pu.transition,r=yt;try{if(Pu.transition=null,yt=1,e)return e()}finally{yt=r,Pu.transition=n,0==(6&(Du=t))&&Wa()}}function fs(){_u=Mu.current,xa(Mu)}function ps(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,aa(n)),null!==Ru)for(n=Ru.return;null!==n;){var r=n;switch(to(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&_a();break;case 3:oi(),xa(Da),xa(Pa),di();break;case 5:li(r);break;case 4:oi();break;case 13:case 19:xa(ui);break;case 10:ko(r.type._context);break;case 22:case 23:fs()}n=n.return}if(Nu=e,Ru=e=Ms(e.current,null),Tu=_u=t,Au=0,Lu=null,ju=Fu=Bu=0,Uu=zu=null,null!==Oo){for(t=0;t<Oo.length;t++)if(null!==(r=(n=Oo[t]).interleaved)){n.interleaved=null;var a=r.next,o=n.pending;if(null!==o){var i=o.next;o.next=a,r.next=i}n.pending=r}Oo=null}return e}function ms(e,t){for(;;){var n=Ru;try{if(So(),fi.current=il,bi){for(var r=gi.memoizedState;null!==r;){var a=r.queue;null!==a&&(a.pending=null),r=r.next}bi=!1}if(mi=0,vi=hi=gi=null,yi=!1,wi=0,Ou.current=null,null===n||null===n.return){Au=1,Lu=t,Ru=null;break}e:{var i=e,l=n.return,u=n,s=t;if(t=Tu,u.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s,d=u,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var m=vl(l);if(null!==m){m.flags&=-257,bl(m,l,u,0,t),1&m.mode&&hl(i,c,t),s=c;var g=(t=m).updateQueue;if(null===g){var h=new Set;h.add(s),t.updateQueue=h}else g.add(s);break e}if(0==(1&t)){hl(i,c,t),hs();break e}s=Error(o(426))}else if(ao&&1&u.mode){var v=vl(l);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),bl(v,l,u,0,t),go(cl(s,u));break e}}i=s=cl(s,u),4!==Au&&(Au=2),null===zu?zu=[i]:zu.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Bo(i,ml(0,s,t));break e;case 1:u=s;var b=i.type,y=i.stateNode;if(0==(128&i.flags)&&("function"==typeof b.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===$u||!$u.has(y)))){i.flags|=65536,t&=-t,i.lanes|=t,Bo(i,gl(i,u,t));break e}}i=i.return}while(null!==i)}Es(n)}catch(e){t=e,Ru===n&&null!==n&&(Ru=n=n.return);continue}break}}function gs(){var e=Iu.current;return Iu.current=il,null===e?il:e}function hs(){0!==Au&&3!==Au&&2!==Au||(Au=4),null===Nu||0==(268435455&Bu)&&0==(268435455&Fu)||us(Nu,Tu)}function vs(e,t){var n=Du;Du|=2;var r=gs();for(Nu===e&&Tu===t||(Hu=null,ps(e,t));;)try{bs();break}catch(t){ms(e,t)}if(So(),Du=n,Iu.current=r,null!==Ru)throw Error(o(261));return Nu=null,Tu=0,Au}function bs(){for(;null!==Ru;)ws(Ru)}function ys(){for(;null!==Ru&&!Ke();)ws(Ru)}function ws(e){var t=Cu(e.alternate,e,_u);e.memoizedProps=e.pendingProps,null===t?Es(e):Ru=t,Ou.current=null}function Es(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Ql(n,t,_u)))return void(Ru=n)}else{if(null!==(n=Kl(n,t)))return n.flags&=32767,void(Ru=n);if(null===e)return Au=6,void(Ru=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ru=t);Ru=t=e}while(null!==t);0===Au&&(Au=5)}function Ss(e,t,n){var r=yt,a=Pu.transition;try{Pu.transition=null,yt=1,function(e,t,n,r){do{ks()}while(null!==Ku);if(0!=(6&Du))throw Error(o(327));n=e.finishedWork;var a=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var a=31-it(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===Nu&&(Ru=Nu=null,Tu=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Qu||(Qu=!0,Ns(tt,(function(){return ks(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Pu.transition,Pu.transition=null;var l=yt;yt=1;var u=Du;Du|=4,Ou.current=null,function(e,t){if(ea=Ht,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var a=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var l=0,u=-1,s=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var m;f!==n||0!==a&&3!==f.nodeType||(u=l+a),f!==i||0!==r&&3!==f.nodeType||(s=l+r),3===f.nodeType&&(l+=f.nodeValue.length),null!==(m=f.firstChild);)p=f,f=m;for(;;){if(f===e)break t;if(p===n&&++c===a&&(u=l),p===i&&++d===r&&(s=l),null!==(m=f.nextSibling))break;p=(f=p).parentNode}f=m}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(ta={focusedElem:e,selectionRange:n},Ht=!1,Zl=t;null!==Zl;)if(e=(t=Zl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Zl=e;else for(;null!==Zl;){t=Zl;try{var g=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!==g){var h=g.memoizedProps,v=g.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?h:vo(t.type,h),v);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(o(163))}}catch(e){xs(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zl=e;break}Zl=t.return}g=nu,nu=!1}(e,n),vu(n,e),mr(ta),Ht=!!ea,ta=ea=null,e.current=n,yu(n,e,a),Je(),Du=u,yt=l,Pu.transition=i}else e.current=n;if(Qu&&(Qu=!1,Ku=e,Ju=a),0===(i=e.pendingLanes)&&($u=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),as(e,Ye()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((a=t[n]).value,{componentStack:a.stack,digest:a.digest});if(Vu)throw Vu=!1,e=qu,qu=null,e;0!=(1&Ju)&&0!==e.tag&&ks(),0!=(1&(i=e.pendingLanes))?e===Xu?Yu++:(Yu=0,Xu=e):Yu=0,Wa()}(e,t,n,r)}finally{Pu.transition=a,yt=r}return null}function ks(){if(null!==Ku){var e=wt(Ju),t=Pu.transition,n=yt;try{if(Pu.transition=null,yt=16>e?16:e,null===Ku)var r=!1;else{if(e=Ku,Ku=null,Ju=0,0!=(6&Du))throw Error(o(331));var a=Du;for(Du|=4,Zl=e.current;null!==Zl;){var i=Zl,l=i.child;if(0!=(16&Zl.flags)){var u=i.deletions;if(null!==u){for(var s=0;s<u.length;s++){var c=u[s];for(Zl=c;null!==Zl;){var d=Zl;switch(d.tag){case 0:case 11:case 15:ru(8,d,i)}var f=d.child;if(null!==f)f.return=d,Zl=f;else for(;null!==Zl;){var p=(d=Zl).sibling,m=d.return;if(iu(d),d===c){Zl=null;break}if(null!==p){p.return=m,Zl=p;break}Zl=m}}}var g=i.alternate;if(null!==g){var h=g.child;if(null!==h){g.child=null;do{var v=h.sibling;h.sibling=null,h=v}while(null!==h)}}Zl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Zl=l;else e:for(;null!==Zl;){if(0!=(2048&(i=Zl).flags))switch(i.tag){case 0:case 11:case 15:ru(9,i,i.return)}var b=i.sibling;if(null!==b){b.return=i.return,Zl=b;break e}Zl=i.return}}var y=e.current;for(Zl=y;null!==Zl;){var w=(l=Zl).child;if(0!=(2064&l.subtreeFlags)&&null!==w)w.return=l,Zl=w;else e:for(l=y;null!==Zl;){if(0!=(2048&(u=Zl).flags))try{switch(u.tag){case 0:case 11:case 15:au(9,u)}}catch(e){xs(u,u.return,e)}if(u===l){Zl=null;break e}var E=u.sibling;if(null!==E){E.return=u.return,Zl=E;break e}Zl=u.return}}if(Du=a,Wa(),ot&&"function"==typeof ot.onPostCommitFiberRoot)try{ot.onPostCommitFiberRoot(at,e)}catch(e){}r=!0}return r}finally{yt=n,Pu.transition=t}}return!1}function Cs(e,t,n){e=Ao(e,t=ml(0,t=cl(n,t),1),1),t=ts(),null!==e&&(vt(e,1,t),as(e,t))}function xs(e,t,n){if(3===e.tag)Cs(e,e,n);else for(;null!==t;){if(3===t.tag){Cs(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===$u||!$u.has(r))){t=Ao(t,e=gl(t,e=cl(n,e),1),1),e=ts(),null!==t&&(vt(t,1,e),as(t,e));break}}t=t.return}}function Is(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ts(),e.pingedLanes|=e.suspendedLanes&n,Nu===e&&(Tu&n)===n&&(4===Au||3===Au&&(130023424&Tu)===Tu&&500>Ye()-Wu?ps(e,0):ju|=n),as(e,t)}function Os(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=ts();null!==(e=No(e,t))&&(vt(e,t,n),as(e,n))}function Ps(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Os(e,n)}function Ds(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,a=e.memoizedState;null!==a&&(n=a.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(o(314))}null!==r&&r.delete(t),Os(e,n)}function Ns(e,t){return $e(e,t)}function Rs(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 Ts(e,t,n,r){return new Rs(e,t,n,r)}function _s(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ms(e,t){var n=e.alternate;return null===n?((n=Ts(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function As(e,t,n,r,a,i){var l=2;if(r=e,"function"==typeof e)_s(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case k:return Ls(n.children,a,i,t);case C:l=8,a|=8;break;case x:return(e=Ts(12,n,t,2|a)).elementType=x,e.lanes=i,e;case D:return(e=Ts(13,n,t,a)).elementType=D,e.lanes=i,e;case N:return(e=Ts(19,n,t,a)).elementType=N,e.lanes=i,e;case _:return Bs(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case I:l=10;break e;case O:l=9;break e;case P:l=11;break e;case R:l=14;break e;case T:l=16,r=null;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Ts(l,n,t,a)).elementType=e,t.type=r,t.lanes=i,t}function Ls(e,t,n,r){return(e=Ts(7,e,r,t)).lanes=n,e}function Bs(e,t,n,r){return(e=Ts(22,e,r,t)).elementType=_,e.lanes=n,e.stateNode={isHidden:!1},e}function Fs(e,t,n){return(e=Ts(6,e,null,t)).lanes=n,e}function js(e,t,n){return(t=Ts(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function zs(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=ht(0),this.expirationTimes=ht(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ht(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Us(e,t,n,r,a,o,i,l,u){return e=new zs(e,t,n,l,u),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Ts(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},To(o),e}function Ws(e){if(!e)return Oa;e:{if(We(e=e._reactInternals)!==e||1!==e.tag)throw Error(o(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ta(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(o(171))}if(1===e.tag){var n=e.type;if(Ta(n))return Aa(e,n,t)}return t}function Gs(e,t,n,r,a,o,i,l,u){return(e=Us(n,r,!0,e,0,o,0,l,u)).context=Ws(null),n=e.current,(o=Mo(r=ts(),a=ns(n))).callback=null!=t?t:null,Ao(n,o,a),e.current.lanes=a,vt(e,a,r),as(e,r),e}function Hs(e,t,n,r){var a=t.current,o=ts(),i=ns(a);return n=Ws(n),null===t.context?t.context=n:t.pendingContext=n,(t=Mo(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ao(a,t,i))&&(rs(e,a,i,o),Lo(e,a,i)),i}function Vs(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function qs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function $s(e,t){qs(e,t),(e=e.alternate)&&qs(e,t)}Cu=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Da.current)wl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return wl=!1,function(e,t,n){switch(t.tag){case 3:Nl(t),mo();break;case 5:ii(t);break;case 1:Ta(t.type)&&La(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;Ia(bo,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ia(ui,1&ui.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Fl(e,t,n):(Ia(ui,1&ui.current),null!==(e=Vl(e,t,n))?e.sibling:null);Ia(ui,1&ui.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Gl(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),Ia(ui,ui.current),r)break;return null;case 22:case 23:return t.lanes=0,xl(e,t,n)}return Vl(e,t,n)}(e,t,n);wl=0!=(131072&e.flags)}else wl=!1,ao&&0!=(1048576&t.flags)&&Za(t,qa,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Hl(e,t),e=t.pendingProps;var a=Ra(t,Pa.current);xo(t,n),a=Ci(null,t,r,e,a,n);var i=xi();return t.flags|=1,"object"==typeof a&&null!==a&&"function"==typeof a.render&&void 0===a.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ta(r)?(i=!0,La(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,To(t),a.updater=Wo,t.stateNode=a,a._reactInternals=t,qo(t,r,e,n),t=Dl(null,t,r,!0,i,n)):(t.tag=0,ao&&i&&eo(t),El(null,t,a,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Hl(e,t),e=t.pendingProps,r=(a=r._init)(r._payload),t.type=r,a=t.tag=function(e){if("function"==typeof e)return _s(e)?1:0;if(null!=e){if((e=e.$$typeof)===P)return 11;if(e===R)return 14}return 2}(r),e=vo(r,e),a){case 0:t=Ol(null,t,r,e,n);break e;case 1:t=Pl(null,t,r,e,n);break e;case 11:t=Sl(null,t,r,e,n);break e;case 14:t=kl(null,t,r,vo(r.type,e),n);break e}throw Error(o(306,r,""))}return t;case 0:return r=t.type,a=t.pendingProps,Ol(e,t,r,a=t.elementType===r?a:vo(r,a),n);case 1:return r=t.type,a=t.pendingProps,Pl(e,t,r,a=t.elementType===r?a:vo(r,a),n);case 3:e:{if(Nl(t),null===e)throw Error(o(387));r=t.pendingProps,a=(i=t.memoizedState).element,_o(e,t),Fo(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Rl(e,t,r,n,a=cl(Error(o(423)),t));break e}if(r!==a){t=Rl(e,t,r,n,a=cl(Error(o(424)),t));break e}for(ro=sa(t.stateNode.containerInfo.firstChild),no=t,ao=!0,oo=null,n=Xo(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(mo(),r===a){t=Vl(e,t,n);break e}El(e,t,r,n)}t=t.child}return t;case 5:return ii(t),null===e&&so(t),r=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,na(r,a)?l=null:null!==i&&na(r,i)&&(t.flags|=32),Il(e,t),El(e,t,l,n),t.child;case 6:return null===e&&so(t),null;case 13:return Fl(e,t,n);case 4:return ai(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Yo(t,null,r,n):El(e,t,r,n),t.child;case 11:return r=t.type,a=t.pendingProps,Sl(e,t,r,a=t.elementType===r?a:vo(r,a),n);case 7:return El(e,t,t.pendingProps,n),t.child;case 8:case 12:return El(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,Ia(bo,r._currentValue),r._currentValue=l,null!==i)if(lr(i.value,l)){if(i.children===a.children&&!Da.current){t=Vl(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var u=i.dependencies;if(null!==u){l=i.child;for(var s=u.firstContext;null!==s;){if(s.context===r){if(1===i.tag){(s=Mo(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?s.next=s:(s.next=d.next,d.next=s),c.pending=s}}i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),Co(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(o(341));l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),Co(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}El(e,t,a.children,n),t=t.child}return t;case 9:return a=t.type,r=t.pendingProps.children,xo(t,n),r=r(a=Io(a)),t.flags|=1,El(e,t,r,n),t.child;case 14:return a=vo(r=t.type,t.pendingProps),kl(e,t,r,a=vo(r.type,a),n);case 15:return Cl(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,a=t.pendingProps,a=t.elementType===r?a:vo(r,a),Hl(e,t),t.tag=1,Ta(r)?(e=!0,La(t)):e=!1,xo(t,n),Ho(t,r,a),qo(t,r,a,n),Dl(null,t,r,!0,e,n);case 19:return Gl(e,t,n);case 22:return xl(e,t,n)}throw Error(o(156,t.tag))};var Qs="function"==typeof reportError?reportError:function(e){console.error(e)};function Ks(e){this._internalRoot=e}function Js(e){this._internalRoot=e}function Ys(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Xs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zs(){}function ec(e,t,n,r,a){var o=n._reactRootContainer;if(o){var i=o;if("function"==typeof a){var l=a;a=function(){var e=Vs(i);l.call(e)}}Hs(t,i,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Vs(i);o.call(e)}}var i=Gs(t,r,e,0,null,!1,0,"",Zs);return e._reactRootContainer=i,e[ma]=i.current,Wr(8===e.nodeType?e.parentNode:e),ds(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=Vs(u);l.call(e)}}var u=Us(e,0,!1,null,0,!1,0,"",Zs);return e._reactRootContainer=u,e[ma]=u.current,Wr(8===e.nodeType?e.parentNode:e),ds((function(){Hs(t,u,n,r)})),u}(n,t,e,a,r);return Vs(i)}Js.prototype.render=Ks.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(o(409));Hs(e,t,null,null)},Js.prototype.unmount=Ks.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ds((function(){Hs(null,e,null,null)})),t[ma]=null}},Js.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<_t.length&&0!==t&&t<_t[n].priority;n++);_t.splice(n,0,e),0===n&&Bt(e)}},Et=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),as(t,Ye()),0==(6&Du)&&(Gu=Ye()+500,Wa()))}break;case 13:ds((function(){var t=No(e,1);if(null!==t){var n=ts();rs(t,e,1,n)}})),$s(e,1)}},St=function(e){if(13===e.tag){var t=No(e,134217728);null!==t&&rs(t,e,134217728,ts()),$s(e,134217728)}},kt=function(e){if(13===e.tag){var t=ns(e),n=No(e,t);null!==n&&rs(n,e,t,ts()),$s(e,t)}},Ct=function(){return yt},xt=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},Se=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var a=Ea(r);if(!a)throw Error(o(90));$(r),X(r,a)}}}break;case"textarea":oe(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Pe=cs,De=ds;var tc={usingClientEntryPoint:!1,Events:[ya,wa,Ea,Ie,Oe,cs]},nc={findFiberByHostInstance:ba,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{at=ac.inject(rc),ot=ac}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Ys(t))throw Error(o(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:S,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Ys(e))throw Error(o(299));var n=!1,r="",a=Qs;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=Us(e,1,!1,null,0,n,0,r,a),e[ma]=t.current,Wr(8===e.nodeType?e.parentNode:e),new Ks(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw e=Object.keys(e).join(","),Error(o(268,e))}return null===(e=Ve(t))?null:e.stateNode},t.flushSync=function(e){return ds(e)},t.hydrate=function(e,t,n){if(!Xs(t))throw Error(o(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Ys(e))throw Error(o(405));var r=null!=n&&n.hydratedSources||null,a=!1,i="",l=Qs;if(null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Gs(t,null,e,1,null!=n?n:null,a,0,i,l),e[ma]=t.current,Wr(e),r)for(e=0;e<r.length;e++)a=(a=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,a]:t.mutableSourceEagerHydrationData.push(n,a);return new Js(t)},t.render=function(e,t,n){if(!Xs(t))throw Error(o(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Xs(e))throw Error(o(40));return!!e._reactRootContainer&&(ds((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[ma]=null}))})),!0)},t.unstable_batchedUpdates=cs,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Xs(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(448)},921:(e,t)=>{"use strict";var n=60103,r=60106,a=60107,o=60108,i=60114,l=60109,u=60110,s=60112,c=60113,d=60120,f=60115,p=60116;if("function"==typeof Symbol&&Symbol.for){var m=Symbol.for;n=m("react.element"),r=m("react.portal"),a=m("react.fragment"),o=m("react.strict_mode"),i=m("react.profiler"),l=m("react.provider"),u=m("react.context"),s=m("react.forward_ref"),c=m("react.suspense"),d=m("react.suspense_list"),f=m("react.memo"),p=m("react.lazy"),m("react.block"),m("react.server.block"),m("react.fundamental"),m("react.debug_trace_mode"),m("react.legacy_hidden")}t.isContextConsumer=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case a:case i:case o:case c:case d:return e;default:switch(e=e&&e.$$typeof){case u:case s:case p:case f:case l:return e;default:return t}}case r:return t}}}(e)===u}},864:(e,t,n)=>{"use strict";e.exports=n(921)},408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator,m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,h={};function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||m}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||m}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var w=y.prototype=new b;w.constructor=y,g(w,v.prototype),w.isPureReactComponent=!0;var E=Array.isArray,S=Object.prototype.hasOwnProperty,k={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,r){var a,o={},i=null,l=null;if(null!=t)for(a in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)S.call(t,a)&&!C.hasOwnProperty(a)&&(o[a]=t[a]);var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}if(e&&e.defaultProps)for(a in u=e.defaultProps)void 0===o[a]&&(o[a]=u[a]);return{$$typeof:n,type:e,key:i,ref:l,props:o,_owner:k.current}}function I(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var O=/\/+/g;function P(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 D(e,t,a,o,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var u=!1;if(null===e)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return i=i(u=e),e=""===o?"."+P(u,0):o,E(i)?(a="",null!=e&&(a=e.replace(O,"$&/")+"/"),D(i,t,a,"",(function(e){return e}))):null!=i&&(I(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,a+(!i.key||u&&u.key===i.key?"":(""+i.key).replace(O,"$&/")+"/")+e)),t.push(i)),1;if(u=0,o=""===o?".":o+":",E(e))for(var s=0;s<e.length;s++){var c=o+P(l=e[s],s);u+=D(l,t,a,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),s=0;!(l=e.next()).done;)u+=D(l=l.value,t,a,c=o+P(l,s++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function N(e,t,n){if(null==e)return e;var r=[],a=0;return D(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 T={current:null},_={transition:null},M={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:_,ReactCurrentOwner:k};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!I(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=a,t.Profiler=i,t.PureComponent=y,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var a=g({},e.props),o=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=k.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)S.call(t,s)&&!C.hasOwnProperty(s)&&(a[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}return{$$typeof:n,type:e.type,key:o,ref:i,props:a,_owner:l}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=I,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:R}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=_.transition;_.transition={};try{e()}finally{_.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return T.current.useCallback(e,t)},t.useContext=function(e){return T.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return T.current.useDeferredValue(e)},t.useEffect=function(e,t){return T.current.useEffect(e,t)},t.useId=function(){return T.current.useId()},t.useImperativeHandle=function(e,t,n){return T.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return T.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return T.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return T.current.useMemo(e,t)},t.useReducer=function(e,t,n){return T.current.useReducer(e,t,n)},t.useRef=function(e){return T.current.useRef(e)},t.useState=function(e){return T.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return T.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return T.current.useTransition()},t.version="18.2.0"},294:(e,t,n)=>{"use strict";e.exports=n(408)},53:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,a=e[r];if(!(0<o(a,t)))break e;e[r]=t,e[n]=a,n=r}}function r(e){return 0===e.length?null:e[0]}function a(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,u=e[l],s=l+1,c=e[s];if(0>o(u,n))s<a&&0>o(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[l]=n,r=l);else{if(!(s<a&&0>o(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function o(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}var s=[],c=[],d=1,f=null,p=3,m=!1,g=!1,h=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)a(c);else{if(!(t.startTime<=e))break;a(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function E(e){if(h=!1,w(e),!g)if(null!==r(s))g=!0,_(S);else{var t=r(c);null!==t&&M(E,t.startTime-e)}}function S(e,n){g=!1,h&&(h=!1,b(I),I=-1),m=!0;var o=p;try{for(w(n),f=r(s);null!==f&&(!(f.expirationTime>n)||e&&!D());){var i=f.callback;if("function"==typeof i){f.callback=null,p=f.priorityLevel;var l=i(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?f.callback=l:f===r(s)&&a(s),w(n)}else a(s);f=r(s)}if(null!==f)var u=!0;else{var d=r(c);null!==d&&M(E,d.startTime-n),u=!1}return u}finally{f=null,p=o,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var k,C=!1,x=null,I=-1,O=5,P=-1;function D(){return!(t.unstable_now()-P<O)}function N(){if(null!==x){var e=t.unstable_now();P=e;var n=!0;try{n=x(!0,e)}finally{n?k():(C=!1,x=null)}}else C=!1}if("function"==typeof y)k=function(){y(N)};else if("undefined"!=typeof MessageChannel){var R=new MessageChannel,T=R.port2;R.port1.onmessage=N,k=function(){T.postMessage(null)}}else k=function(){v(N,0)};function _(e){x=e,C||(C=!0,k())}function M(e,n){I=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){g||m||(g=!0,_(S))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):O=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(s)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,a,o){var i=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?i+o:i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:d++,callback:a,priorityLevel:e,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>i?(e.sortIndex=o,n(c,e),null===r(s)&&e===r(c)&&(h?(b(I),I=-1):h=!0,M(E,o-i))):(e.sortIndex=l,n(s,e),g||m||(g=!0,_(S))),e},t.unstable_shouldYield=D,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},840:(e,t,n)=>{"use strict";e.exports=n(53)},429:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"NIL",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"stringify",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"v1",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"v3",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(t,"v4",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"v5",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return s.default}}),Object.defineProperty(t,"version",{enumerable:!0,get:function(){return u.default}});var r=f(n(990)),a=f(n(237)),o=f(n(355)),i=f(n(764)),l=f(n(314)),u=f(n(464)),s=f(n(435)),c=f(n(8)),d=f(n(222));function f(e){return e&&e.__esModule?e:{default:e}}},163:(e,t)=>{"use strict";function n(e){return 14+(e+64>>>9<<4)+1}function r(e,t){const n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function a(e,t,n,a,o,i){return r((l=r(r(t,e),r(a,i)))<<(u=o)|l>>>32-u,n);var l,u}function o(e,t,n,r,o,i,l){return a(t&n|~t&r,e,t,o,i,l)}function i(e,t,n,r,o,i,l){return a(t&r|n&~r,e,t,o,i,l)}function l(e,t,n,r,o,i,l){return a(t^n^r,e,t,o,i,l)}function u(e,t,n,r,o,i,l){return a(n^(t|~r),e,t,o,i,l)}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(let n=0;n<t.length;++n)e[n]=t.charCodeAt(n)}return function(e){const t=[],n=32*e.length,r="0123456789abcdef";for(let a=0;a<n;a+=8){const n=e[a>>5]>>>a%32&255,o=parseInt(r.charAt(n>>>4&15)+r.charAt(15&n),16);t.push(o)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[n(t)-1]=t;let a=1732584193,s=-271733879,c=-1732584194,d=271733878;for(let t=0;t<e.length;t+=16){const n=a,f=s,p=c,m=d;a=o(a,s,c,d,e[t],7,-680876936),d=o(d,a,s,c,e[t+1],12,-389564586),c=o(c,d,a,s,e[t+2],17,606105819),s=o(s,c,d,a,e[t+3],22,-1044525330),a=o(a,s,c,d,e[t+4],7,-176418897),d=o(d,a,s,c,e[t+5],12,1200080426),c=o(c,d,a,s,e[t+6],17,-1473231341),s=o(s,c,d,a,e[t+7],22,-45705983),a=o(a,s,c,d,e[t+8],7,1770035416),d=o(d,a,s,c,e[t+9],12,-1958414417),c=o(c,d,a,s,e[t+10],17,-42063),s=o(s,c,d,a,e[t+11],22,-1990404162),a=o(a,s,c,d,e[t+12],7,1804603682),d=o(d,a,s,c,e[t+13],12,-40341101),c=o(c,d,a,s,e[t+14],17,-1502002290),s=o(s,c,d,a,e[t+15],22,1236535329),a=i(a,s,c,d,e[t+1],5,-165796510),d=i(d,a,s,c,e[t+6],9,-1069501632),c=i(c,d,a,s,e[t+11],14,643717713),s=i(s,c,d,a,e[t],20,-373897302),a=i(a,s,c,d,e[t+5],5,-701558691),d=i(d,a,s,c,e[t+10],9,38016083),c=i(c,d,a,s,e[t+15],14,-660478335),s=i(s,c,d,a,e[t+4],20,-405537848),a=i(a,s,c,d,e[t+9],5,568446438),d=i(d,a,s,c,e[t+14],9,-1019803690),c=i(c,d,a,s,e[t+3],14,-187363961),s=i(s,c,d,a,e[t+8],20,1163531501),a=i(a,s,c,d,e[t+13],5,-1444681467),d=i(d,a,s,c,e[t+2],9,-51403784),c=i(c,d,a,s,e[t+7],14,1735328473),s=i(s,c,d,a,e[t+12],20,-1926607734),a=l(a,s,c,d,e[t+5],4,-378558),d=l(d,a,s,c,e[t+8],11,-2022574463),c=l(c,d,a,s,e[t+11],16,1839030562),s=l(s,c,d,a,e[t+14],23,-35309556),a=l(a,s,c,d,e[t+1],4,-1530992060),d=l(d,a,s,c,e[t+4],11,1272893353),c=l(c,d,a,s,e[t+7],16,-155497632),s=l(s,c,d,a,e[t+10],23,-1094730640),a=l(a,s,c,d,e[t+13],4,681279174),d=l(d,a,s,c,e[t],11,-358537222),c=l(c,d,a,s,e[t+3],16,-722521979),s=l(s,c,d,a,e[t+6],23,76029189),a=l(a,s,c,d,e[t+9],4,-640364487),d=l(d,a,s,c,e[t+12],11,-421815835),c=l(c,d,a,s,e[t+15],16,530742520),s=l(s,c,d,a,e[t+2],23,-995338651),a=u(a,s,c,d,e[t],6,-198630844),d=u(d,a,s,c,e[t+7],10,1126891415),c=u(c,d,a,s,e[t+14],15,-1416354905),s=u(s,c,d,a,e[t+5],21,-57434055),a=u(a,s,c,d,e[t+12],6,1700485571),d=u(d,a,s,c,e[t+3],10,-1894986606),c=u(c,d,a,s,e[t+10],15,-1051523),s=u(s,c,d,a,e[t+1],21,-2054922799),a=u(a,s,c,d,e[t+8],6,1873313359),d=u(d,a,s,c,e[t+15],10,-30611744),c=u(c,d,a,s,e[t+6],15,-1560198380),s=u(s,c,d,a,e[t+13],21,1309151649),a=u(a,s,c,d,e[t+4],6,-145523070),d=u(d,a,s,c,e[t+11],10,-1120210379),c=u(c,d,a,s,e[t+2],15,718787259),s=u(s,c,d,a,e[t+9],21,-343485551),a=r(a,n),s=r(s,f),c=r(c,p),d=r(d,m)}return[a,s,c,d]}(function(e){if(0===e.length)return[];const t=8*e.length,r=new Uint32Array(n(t));for(let n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))}},790:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};t.default=n},314:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default="00000000-0000-0000-0000-000000000000"},222:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(435))&&r.__esModule?r:{default:r};t.default=function(e){if(!(0,a.default)(e))throw TypeError("Invalid UUID");let t;const n=new Uint8Array(16);return n[0]=(t=parseInt(e.slice(0,8),16))>>>24,n[1]=t>>>16&255,n[2]=t>>>8&255,n[3]=255&t,n[4]=(t=parseInt(e.slice(9,13),16))>>>8,n[5]=255&t,n[6]=(t=parseInt(e.slice(14,18),16))>>>8,n[7]=255&t,n[8]=(t=parseInt(e.slice(19,23),16))>>>8,n[9]=255&t,n[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,n[11]=t/4294967296&255,n[12]=t>>>24&255,n[13]=t>>>16&255,n[14]=t>>>8&255,n[15]=255&t,n}},58:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i},319:(e,t)=>{"use strict";let n;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){if(!n&&(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!n))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(r)};const r=new Uint8Array(16)},757:(e,t)=>{"use strict";function n(e,t,n,r){switch(e){case 0:return t&n^~t&r;case 1:case 3:return t^n^r;case 2:return t&n^t&r^n&r}}function r(e,t){return e<<t|e>>>32-t}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=function(e){const t=[1518500249,1859775393,2400959708,3395469782],a=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){const t=unescape(encodeURIComponent(e));e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);const o=e.length/4+2,i=Math.ceil(o/16),l=new Array(i);for(let t=0;t<i;++t){const n=new Uint32Array(16);for(let r=0;r<16;++r)n[r]=e[64*t+4*r]<<24|e[64*t+4*r+1]<<16|e[64*t+4*r+2]<<8|e[64*t+4*r+3];l[t]=n}l[i-1][14]=8*(e.length-1)/Math.pow(2,32),l[i-1][14]=Math.floor(l[i-1][14]),l[i-1][15]=8*(e.length-1)&4294967295;for(let e=0;e<i;++e){const o=new Uint32Array(80);for(let t=0;t<16;++t)o[t]=l[e][t];for(let e=16;e<80;++e)o[e]=r(o[e-3]^o[e-8]^o[e-14]^o[e-16],1);let i=a[0],u=a[1],s=a[2],c=a[3],d=a[4];for(let e=0;e<80;++e){const a=Math.floor(e/20),l=r(i,5)+n(a,u,s,c)+d+t[a]+o[e]>>>0;d=c,c=s,s=r(u,30)>>>0,u=i,i=l}a[0]=a[0]+i>>>0,a[1]=a[1]+u>>>0,a[2]=a[2]+s>>>0,a[3]=a[3]+c>>>0,a[4]=a[4]+d>>>0}return[a[0]>>24&255,a[0]>>16&255,a[0]>>8&255,255&a[0],a[1]>>24&255,a[1]>>16&255,a[1]>>8&255,255&a[1],a[2]>>24&255,a[2]>>16&255,a[2]>>8&255,255&a[2],a[3]>>24&255,a[3]>>16&255,a[3]>>8&255,255&a[3],a[4]>>24&255,a[4]>>16&255,a[4]>>8&255,255&a[4]]}},8:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.unsafeStringify=i;var r,a=(r=n(435))&&r.__esModule?r:{default:r};const o=[];for(let e=0;e<256;++e)o.push((e+256).toString(16).slice(1));function i(e,t=0){return(o[e[t+0]]+o[e[t+1]]+o[e[t+2]]+o[e[t+3]]+"-"+o[e[t+4]]+o[e[t+5]]+"-"+o[e[t+6]]+o[e[t+7]]+"-"+o[e[t+8]]+o[e[t+9]]+"-"+o[e[t+10]]+o[e[t+11]]+o[e[t+12]]+o[e[t+13]]+o[e[t+14]]+o[e[t+15]]).toLowerCase()}t.default=function(e,t=0){const n=i(e,t);if(!(0,a.default)(n))throw TypeError("Stringified UUID is invalid");return n}},990:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(319))&&r.__esModule?r:{default:r},o=n(8);let i,l,u=0,s=0;t.default=function(e,t,n){let r=t&&n||0;const c=t||new Array(16);let d=(e=e||{}).node||i,f=void 0!==e.clockseq?e.clockseq:l;if(null==d||null==f){const t=e.random||(e.rng||a.default)();null==d&&(d=i=[1|t[0],t[1],t[2],t[3],t[4],t[5]]),null==f&&(f=l=16383&(t[6]<<8|t[7]))}let p=void 0!==e.msecs?e.msecs:Date.now(),m=void 0!==e.nsecs?e.nsecs:s+1;const g=p-u+(m-s)/1e4;if(g<0&&void 0===e.clockseq&&(f=f+1&16383),(g<0||p>u)&&void 0===e.nsecs&&(m=0),m>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");u=p,s=m,l=f,p+=122192928e5;const h=(1e4*(268435455&p)+m)%4294967296;c[r++]=h>>>24&255,c[r++]=h>>>16&255,c[r++]=h>>>8&255,c[r++]=255&h;const v=p/4294967296*1e4&268435455;c[r++]=v>>>8&255,c[r++]=255&v,c[r++]=v>>>24&15|16,c[r++]=v>>>16&255,c[r++]=f>>>8|128,c[r++]=255&f;for(let e=0;e<6;++e)c[r+e]=d[e];return t||(0,o.unsafeStringify)(c)}},237:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(925)),a=o(n(163));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,r.default)("v3",48,a.default);t.default=i},925:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.URL=t.DNS=void 0,t.default=function(e,t,n){function r(e,r,i,l){var u;if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));const t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));return t}(e)),"string"==typeof r&&(r=(0,o.default)(r)),16!==(null===(u=r)||void 0===u?void 0:u.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let s=new Uint8Array(16+e.length);if(s.set(r),s.set(e,r.length),s=n(s),s[6]=15&s[6]|t,s[8]=63&s[8]|128,i){l=l||0;for(let e=0;e<16;++e)i[l+e]=s[e];return i}return(0,a.unsafeStringify)(s)}try{r.name=e}catch(e){}return r.DNS=i,r.URL=l,r};var r,a=n(8),o=(r=n(222))&&r.__esModule?r:{default:r};const i="6ba7b810-9dad-11d1-80b4-00c04fd430c8";t.DNS=i;const l="6ba7b811-9dad-11d1-80b4-00c04fd430c8";t.URL=l},355:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=i(n(790)),a=i(n(319)),o=n(8);function i(e){return e&&e.__esModule?e:{default:e}}t.default=function(e,t,n){if(r.default.randomUUID&&!t&&!e)return r.default.randomUUID();const i=(e=e||{}).random||(e.rng||a.default)();if(i[6]=15&i[6]|64,i[8]=63&i[8]|128,t){n=n||0;for(let e=0;e<16;++e)t[n+e]=i[e];return t}return(0,o.unsafeStringify)(i)}},764:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=o(n(925)),a=o(n(757));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,r.default)("v5",80,a.default);t.default=i},435:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(58))&&r.__esModule?r:{default:r};t.default=function(e){return"string"==typeof e&&a.default.test(e)}},464:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(435))&&r.__esModule?r:{default:r};t.default=function(e){if(!(0,a.default)(e))throw TypeError("Invalid UUID");return parseInt(e.slice(14,15),16)}},218:(e,t,n)=>{"use strict";function r(e,t){return function(){return e.apply(t,arguments)}}const{toString:a}=Object.prototype,{getPrototypeOf:o}=Object,i=(l=Object.create(null),e=>{const t=a.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const u=e=>(e=e.toLowerCase(),t=>i(t)===e),s=e=>t=>typeof t===e,{isArray:c}=Array,d=s("undefined"),f=u("ArrayBuffer"),p=s("string"),m=s("function"),g=s("number"),h=e=>null!==e&&"object"==typeof e,v=e=>{if("object"!==i(e))return!1;const t=o(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},b=u("Date"),y=u("File"),w=u("Blob"),E=u("FileList"),S=u("URLSearchParams");function k(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,a;if("object"!=typeof e&&(e=[e]),c(e))for(r=0,a=e.length;r<a;r++)t.call(null,e[r],r,e);else{const a=n?Object.getOwnPropertyNames(e):Object.keys(e),o=a.length;let i;for(r=0;r<o;r++)i=a[r],t.call(null,e[i],i,e)}}function C(e,t){t=t.toLowerCase();const n=Object.keys(e);let r,a=n.length;for(;a-- >0;)if(r=n[a],t===r.toLowerCase())return r;return null}const x="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,I=e=>!d(e)&&e!==x,O=(P="undefined"!=typeof Uint8Array&&o(Uint8Array),e=>P&&e instanceof P);var P;const D=u("HTMLFormElement"),N=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),R=u("RegExp"),T=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};k(n,((n,a)=>{!1!==t(n,a,e)&&(r[a]=n)})),Object.defineProperties(e,r)},_="abcdefghijklmnopqrstuvwxyz",M="0123456789",A={DIGIT:M,ALPHA:_,ALPHA_DIGIT:_+_.toUpperCase()+M},L=u("AsyncFunction");var B={isArray:c,isArrayBuffer:f,isBuffer:function(e){return null!==e&&!d(e)&&null!==e.constructor&&!d(e.constructor)&&m(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||m(e.append)&&("formdata"===(t=i(e))||"object"===t&&m(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&f(e.buffer),t},isString:p,isNumber:g,isBoolean:e=>!0===e||!1===e,isObject:h,isPlainObject:v,isUndefined:d,isDate:b,isFile:y,isBlob:w,isRegExp:R,isFunction:m,isStream:e=>h(e)&&m(e.pipe),isURLSearchParams:S,isTypedArray:O,isFileList:E,forEach:k,merge:function e(){const{caseless:t}=I(this)&&this||{},n={},r=(r,a)=>{const o=t&&C(n,a)||a;v(n[o])&&v(r)?n[o]=e(n[o],r):v(r)?n[o]=e({},r):c(r)?n[o]=r.slice():n[o]=r};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&k(arguments[e],r);return n},extend:(e,t,n,{allOwnKeys:a}={})=>(k(t,((t,a)=>{n&&m(t)?e[a]=r(t,n):e[a]=t}),{allOwnKeys:a}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let a,i,l;const u={};if(t=t||{},null==e)return t;do{for(a=Object.getOwnPropertyNames(e),i=a.length;i-- >0;)l=a[i],r&&!r(l,e,t)||u[l]||(t[l]=e[l],u[l]=!0);e=!1!==n&&o(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:i,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(c(e))return e;let t=e.length;if(!g(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:D,hasOwnProperty:N,hasOwnProp:N,reduceDescriptors:T,freezeMethods:e=>{T(e,((t,n)=>{if(m(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];m(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return c(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>(e=+e,Number.isFinite(e)?e:t),findKey:C,global:x,isContextDefined:I,ALPHABET:A,generateString:(e=16,t=A.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&m(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(h(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const a=c(e)?[]:{};return k(e,((e,t)=>{const o=n(e,r+1);!d(o)&&(a[t]=o)})),t[r]=void 0,a}}return e};return n(e,0)},isAsyncFn:L,isThenable:e=>e&&(h(e)||m(e))&&m(e.then)&&m(e.catch)};function F(e,t,n,r,a){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),a&&(this.response=a)}B.inherits(F,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:B.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const j=F.prototype,z={};function U(e){return B.isPlainObject(e)||B.isArray(e)}function W(e){return B.endsWith(e,"[]")?e.slice(0,-2):e}function G(e,t,n){return e?e.concat(t).map((function(e,t){return e=W(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{z[e]={value:e}})),Object.defineProperties(F,z),Object.defineProperty(j,"isAxiosError",{value:!0}),F.from=(e,t,n,r,a,o)=>{const i=Object.create(j);return B.toFlatObject(e,i,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),F.call(i,e.message,t,n,r,a),i.cause=e,i.name=e.name,o&&Object.assign(i,o),i};const H=B.toFlatObject(B,{},null,(function(e){return/^is[A-Z]/.test(e)}));function V(e,t,n){if(!B.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=B.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!B.isUndefined(t[e])}))).metaTokens,a=n.visitor||s,o=n.dots,i=n.indexes,l=(n.Blob||"undefined"!=typeof Blob&&Blob)&&B.isSpecCompliantForm(t);if(!B.isFunction(a))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(B.isDate(e))return e.toISOString();if(!l&&B.isBlob(e))throw new F("Blob is not supported. Use a Buffer instead.");return B.isArrayBuffer(e)||B.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function s(e,n,a){let l=e;if(e&&!a&&"object"==typeof e)if(B.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(B.isArray(e)&&function(e){return B.isArray(e)&&!e.some(U)}(e)||(B.isFileList(e)||B.endsWith(n,"[]"))&&(l=B.toArray(e)))return n=W(n),l.forEach((function(e,r){!B.isUndefined(e)&&null!==e&&t.append(!0===i?G([n],r,o):null===i?n:n+"[]",u(e))})),!1;return!!U(e)||(t.append(G(a,n,o),u(e)),!1)}const c=[],d=Object.assign(H,{defaultVisitor:s,convertValue:u,isVisitable:U});if(!B.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!B.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),B.forEach(n,(function(n,o){!0===(!(B.isUndefined(n)||null===n)&&a.call(t,n,B.isString(o)?o.trim():o,r,d))&&e(n,r?r.concat(o):[o])})),c.pop()}}(e),t}function q(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function $(e,t){this._pairs=[],e&&V(e,this,t)}const Q=$.prototype;function K(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function J(e,t,n){if(!t)return e;const r=n&&n.encode||K,a=n&&n.serialize;let o;if(o=a?a(t,n):B.isURLSearchParams(t)?t.toString():new $(t,n).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}Q.append=function(e,t){this._pairs.push([e,t])},Q.toString=function(e){const t=e?function(t){return e.call(this,t,q)}:q;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};var Y=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){B.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},X={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Z={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:$,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},isStandardBrowserEnv:(()=>{let e;return("undefined"==typeof navigator||"ReactNative"!==(e=navigator.product)&&"NativeScript"!==e&&"NS"!==e)&&"undefined"!=typeof window&&"undefined"!=typeof document})(),isStandardBrowserWebWorkerEnv:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,protocols:["http","https","file","blob","url","data"]};function ee(e){function t(e,n,r,a){let o=e[a++];const i=Number.isFinite(+o),l=a>=e.length;return o=!o&&B.isArray(r)?r.length:o,l?(B.hasOwnProp(r,o)?r[o]=[r[o],n]:r[o]=n,!i):(r[o]&&B.isObject(r[o])||(r[o]=[]),t(e,n,r[o],a)&&B.isArray(r[o])&&(r[o]=function(e){const t={},n=Object.keys(e);let r;const a=n.length;let o;for(r=0;r<a;r++)o=n[r],t[o]=e[o];return t}(r[o])),!i)}if(B.isFormData(e)&&B.isFunction(e.entries)){const n={};return B.forEachEntry(e,((e,r)=>{t(function(e){return B.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null}const te={"Content-Type":void 0},ne={transitional:X,adapter:["xhr","http"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,a=B.isObject(e);if(a&&B.isHTMLForm(e)&&(e=new FormData(e)),B.isFormData(e))return r&&r?JSON.stringify(ee(e)):e;if(B.isArrayBuffer(e)||B.isBuffer(e)||B.isStream(e)||B.isFile(e)||B.isBlob(e))return e;if(B.isArrayBufferView(e))return e.buffer;if(B.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(a){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return V(e,new Z.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return Z.isNode&&B.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((o=B.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return V(o?{"files[]":e}:e,t&&new t,this.formSerializer)}}return a||r?(t.setContentType("application/json",!1),function(e,t,n){if(B.isString(e))try{return(0,JSON.parse)(e),B.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||ne.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(e&&B.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw F.from(e,F.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Z.classes.FormData,Blob:Z.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};B.forEach(["delete","get","head"],(function(e){ne.headers[e]={}})),B.forEach(["post","put","patch"],(function(e){ne.headers[e]=B.merge(te)}));var re=ne;const ae=B.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),oe=Symbol("internals");function ie(e){return e&&String(e).trim().toLowerCase()}function le(e){return!1===e||null==e?e:B.isArray(e)?e.map(le):String(e)}function ue(e,t,n,r,a){return B.isFunction(r)?r.call(this,t,n):(a&&(t=n),B.isString(t)?B.isString(r)?-1!==t.indexOf(r):B.isRegExp(r)?r.test(t):void 0:void 0)}class se{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function a(e,t,n){const a=ie(t);if(!a)throw new Error("header name must be a non-empty string");const o=B.findKey(r,a);(!o||void 0===r[o]||!0===n||void 0===n&&!1!==r[o])&&(r[o||t]=le(e))}const o=(e,t)=>B.forEach(e,((e,n)=>a(e,n,t)));return B.isPlainObject(e)||e instanceof this.constructor?o(e,t):B.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim())?o((e=>{const t={};let n,r,a;return e&&e.split("\n").forEach((function(e){a=e.indexOf(":"),n=e.substring(0,a).trim().toLowerCase(),r=e.substring(a+1).trim(),!n||t[n]&&ae[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t):null!=e&&a(t,e,n),this}get(e,t){if(e=ie(e)){const n=B.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(B.isFunction(t))return t.call(this,e,n);if(B.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=ie(e)){const n=B.findKey(this,e);return!(!n||void 0===this[n]||t&&!ue(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function a(e){if(e=ie(e)){const a=B.findKey(n,e);!a||t&&!ue(0,n[a],a,t)||(delete n[a],r=!0)}}return B.isArray(e)?e.forEach(a):a(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const a=t[n];e&&!ue(0,this[a],a,e,!0)||(delete this[a],r=!0)}return r}normalize(e){const t=this,n={};return B.forEach(this,((r,a)=>{const o=B.findKey(n,a);if(o)return t[o]=le(r),void delete t[a];const i=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(a):String(a).trim();i!==a&&delete t[a],t[i]=le(r),n[i]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return B.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&B.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[oe]=this[oe]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=ie(e);t[r]||(function(e,t){const n=B.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,a){return this[r].call(this,t,e,n,a)},configurable:!0})}))}(n,e),t[r]=!0)}return B.isArray(e)?e.forEach(r):r(e),this}}se.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),B.freezeMethods(se.prototype),B.freezeMethods(se);var ce=se;function de(e,t){const n=this||re,r=t||n,a=ce.from(r.headers);let o=r.data;return B.forEach(e,(function(e){o=e.call(n,o,a.normalize(),t?t.status:void 0)})),a.normalize(),o}function fe(e){return!(!e||!e.__CANCEL__)}function pe(e,t,n){F.call(this,null==e?"canceled":e,F.ERR_CANCELED,t,n),this.name="CanceledError"}B.inherits(pe,F,{__CANCEL__:!0});var me=Z.isStandardBrowserEnv?{write:function(e,t,n,r,a,o){const i=[];i.push(e+"="+encodeURIComponent(t)),B.isNumber(n)&&i.push("expires="+new Date(n).toGMTString()),B.isString(r)&&i.push("path="+r),B.isString(a)&&i.push("domain="+a),!0===o&&i.push("secure"),document.cookie=i.join("; ")},read:function(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function ge(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}var he=Z.isStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=B.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0};function ve(e,t){let n=0;const r=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let a,o=0,i=0;return t=void 0!==t?t:1e3,function(l){const u=Date.now(),s=r[i];a||(a=u),n[o]=l,r[o]=u;let c=i,d=0;for(;c!==o;)d+=n[c++],c%=e;if(o=(o+1)%e,o===i&&(i=(i+1)%e),u-a<t)return;const f=s&&u-s;return f?Math.round(1e3*d/f):void 0}}(50,250);return a=>{const o=a.loaded,i=a.lengthComputable?a.total:void 0,l=o-n,u=r(l);n=o;const s={loaded:o,total:i,progress:i?o/i:void 0,bytes:l,rate:u||void 0,estimated:u&&i&&o<=i?(i-o)/u:void 0,event:a};s[t?"download":"upload"]=!0,e(s)}}const be={http:null,xhr:"undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){let r=e.data;const a=ce.from(e.headers).normalize(),o=e.responseType;let i;function l(){e.cancelToken&&e.cancelToken.unsubscribe(i),e.signal&&e.signal.removeEventListener("abort",i)}B.isFormData(r)&&(Z.isStandardBrowserEnv||Z.isStandardBrowserWebWorkerEnv?a.setContentType(!1):a.setContentType("multipart/form-data;",!1));let u=new XMLHttpRequest;if(e.auth){const t=e.auth.username||"",n=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";a.set("Authorization","Basic "+btoa(t+":"+n))}const s=ge(e.baseURL,e.url);function c(){if(!u)return;const r=ce.from("getAllResponseHeaders"in u&&u.getAllResponseHeaders());!function(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new F("Request failed with status code "+n.status,[F.ERR_BAD_REQUEST,F.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}((function(e){t(e),l()}),(function(e){n(e),l()}),{data:o&&"text"!==o&&"json"!==o?u.response:u.responseText,status:u.status,statusText:u.statusText,headers:r,config:e,request:u}),u=null}if(u.open(e.method.toUpperCase(),J(s,e.params,e.paramsSerializer),!0),u.timeout=e.timeout,"onloadend"in u?u.onloadend=c:u.onreadystatechange=function(){u&&4===u.readyState&&(0!==u.status||u.responseURL&&0===u.responseURL.indexOf("file:"))&&setTimeout(c)},u.onabort=function(){u&&(n(new F("Request aborted",F.ECONNABORTED,e,u)),u=null)},u.onerror=function(){n(new F("Network Error",F.ERR_NETWORK,e,u)),u=null},u.ontimeout=function(){let t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const r=e.transitional||X;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(new F(t,r.clarifyTimeoutError?F.ETIMEDOUT:F.ECONNABORTED,e,u)),u=null},Z.isStandardBrowserEnv){const t=(e.withCredentials||he(s))&&e.xsrfCookieName&&me.read(e.xsrfCookieName);t&&a.set(e.xsrfHeaderName,t)}void 0===r&&a.setContentType(null),"setRequestHeader"in u&&B.forEach(a.toJSON(),(function(e,t){u.setRequestHeader(t,e)})),B.isUndefined(e.withCredentials)||(u.withCredentials=!!e.withCredentials),o&&"json"!==o&&(u.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&u.addEventListener("progress",ve(e.onDownloadProgress,!0)),"function"==typeof e.onUploadProgress&&u.upload&&u.upload.addEventListener("progress",ve(e.onUploadProgress)),(e.cancelToken||e.signal)&&(i=t=>{u&&(n(!t||t.type?new pe(null,e,u):t),u.abort(),u=null)},e.cancelToken&&e.cancelToken.subscribe(i),e.signal&&(e.signal.aborted?i():e.signal.addEventListener("abort",i)));const d=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(s);d&&-1===Z.protocols.indexOf(d)?n(new F("Unsupported protocol "+d+":",F.ERR_BAD_REQUEST,e)):u.send(r||null)}))}};B.forEach(be,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));function ye(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new pe(null,e)}function we(e){return ye(e),e.headers=ce.from(e.headers),e.data=de.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),(e=>{e=B.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let a=0;a<t&&(n=e[a],!(r=B.isString(n)?be[n.toLowerCase()]:n));a++);if(!r){if(!1===r)throw new F(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT");throw new Error(B.hasOwnProp(be,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`)}if(!B.isFunction(r))throw new TypeError("adapter is not a function");return r})(e.adapter||re.adapter)(e).then((function(t){return ye(e),t.data=de.call(e,e.transformResponse,t),t.headers=ce.from(t.headers),t}),(function(t){return fe(t)||(ye(e),t&&t.response&&(t.response.data=de.call(e,e.transformResponse,t.response),t.response.headers=ce.from(t.response.headers))),Promise.reject(t)}))}const Ee=e=>e instanceof ce?e.toJSON():e;function Se(e,t){t=t||{};const n={};function r(e,t,n){return B.isPlainObject(e)&&B.isPlainObject(t)?B.merge.call({caseless:n},e,t):B.isPlainObject(t)?B.merge({},t):B.isArray(t)?t.slice():t}function a(e,t,n){return B.isUndefined(t)?B.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function o(e,t){if(!B.isUndefined(t))return r(void 0,t)}function i(e,t){return B.isUndefined(t)?B.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function l(n,a,o){return o in t?r(n,a):o in e?r(void 0,n):void 0}const u={url:o,method:o,data:o,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:l,headers:(e,t)=>a(Ee(e),Ee(t),!0)};return B.forEach(Object.keys(Object.assign({},e,t)),(function(r){const o=u[r]||a,i=o(e[r],t[r],r);B.isUndefined(i)&&o!==l||(n[r]=i)})),n}const ke={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{ke[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const Ce={};ke.transitional=function(e,t,n){function r(e,t){return"[Axios v1.4.0] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,a,o)=>{if(!1===e)throw new F(r(a," has been removed"+(t?" in "+t:"")),F.ERR_DEPRECATED);return t&&!Ce[a]&&(Ce[a]=!0,console.warn(r(a," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,a,o)}};var xe={assertOptions:function(e,t,n){if("object"!=typeof e)throw new F("options must be an object",F.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let a=r.length;for(;a-- >0;){const o=r[a],i=t[o];if(i){const t=e[o],n=void 0===t||i(t,o,e);if(!0!==n)throw new F("option "+o+" must be "+n,F.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new F("Unknown option "+o,F.ERR_BAD_OPTION)}},validators:ke};const Ie=xe.validators;class Oe{constructor(e){this.defaults=e,this.interceptors={request:new Y,response:new Y}}request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Se(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:a}=t;let o;void 0!==n&&xe.assertOptions(n,{silentJSONParsing:Ie.transitional(Ie.boolean),forcedJSONParsing:Ie.transitional(Ie.boolean),clarifyTimeoutError:Ie.transitional(Ie.boolean)},!1),null!=r&&(B.isFunction(r)?t.paramsSerializer={serialize:r}:xe.assertOptions(r,{encode:Ie.function,serialize:Ie.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase(),o=a&&B.merge(a.common,a[t.method]),o&&B.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete a[e]})),t.headers=ce.concat(o,a);const i=[];let l=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(l=l&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}));const u=[];let s;this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)}));let c,d=0;if(!l){const e=[we.bind(this),void 0];for(e.unshift.apply(e,i),e.push.apply(e,u),c=e.length,s=Promise.resolve(t);d<c;)s=s.then(e[d++],e[d++]);return s}c=i.length;let f=t;for(d=0;d<c;){const e=i[d++],t=i[d++];try{f=e(f)}catch(e){t.call(this,e);break}}try{s=we.call(this,f)}catch(e){return Promise.reject(e)}for(d=0,c=u.length;d<c;)s=s.then(u[d++],u[d++]);return s}getUri(e){return J(ge((e=Se(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}B.forEach(["delete","get","head","options"],(function(e){Oe.prototype[e]=function(t,n){return this.request(Se(n||{},{method:e,url:t,data:(n||{}).data}))}})),B.forEach(["post","put","patch"],(function(e){function t(t){return function(n,r,a){return this.request(Se(a||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Oe.prototype[e]=t(),Oe.prototype[e+"Form"]=t(!0)}));var Pe=Oe;class De{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise((function(e){t=e}));const n=this;this.promise.then((e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,a){n.reason||(n.reason=new pe(e,r,a),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new De((function(t){e=t})),cancel:e}}}var Ne=De;const Re={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Re).forEach((([e,t])=>{Re[t]=e}));var Te=Re;const _e=function e(t){const n=new Pe(t),a=r(Pe.prototype.request,n);return B.extend(a,Pe.prototype,n,{allOwnKeys:!0}),B.extend(a,n,null,{allOwnKeys:!0}),a.create=function(n){return e(Se(t,n))},a}(re);_e.Axios=Pe,_e.CanceledError=pe,_e.CancelToken=Ne,_e.isCancel=fe,_e.VERSION="1.4.0",_e.toFormData=V,_e.AxiosError=F,_e.Cancel=_e.CanceledError,_e.all=function(e){return Promise.all(e)},_e.spread=function(e){return function(t){return e.apply(null,t)}},_e.isAxiosError=function(e){return B.isObject(e)&&!0===e.isAxiosError},_e.mergeConfig=Se,_e.AxiosHeaders=ce,_e.formToJSON=e=>ee(B.isHTMLForm(e)?new FormData(e):e),_e.HttpStatusCode=Te,_e.default=_e,e.exports=_e}},t={};function n(r){var a=t[r];if(void 0!==a)return a.exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e=l(n(294)),t=l(n(218)),r=l(n(935)),a=l(n(697)),o=n(206),i=n(429);function l(e){return e&&e.__esModule?e:{default:e}}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function d(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,S(r.key),r)}}function f(e,t,n){return t&&d(e.prototype,t),n&&d(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function p(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&m(e,t)}function m(e,t){return m=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},m(e,t)}function g(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=v(e);if(t){var a=v(this).constructor;n=Reflect.construct(r,arguments,a)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return h(e)}(this,n)}}function h(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},v(e)}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function y(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 w(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){E(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function E(e,t,n){return(t=S(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function S(e){var t=function(e,t){if("object"!==u(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,"string");if("object"!==u(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===u(t)?t:String(t)}var k=window.shop_data,C=function(e,t,n,r,a){var o={opacity:t.isDragging?.7:1,backgroundColor:r||a?"#eae7f7":"initial"};return t.isDropAnimating?(n&&(o.transitionDuration="0.001s"),w(w({},e),o)):w(w({},e),o)},x=function(e,t){var n=t.isDraggingOver;return w(w({},e),{backgroundColor:n?"#f2f2f2":"#f9f9f9",border:n?"1px dashed #ccc":"0"})},I=function(e){if(!e||!e.nbrCurrentSlot)return{};var t=100*e.nbrCurrentSlot/e.nbrSlotMax;return t>100&&(t=100),{width:"".concat(t,"%")}},O=function(e){if(!e||!e.nbrCurrentClock)return{};var t=100*e.nbrCurrentClock/e.nbrClockMax;return t>100&&(t=100),{width:"".concat(t,"%")}},P=function(e,t,n,r,a){var o=Array.from(n.items);return o.splice(a.index,0,w(w({},e[r]),{},{id:(0,i.v4)()})),o},D=function(e,t,n){var r,a,o=Array.from(e),i=(r=o.splice(t,1),a=1,function(e){if(Array.isArray(e))return e}(r)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],u=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;u=!1}else for(;!(u=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);u=!0);}catch(e){s=!0,a=e}finally{try{if(!u&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(r,a)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?b(e,t):void 0}}(r,a)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];return o.splice(n,0,i),o},N=function(e,t){var n=Array.from(e);return n.splice(t,1),n},R=function(e){return e.reduce((function(e,t){return e+(8===t.hp?2:1)}),0)};function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:",";try{t=Math.abs(t),t=isNaN(t)?2:t;var a=e<0?"-":"",o=parseInt(e=Math.abs(Number(e)||0).toFixed(t)).toString(),i=o.length>3?o.length%3:0;return a+(i?o.substr(0,i)+r:"")+o.substr(i).replace(/(\d{3})(?=\d)/g,"$1"+r)+(t?n+Math.abs(e-o).toFixed(t).slice(2):"")}catch(t){return e}}var _=function(t){p(r,t);var n=g(r);function r(e){var t;c(this,r),(t=n.call(this,e)).state={customconf:"",error:null},t.handleCustomConfig=t.handleCustomConfig.bind(h(t)),t.handleClickLoad=t.handleClickLoad.bind(h(t)),t.checkValidation=t.checkValidation.bind(h(t));var a=Object.keys(e.items);return t.list_pn=a.map((function(t){return e.items[t].name_number})),t}return f(r,[{key:"handleCustomConfig",value:function(e){var t=e.target.value;this.checkValidation(t)}},{key:"checkValidation",value:function(e){var t;try{t=JSON.parse(e)}catch(t){return this.setState(w(w({},this.state),{},{customconf:e,customconf_ready:null,error:"invalid format"}))}if(!t)return this.setState(w(w({},this.state),{},{customconf:e,customconf_ready:null,error:"invalid format"}));if(!(t.items&&t.type||"[object Array]"===Object.prototype.toString.call(t.items)&&"[object String]"===Object.prototype.toString.call(t.type)))return this.setState(w(w({},this.state),{},{customconf:e,customconf_ready:null,error:"invalid format"}));if("desktop"!==t.type&&"rack"!==t.type)return this.setState(w(w({},this.state),{},{customconf:e,customconf_ready:null,error:"invalid format"}));if(t.items.map((function(e){try{return JSON.parse(e)}catch(e){return null}})),t.items=t.items.filter((function(e){return e})),t.items.filter((function(e){return"[object Object]"!==Object.prototype.toString.call(e)||!e.pn||"[object String]"!==Object.prototype.toString.call(e.pn)})).length>0)return this.setState(w(w({},this.state),{},{customconf:e,customconf_ready:null,error:"invalid format"}));t.items=t.items.map((function(e){return{pn:e.pn}}));var n=this,r=t.items.filter((function(e){return!1===n.list_pn.includes(e.pn)})).map((function(e){return e.pn}));if(r.length>0)return this.setState(w(w({},this.state),{},{customconf:e,customconf_ready:null,error:"".concat(r.join(", ")," unknown").concat(r.length>1?"s":""," pn number")}));this.setState(w(w({},this.state),{},{customconf:e,error:null,customconf_ready:t}))}},{key:"handleClickLoad",value:function(){this.checkValidation(this.state.customconf),this.props.onClickLoadCustomConf&&this.props.onClickLoadCustomConf(this.state.customconf_ready)}},{key:"render",value:function(){var t=this.props,n=t.aside,r=t.main,a=t.mobileSideMenuShouldOpen,o=t.isMobile,i=t.newCardJustAdded,l=t.onClickToggleMobileSideMenu,u=t.onClickCloseRFQFeedback,s=t.showRFQFeedback,c=t.RFQBodyType,d=t.RFQBodyOrder;return e.default.createElement("div",{className:"layout"},e.default.createElement("aside",{className:"aside "+(a?"menu-opened":"")},n),a?e.default.createElement("section",{className:"main",onClick:l},r):e.default.createElement("section",{className:"main"},r),o&&i?e.default.createElement("div",{className:"feedback-add-success"},"✓ added"):null,e.default.createElement("div",{class:"modal fade ".concat(s?"show":""),style:{display:s?"block":"none"},id:"exampleModal",tabindex:"-1",role:"dialog","aria-labelledby":"exampleModalLabel","aria-hidden":"true"},e.default.createElement("div",{class:"modal-dialog",role:"document"},e.default.createElement("div",{class:"modal-content"},e.default.createElement("div",{class:"modal-body rfqFeedback"},e.default.createElement("div",{className:"d-flex w-100"},"email"===c?e.default.createElement("div",{className:"d-flex"},e.default.createElement("div",null,e.default.createElement("img",{width:"30px",src:"/images/shop/icon-done.svg",alt:"close"})),e.default.createElement("div",{style:{padding:"0 .5em"}},"We've received your request and will be in contact soon.")):null,"show"===c?e.default.createElement("p",null,d):null,"import"===c?e.default.createElement("div",{className:"w-100"},e.default.createElement("form",{className:"form w-100"},e.default.createElement("div",{className:"form-group"},e.default.createElement("p",{className:"small"},"Input the JSON description below. Should be something like:",e.default.createElement("br",null),JSON.stringify({items:[{pn:"1124"},{pn:"2118"},{pn:"2118"},{pn:"2128"}],type:"desktop"}))),e.default.createElement("div",{className:"form-group w-100"},e.default.createElement("textarea",{onChange:this.handleCustomConfig,value:this.state.customconf,className:"form-control w-100",rows:"5",placeholder:"Input JSON description here."})),this.state.error?e.default.createElement("div",{className:"form-group"},e.default.createElement("p",{className:"text-danger"},this.state.error)):null),e.default.createElement("div",{className:"d-flex flex-column flex-sm-row justify-content-end"},e.default.createElement("a",{type:"button",onClick:u,class:"btn btn-sm btn-outline-primary m-0 mb-2 mb-sm-0 me-sm-2"},"Close"),e.default.createElement("a",{type:"button",onClick:this.handleClickLoad,class:"btn btn-sm btn-primary m-0 ms-sm-2 ".concat(this.state.error?"disabled":"")},"Load configuration"))):null,e.default.createElement("div",null,e.default.createElement("button",{onClick:u},e.default.createElement("img",{src:"/images/shop/icon-close.svg",alt:"close"})))))))),e.default.createElement("div",{onClick:u,className:"modal-backdrop fade ".concat(s?"show":""),style:{display:s?"initial":"none"}}))}}],[{key:"propTypes",get:function(){return{aside:a.default.any,main:a.default.any,mobileSideMenuShouldOpen:a.default.bool,isMobile:a.default.bool,newCardJustAdded:a.default.bool,onClickToggleMobileSideMenu:a.default.func,onClickCloseRFQFeedback:a.default.func,RFQBodyType:a.default.string,RFQBodyOrder:a.default.string,onClickLoadCustomConf:a.default.func,items:a.default.object}}},{key:"defaultProps",get:function(){return{mobileSideMenuShouldOpen:!1}}}]),r}(e.default.PureComponent),M=function(t){p(r,t);var n=g(r);function r(e){var t;return c(this,r),(t=n.call(this,e)).handleOnClickAddItem=t.handleOnClickAddItem.bind(h(t)),t}return f(r,[{key:"handleOnClickAddItem",value:function(e,t,n){this.props.onClickAddItem&&this.props.onClickAddItem(e,t),n.preventDefault()}},{key:"render",value:function(){var t=this.props,n=t.id,r=t.name,a=t.name_codename,i=t.price,l=t.currency,u=t.image,c=t.specs,d=t.datasheet_file,f=t.datasheet_name,p=c&&c.length>0&&e.default.createElement("ul",null,c.map((function(t,n){return e.default.createElement("li",{key:n},t)}))),m=d&&f&&e.default.createElement("div",{className:"ds"},e.default.createElement("span",{class:"doc-icon"}),e.default.createElement("a",{href:d,target:"_blank",rel:"noopener noreferrer"},f));return e.default.createElement("section",{className:"productItem"},e.default.createElement("div",{className:"content"},e.default.createElement("h3",{style:{"margin-bottom":a?"5px":"20px"}},r),a?e.default.createElement("p",null,a):null,e.default.createElement("div",{className:"price"},"".concat(l," ").concat(T(i))),p,m),e.default.createElement("div",{className:"content"},e.default.createElement("button",{onClick:this.handleOnClickAddItem.bind(this,n,!0)},e.default.createElement("img",{src:"/images/shop/icon-add.svg",alt:"add"})),e.default.createElement(o.Draggable,{draggableId:n},(function(t,n){return e.default.createElement(e.default.Fragment,null,e.default.createElement("img",s({ref:t.innerRef},t.draggableProps,t.dragHandleProps,{style:C(t.draggableProps.style,n,!0),src:u})),n.isDragging&&e.default.createElement("img",{className:"simclone",src:u}))}))))}}],[{key:"propTypes",get:function(){return{id:a.default.string.isRequired,name:a.default.string.isRequired,name_codename:a.default.string,price:a.default.number.isRequired,currency:a.default.string.isRequired,image:a.default.string.isRequired,specs:a.default.array,datasheet_file:a.default.string,datasheet_name:a.default.string,onClickAddItem:a.default.func}}}]),r}(e.default.PureComponent),A=function(t){p(r,t);var n=g(r);function r(e){var t;return c(this,r),(t=n.call(this,e)).handleOnMouseEnterItem=t.handleOnMouseEnterItem.bind(h(t)),t.handleOnMouseLeaveItem=t.handleOnMouseLeaveItem.bind(h(t)),t.handleOnMouseEnterWarningItem=t.handleOnMouseEnterWarningItem.bind(h(t)),t.handleOnMouseLeaveWarningItem=t.handleOnMouseLeaveWarningItem.bind(h(t)),t.handleOnMouseEnterRemoveItem=t.handleOnMouseEnterRemoveItem.bind(h(t)),t.handleOnMouseLeaveRemoveItem=t.handleOnMouseLeaveRemoveItem.bind(h(t)),t.handleOnClickRemoveItem=t.handleOnClickRemoveItem.bind(h(t)),t}return f(r,[{key:"handleOnMouseEnterItem",value:function(e,t){this.props.onToggleProgress&&this.props.onToggleProgress(e,!0),t.preventDefault()}},{key:"handleOnMouseLeaveItem",value:function(e,t){this.props.onToggleProgress&&this.props.onToggleProgress(e,!1),t.preventDefault()}},{key:"handleOnMouseEnterWarningItem",value:function(e,t,n){t&&(this.props.onToggleWarning&&this.props.onToggleWarning(e,!0),n.preventDefault())}},{key:"handleOnMouseLeaveWarningItem",value:function(e,t,n){t&&(this.props.onToggleWarning&&this.props.onToggleWarning(e,!1),n.preventDefault())}},{key:"handleOnMouseEnterRemoveItem",value:function(e,t){this.props.onToggleOverlayRemove&&!this.props.isMobile&&this.props.onToggleOverlayRemove(e,!0),t.preventDefault()}},{key:"handleOnMouseLeaveRemoveItem",value:function(e,t){this.props.onToggleOverlayRemove&&!this.props.isMobile&&this.props.onToggleOverlayRemove(e,!1),t.preventDefault()}},{key:"handleOnClickRemoveItem",value:function(e,t){this.props.onClickRemoveItem&&this.props.onClickRemoveItem(e)}},{key:"render",value:function(){var t,n,r=this,a=this.props,i=a.hovered,l=a.model,u=a.data,c=a.index,d=a.shouldTooltipWarningClassInverted;if(u&&u.warnings){var f=Object.keys(u.warnings);f&&f.length>0&&(t=u.warnings[f[0]])}if(l.showProgress&&u)switch(l.type){case"kasli":n=e.default.createElement("div",{className:"k-popup-connectors"},e.default.createElement("p",null,"".concat(u.nbrCurrentSlot,"/").concat(l.nbrSlotMax," EEM connectors used")),e.default.createElement("p",null,"".concat(u.nbrCurrentClock,"/").concat(l.nbrClockMax," Clock connectors used")));break;case"vhdcicarrier":n=e.default.createElement("div",{className:"k-popup-connectors"},e.default.createElement("p",null,"".concat(u.nbrCurrentSlot,"/").concat(l.nbrSlotMax," EEM connectors used")));break;case"zotino":case"hd68":n=e.default.createElement("div",{className:"k-popup-connectors"},e.default.createElement("p",null,"".concat(u.nbrCurrentSlot,"/").concat(l.nbrSlotMax," connectors used")));break;case"clocker":n=e.default.createElement("div",{className:"k-popup-connectors"},e.default.createElement("p",null,"".concat(u.nbrCurrentClock,"/").concat(l.nbrClockMax," Clock connectors used")))}return e.default.createElement(o.Draggable,{draggableId:l.id,index:c},(function(a,o){return e.default.createElement("div",s({ref:a.innerRef},a.draggableProps,a.dragHandleProps,{style:w({},C(a.draggableProps.style,o,!0,!!i,!!l.selected)),onMouseEnter:r.handleOnMouseEnterRemoveItem.bind(r,c),onMouseLeave:r.handleOnMouseLeaveRemoveItem.bind(r,c)}),e.default.createElement("div",{className:"progress-container warning",onMouseEnter:r.handleOnMouseEnterWarningItem.bind(r,c,t),onMouseLeave:r.handleOnMouseLeaveWarningItem.bind(r,c,t)},t&&e.default.createElement("img",{className:"alert-warning",src:t?"/images".concat(t.icon):null}),t&&l.showWarning&&e.default.createElement("div",{className:"k-popup-warning ".concat(d?"inverted":"")},e.default.createElement("p",{className:"rule warning"},e.default.createElement("i",null,t.message)))),e.default.createElement("h6",null,l.name_number),e.default.createElement("div",{onMouseEnter:r.handleOnMouseEnterRemoveItem.bind(r,c)},e.default.createElement("img",{className:"item-cart",src:"/images".concat(l.image)})),e.default.createElement("div",{style:{display:l.showOverlayRemove?"flex":"none"},className:"overlayRemove",onClick:r.handleOnClickRemoveItem.bind(r,c)},e.default.createElement("img",{src:"/images/shop/icon-remove.svg",alt:"rm"}),e.default.createElement("p",null,"Remove")),e.default.createElement("div",{className:"progress-container",onMouseEnter:r.handleOnMouseEnterItem.bind(r,c),onMouseLeave:r.handleOnMouseLeaveItem.bind(r,c)},l.nbrSlotMax>0&&e.default.createElement("div",{className:"nbr-connectors"},e.default.createElement("div",{style:w({},I(u))})),l.nbrClockMax>0&&e.default.createElement("div",{className:"nbr-clocks"},e.default.createElement("div",{style:w({},O(u))})),n))}))}}],[{key:"propTypes",get:function(){return{isMobile:a.default.bool,hovered:a.default.bool,index:a.default.number.isRequired,model:a.default.object.isRequired,data:a.default.object,onToggleProgress:a.default.func,onToggleWarning:a.default.func,onToggleOverlayRemove:a.default.func,onClickRemoveItem:a.default.func,shouldTooltipWarningClassInverted:a.default.bool}}},{key:"defaultProps",get:function(){return{hovered:!1}}}]),r}(e.default.PureComponent),L=function(t){p(r,t);var n=g(r);function r(){return c(this,r),n.apply(this,arguments)}return f(r,[{key:"render",value:function(){for(var t=this.props,n=t.isDraggingOver,r=t.nbrSlots,a=t.items,o=[],i=r-R(a);i>0;i--)o.push(e.default.createElement("div",{key:i,style:{display:n?"none":"block",border:"1px dashed #ccc",width:"45px",marginBottom:"5px"}}));return e.default.createElement(e.default.Fragment,null,o)}}],[{key:"propTypes",get:function(){return{isDraggingOver:a.default.bool,nbrSlots:a.default.number.isRequired,items:a.default.array.isRequired}}}]),r}(e.default.PureComponent),B=function(t){p(r,t);var n=g(r);function r(){return c(this,r),n.apply(this,arguments)}return f(r,[{key:"render",value:function(){var t=this.props,n=t.isMobile,r=t.nbrSlots,a=t.itemHovered,i=t.data,l=t.onToggleProgress,u=t.onToggleWarning,c=t.onToggleOverlayRemove,d=t.onClickRemoveItem,f=R(i.items),p=r-f<5,m=i.items.map((function(t,r){var o;return i.itemsData&&r in i.itemsData&&(o=i.itemsData[r]),e.default.createElement(A,{isMobile:n,hovered:t.id===a,key:t.id,index:r,data:o,shouldTooltipWarningClassInverted:p&&r>10,onToggleProgress:l,onToggleWarning:u,onToggleOverlayRemove:c,onClickRemoveItem:d,model:t})}));return e.default.createElement(o.Droppable,{droppableId:i.id,direction:"horizontal"},(function(t,n){return e.default.createElement("div",s({ref:t.innerRef},t.droppableProps,{style:x(t.droppableProps.style,n),className:"items-cart-list"}),m,t.placeholder&&e.default.createElement("div",{style:{display:"none"}},t.placeholder),e.default.createElement(L,{nbrSlots:r,items:i.items,isDraggingOver:n.isDraggingOver}))}))}}],[{key:"propTypes",get:function(){return{isMobile:a.default.bool,nbrSlots:a.default.number,itemHovered:a.default.string,data:a.default.object.isRequired,onToggleProgress:a.default.func,onToggleWarning:a.default.func,onToggleOverlayRemove:a.default.func,onClickRemoveItem:a.default.func}}}]),r}(e.default.PureComponent),F=function(t){p(r,t);var n=g(r);function r(e){var t;return c(this,r),(t=n.call(this,e)).handleOnClickMode=t.handleOnClickMode.bind(h(t)),t}return f(r,[{key:"handleOnClickMode",value:function(e,t){this.props.onClickMode&&this.props.onClickMode(e),t.preventDefault()}},{key:"render",value:function(){var t=this,n=this.props,r=n.mode,a=n.items;return e.default.createElement("div",{className:"crate-mode"},a.map((function(n){return e.default.createElement("a",{key:n.id,className:r==n.id?"active":"",onClick:t.handleOnClickMode.bind(t,n.id),href:"#",role:"button"},n.name)})))}}],[{key:"propTypes",get:function(){return{items:a.default.array.isRequired,mode:a.default.string.isRequired,onClickMode:a.default.func}}}]),r}(e.default.PureComponent),j=function(t){p(r,t);var n=g(r);function r(){return c(this,r),n.apply(this,arguments)}return f(r,[{key:"render",value:function(){var t=this.props,n=t.rules,r=t.cart;return e.default.createElement("div",{className:"crate"},e.default.createElement("div",{className:"crate-products"},r,n&&n.length>0&&e.default.createElement("div",{className:"crate-info"},n.map((function(t,n){return e.default.createElement("p",{key:n,className:"rule",style:{color:t.color?t.color:"inherit"}},e.default.createElement("img",{src:"/images".concat(t.icon)})," ",e.default.createElement("i",null,e.default.createElement("strong",null,t.name,":")," ",t.message))})))))}}],[{key:"propTypes",get:function(){return{rules:a.default.array,cart:a.default.element}}}]),r}(e.default.PureComponent),z=function(t){p(r,t);var n=g(r);function r(){return c(this,r),n.apply(this,arguments)}return f(r,[{key:"render",value:function(){var t=this.props,n=t.title,r=t.description,a=t.crateMode,o=t.crate,i=t.summaryPrice,l=t.form,u=t.isMobile,s=t.onClickToggleMobileSideMenu,c=t.onClickOpenImport;return e.default.createElement("section",{className:"panel"},e.default.createElement("h2",null,n),e.default.createElement("div",{className:"control"},e.default.createElement("p",{className:"description"},r),a),e.default.createElement("div",null,e.default.createElement("input",{className:"btn btn-sm btn-outline-primary m-0 mb-2",style:{cursor:"pointer"},value:"Import JSON",onClick:c})),u?e.default.createElement("div",{className:"mobileBtnDisplaySideMenu"},e.default.createElement("button",{onClick:s},e.default.createElement("img",{src:"/images/shop/icon-add.svg",alt:"add"}))):null,o,e.default.createElement("section",{className:"summary"},i,l))}}],[{key:"propTypes",get:function(){return{title:a.default.string,description:a.default.string,crateMode:a.default.element,crate:a.default.element,summaryPrice:a.default.element,form:a.default.element,isMobile:a.default.bool,onClickToggleMobileSideMenu:a.default.func,onClickOpenImport:a.default.func}}}]),r}(e.default.PureComponent),U=function(t){p(r,t);var n=g(r);function r(e){var t;return c(this,r),(t=n.call(this,e)).state={note:"",email:"",error:{note:null,email:null},empty:{note:null,email:null}},t.handleEmail=t.handleEmail.bind(h(t)),t.handleNote=t.handleNote.bind(h(t)),t.handleSubmit=t.handleSubmit.bind(h(t)),t.resetEmptyError=t.resetEmptyError.bind(h(t)),t.checkValidation=t.checkValidation.bind(h(t)),t}return f(r,[{key:"checkValidation",value:function(){var e=w({},this.state),t=this.validateEmail(this.state.email),n=t.isEmpty,r=t.isError;return e=w(w({},e),{},{error:w(w({},this.state.error),{},{email:r}),empty:w(w({},this.state.empty),{},{email:n})}),this.setState(e),!n&&!r}},{key:"validateEmail",value:function(e){var t=null,n=null;return this.props.t,e&&""!==e.trim()?e&&!e.match(/^\w+([\+\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/)&&(n={message:"Your email is incomplete"}):t=!0,{isEmpty:t,isError:n}}},{key:"validateNote",value:function(e){var t=null;return e&&""!==e.trim()||(t=!0),{isEmpty:t}}},{key:"resetEmptyError",value:function(e){this.setState(w(w({},this.state),{},{error:w(w({},this.state.error),{},E({},e,null)),empty:w(w({},this.state.empty),{},E({},e,null))}))}},{key:"handleEmail",value:function(e){var t=e.target.value,n=this.validateEmail(t),r=n.isEmpty,a=n.isError;this.setState(w(w({},this.state),{},{email:t,error:w(w({},this.state.error),{},{email:a}),empty:w(w({},this.state.empty),{},{email:r})}))}},{key:"handleNote",value:function(e){var t=e.target.value;this.setState(w(w({},this.state),{},{note:t}))}},{key:"handleSubmit",value:function(e){if(e.preventDefault(),this.props.onClickSubmit){if(!this.checkValidation())return!1;this.props.onClickSubmit(this.state.note,this.state.email)}}},{key:"render",value:function(){var t=this.handleEmail,n=this.handleNote,r=this.resetEmptyError,a=this.handleSubmit,o=this.props.onClickShow,i=this.state,l=i.email,u=i.note,s=i.error,c=i.empty,d=this.props,f=d.isProcessing;return d.isProcessingComplete,e.default.createElement("div",{className:"summary-form"},e.default.createElement("form",{onSubmit:a,noValidate:!0},e.default.createElement("input",{className:"".concat(s&&s.email?"errorField":""),type:"email",placeholder:"Email",onFocus:function(){return r("email")},onChange:t,onBlur:t,value:l}),c&&c.email?e.default.createElement("div",{className:"error"},e.default.createElement("small",null,"Required")):null,s&&s.email?e.default.createElement("div",{className:"error"},e.default.createElement("small",null,"Your email is incomplete")):null,e.default.createElement("textarea",{onChange:n,value:u,rows:"5",placeholder:"Additional notes"}),e.default.createElement("div",{className:"d-flex flex-column flex-sm-row justify-content-between"},e.default.createElement("input",{className:"btn btn-outline-primary w-100 m-0 mb-2 mb-sm-0 me-sm-2",style:{cursor:"pointer",fontWeight:"700"},value:"Show JSON",onClick:o}),e.default.createElement("input",{className:"btn btn-primary w-100 m-0 ms-sm-2",type:"submit",value:"".concat(f?"Processing ...":"Request quote")}))))}}],[{key:"propTypes",get:function(){return{isProcessing:a.default.bool,isProcessingComplete:a.default.bool,onClickSubmit:a.default.func}}}]),r}(e.default.PureComponent),W=function(t){p(r,t);var n=g(r);function r(e){var t;return c(this,r),(t=n.call(this,e)).handleOnDeleteItem=t.handleOnDeleteItem.bind(h(t)),t.handleOnDeleteAllItems=t.handleOnDeleteAllItems.bind(h(t)),t.handleOnMouseEnterItem=t.handleOnMouseEnterItem.bind(h(t)),t.handleOnMouseLeaveItem=t.handleOnMouseLeaveItem.bind(h(t)),t.handleOnClickSelectItem=t.handleOnClickSelectItem.bind(h(t)),t}return f(r,[{key:"handleOnDeleteItem",value:function(e,t){this.props.onDeleteItem&&this.props.onDeleteItem(e),t.preventDefault()}},{key:"handleOnDeleteAllItems",value:function(e){this.props.onDeleteAllItems&&this.props.onDeleteAllItems(),e.preventDefault()}},{key:"handleOnMouseEnterItem",value:function(e,t){this.props.onMouseEnterItem&&this.props.onMouseEnterItem(e),t.preventDefault()}},{key:"handleOnMouseLeaveItem",value:function(e){this.props.onMouseLeaveItem&&this.props.onMouseLeaveItem(),e.preventDefault()}},{key:"handleOnClickSelectItem",value:function(e,t){return"IMG"!==t.target.tagName&&this.props.onClickSelectItem&&this.props.onClickSelectItem(e),t.preventDefault()}},{key:"render",value:function(){var t=this,n=this.props,r=n.currency,a=n.modes,o=n.currentMode,i=n.summary,l=n.itemsData,u=a.find((function(e){return e.id===o}));return e.default.createElement("div",{className:"summary-price"},e.default.createElement("table",null,e.default.createElement("thead",null,e.default.createElement("tr",null,e.default.createElement("td",{colSpan:"2",className:"summary-remove-all"},e.default.createElement("span",{className:"item-card-name"},"Remove all cards"),e.default.createElement("button",{onClick:this.handleOnDeleteAllItems},e.default.createElement("img",{src:"/images/shop/icon-remove.svg"})))),u&&e.default.createElement("tr",null,e.default.createElement("td",{className:"item-card-name"},u.name),e.default.createElement("td",{className:"price"},e.default.createElement("div",null,"".concat(r," ").concat(T(u.price)),e.default.createElement("button",{style:{opacity:"0",cursor:"initial"}},e.default.createElement("img",{src:"/images/shop/icon-remove.svg"}))),e.default.createElement("span",{style:{display:"inline-block",width:"30px"}}," ")))),e.default.createElement("tbody",null,i.map((function(n,a){var o,i;if(l[a]){o=l[a];var u=Object.keys(o.warnings);u&&u.length>0&&(i=o.warnings[u[0]])}return e.default.createElement("tr",{key:n.id,className:"hoverable ".concat(n.selected?"selected":""),onClick:t.handleOnClickSelectItem.bind(t,a),onMouseEnter:t.handleOnMouseEnterItem.bind(t,n.id),onMouseLeave:t.handleOnMouseLeaveItem},e.default.createElement("td",{className:"item-card-name"},e.default.createElement("div",null,"".concat(n.name_number," ").concat(n.name," ").concat(n.name_codename))),e.default.createElement("td",{className:"price"},e.default.createElement("div",null,"".concat(r," ").concat(T(n.price)),e.default.createElement("button",{onClick:t.handleOnDeleteItem.bind(t,a)},e.default.createElement("img",{src:"/images/shop/icon-remove.svg"}))),i&&e.default.createElement("img",{style:{marginLeft:"10px"},className:"alert-warning",src:"/images/".concat(i.icon)}),!i&&e.default.createElement("span",{style:{display:"inline-block",width:"30px"}}," ")))}))),e.default.createElement("tfoot",null,e.default.createElement("tr",null,e.default.createElement("td",{className:"item-card-name"},"Price estimate"),e.default.createElement("td",{className:"price"},e.default.createElement("div",null,i.length?"".concat(r," ").concat(T(i.reduce((function(e,t){return e+t.price}),0)+u.price)):"".concat(r," ").concat(T(u.price)),e.default.createElement("button",{style:{opacity:"0",cursor:"initial"}},e.default.createElement("img",{src:"/images/shop/icon-remove.svg",alt:"icon remove"}))),e.default.createElement("span",{style:{display:"inline-block",width:"30px"}}," "))))))}}],[{key:"propTypes",get:function(){return{currency:a.default.string,modes:a.default.array,currentMode:a.default.string,summary:a.default.array,itemsData:a.default.array,onDeleteItem:a.default.func,onDeleteAllItems:a.default.func,onMouseEnterItem:a.default.func,onMouseLeaveItem:a.default.func,onClickSelectItem:a.default.func}}}]),r}(e.default.PureComponent),G=function(t){p(r,t);var n=g(r);function r(){return c(this,r),n.apply(this,arguments)}return f(r,[{key:"render",value:function(){var t=this.props,n=t.currency,r=t.data,a=t.items,i=t.onClickAddItem,l=t.onClickToggleMobileSideMenu,u=t.isMobile,c=r.categories.map((function(e){return{name:e.name,items:e.itemIds.map((function(e){return a[e]}))}})).map((function(t,r){return e.default.createElement("div",{className:"accordion-item"},e.default.createElement("h2",{className:"accordion-header"},e.default.createElement("button",{className:"accordion-button collapsed",type:"button","data-bs-toggle":"collapse","data-bs-target":"#collapse".concat(r),"aria-expanded":"true","aria-controls":"collapse".concat(r)},t.name)),e.default.createElement("div",{id:"collapse".concat(r),className:"accordion-collapse collapse","aria-labelledby":"headingOne","data-bs-parent":"#accordion_categories"},e.default.createElement("div",{className:"accordion-body"},t.items.map((function(t){return e.default.createElement(M,{key:t.id,id:t.id,name:"".concat(t.name_number," ").concat(t.name),name_codename:t.name_codename,price:t.price,currency:n,image:"/images/".concat(t.image),specs:t.specs,datasheet_file:t.datasheet_file,datasheet_name:t.datasheet_name,onClickAddItem:i})})))))}));return e.default.createElement(o.Droppable,{droppableId:r.id,isDropDisabled:!0},(function(t){return e.default.createElement("div",s({className:"backlog-container",ref:t.innerRef},t.droppableProps),u?e.default.createElement("div",{className:"mobileCloseMenu"},e.default.createElement("button",{onClick:l},e.default.createElement("img",{src:"/images/shop/icon-close-white.svg",alt:"add"}))):null,e.default.createElement("div",{className:"accordion accordion-flush",id:"accordion_categories"},c),t.placeholder&&e.default.createElement("div",{style:{display:"none"}},t.placeholder))}))}}],[{key:"propTypes",get:function(){return{currency:a.default.string,data:a.default.object.isRequired,items:a.default.object,isMobile:a.default.bool,onClickAddItem:a.default.func,onClickToggleMobileSideMenu:a.default.func}}},{key:"defaultProps",get:function(){return{items:{}}}}]),r}(e.default.PureComponent),H=function(n){p(l,n);var r=g(l);function l(e){var t;return c(this,l),(t=r.call(this,e)).state=t.props.data,t.handleCrateModeChange=t.handleCrateModeChange.bind(h(t)),t.handleOnDragEnd=t.handleOnDragEnd.bind(h(t)),t.handleDeleteItem=t.handleDeleteItem.bind(h(t)),t.handleDeleteAllItems=t.handleDeleteAllItems.bind(h(t)),t.handleMouseEnterItem=t.handleMouseEnterItem.bind(h(t)),t.handleMouseLeaveItem=t.handleMouseLeaveItem.bind(h(t)),t.handleClickAddItem=t.handleClickAddItem.bind(h(t)),t.checkAlerts=t.checkAlerts.bind(h(t)),t.handleToggleItemProgress=t.handleToggleItemProgress.bind(h(t)),t.handleToggleItemWarning=t.handleToggleItemWarning.bind(h(t)),t.handleClickSelectItem=t.handleClickSelectItem.bind(h(t)),t.handleClickSubmit=t.handleClickSubmit.bind(h(t)),t.handleToggleOverlayRemove=t.handleToggleOverlayRemove.bind(h(t)),t.handleClickToggleMobileSideMenu=t.handleClickToggleMobileSideMenu.bind(h(t)),t.handleClickCloseRFQFeedback=t.handleClickCloseRFQFeedback.bind(h(t)),t.handleClickShowOrder=t.handleClickShowOrder.bind(h(t)),t.handleClickOpenImport=t.handleClickOpenImport.bind(h(t)),t.handleLoadCustomConf=t.handleLoadCustomConf.bind(h(t)),t.timer=null,t}return f(l,[{key:"componentDidMount",value:function(){var e=Array.from(this.state.columns.backlog.categories.map((function(e){return e.itemIds})).flat());this.handleOnDragEnd({source:{droppableId:"backlog",index:null},destination:{droppableId:"cart",index:0},draggableId:e[0]})}},{key:"componentDidUpdate",value:function(e,t){var n=this;t.columns.cart.items===this.state.columns.cart.items&&t.currentMode===this.state.currentMode||this.checkAlerts(t.columns.cart.items,this.state.columns.cart.items),this.state.newCardJustAdded&&(this.timer=setTimeout((function(){n.setState({newCardJustAdded:!1})}),2e3))}},{key:"componentWillUnmount",value:function(){clearTimeout(this.timer)}},{key:"handleCrateModeChange",value:function(e){this.setState({currentMode:e})}},{key:"handleDeleteItem",value:function(e){var t=Array.from(this.state.columns.cart.items);t.splice(e,1),this.setState(w(w({},this.state),{},{columns:w(w({},this.state.columns),{},{cart:w(w({},this.state.columns.cart),{},{items:t})})}))}},{key:"handleDeleteAllItems",value:function(){this.setState(w(w({},this.state),{},{columns:w(w({},this.state.columns),{},{cart:w(w({},this.state.columns.cart),{},{items:[]})})}))}},{key:"handleMouseEnterItem",value:function(e){this.setState(w(w({},this.state),{},{currentItemHovered:e}))}},{key:"handleMouseLeaveItem",value:function(){this.setState(w(w({},this.state),{},{currentItemHovered:null}))}},{key:"handleClickAddItem",value:function(e,t){var n={droppableId:"cart",index:this.state.columns.cart.items.length};this.handleOnDragEnd({source:{droppableId:"backlog",index:null},destination:n,draggableId:e},t)}},{key:"handleToggleItemProgress",value:function(e,t){var n=Array.from(this.state.columns.cart.items);this.setState(w(w({},this.state),{},{columns:w(w({},this.state.columns),{},{cart:w(w({},this.state.columns.cart),{},{items:n.map((function(n,r){return w(w({},n),{},{showProgress:r===e&&t,showOverlayRemove:!1,showWarning:!1})}))})})}))}},{key:"handleToggleItemWarning",value:function(e,t){var n=Array.from(this.state.columns.cart.items);this.setState(w(w({},this.state),{},{columns:w(w({},this.state.columns),{},{cart:w(w({},this.state.columns.cart),{},{items:n.map((function(n,r){return w(w({},n),{},{showWarning:r===e&&t,showProgress:!1,showOverlayRemove:!1})}))})})}))}},{key:"handleClickSelectItem",value:function(e){var t=Array.from(this.state.columns.cart.items);this.setState(w(w({},this.state),{},{columns:w(w({},this.state.columns),{},{cart:w(w({},this.state.columns.cart),{},{items:t.map((function(t,n){return w(w({},t),{},{selected:n===e})}))})})}))}},{key:"handleToggleOverlayRemove",value:function(e,t){var n=Array.from(this.state.columns.cart.items);this.setState(w(w({},this.state),{},{columns:w(w({},this.state.columns),{},{cart:w(w({},this.state.columns.cart),{},{items:n.map((function(n,r){return w(w({},n),{},{showOverlayRemove:r===e&&t,showProgress:!1,showWarning:!1})}))})})}))}},{key:"handleClickShowOrder",value:function(){var e={items:[],type:this.state.currentMode},t=Array.from(this.state.columns.cart.items);for(var n in t){var r=t[n];e.items.push({pn:r.name_number})}this.setState({isProcessing:!1,shouldShowRFQFeedback:!0,RFQBodyType:"show",RFQBodyOrder:JSON.stringify(e)})}},{key:"handleClickOpenImport",value:function(){this.setState({isProcessing:!1,shouldShowRFQFeedback:!0,RFQBodyType:"import"})}},{key:"handleLoadCustomConf",value:function(e){if(e){var t=this.props.data.items,n=[];this.setState(w(w({},this.state),{},{columns:w(w({},this.state.columns),{},{cart:w(w({},this.state.columns.cart),{},{items:[]})})}),(function(){e.items.map((function(e){return Object.keys(t).map((function(r){e.pn&&e.pn===t[r].name_number&&n.push(Object.assign(w({},t[r]),{id:(0,i.v4)()}))})),e})),this.setState(w(w({},this.state),{},{columns:w(w({},this.state.columns),{},{cart:w(w({},this.state.columns.cart),{},{items:n})}),currentMode:e.type}))}))}}},{key:"handleClickSubmit",value:function(e,n){var r=this,a={items:[],type:this.state.currentMode},o=Array.from(this.state.columns.cart.items);for(var i in o){var l=o[i];a.items.push({pn:l.name_number})}var u=this.props.data;this.setState({isProcessing:!0}),t.default.post(u.API_RFQ,{email:n,note:e,configuration:JSON.stringify(a)}).then((function(e){r.setState({isProcessing:!1,shouldShowRFQFeedback:!0,RFQBodyType:"email",isProcessingComplete:!0})})).catch((function(e){r.setState({isProcessing:!1},(function(){alert("We cannot receive your request. Try using the export by coping the configuration and send it to us at sales[at]m-labs.hk")}))}))}},{key:"handleOnDragEnd",value:function(e,t){var n=e.source,r=e.destination,a=e.draggableId;if(r)switch(n.droppableId){case"backlog":this.setState(w(w({},this.state),{},{newCardJustAdded:!!t,columns:w(w({},this.state.columns),{},E({},r.droppableId,w(w({},this.state.columns[r.droppableId]),{},{items:P(this.state.items,this.state.columns[n.droppableId],this.state.columns[r.droppableId],a,r)})))}));break;case r.droppableId:this.setState(w(w({},this.state),{},{newCardJustAdded:!1,columns:w(w({},this.state.columns),{},E({},r.droppableId,w(w({},this.state.columns[r.droppableId]),{},{items:D(this.state.columns[r.droppableId].items,n.index,r.index)})))}))}else"cart"===n.droppableId&&this.setState(w(w({},this.state),{},{newCardJustAdded:!1,columns:w(w({},this.state.columns),{},E({},n.droppableId,w(w({},this.state.columns[n.droppableId]),{},{items:N(this.state.columns[n.droppableId].items,n.index)})))}))}},{key:"handleClickToggleMobileSideMenu",value:function(){this.setState(w(w({},this.state),{},{mobileSideMenuShouldOpen:!this.state.mobileSideMenuShouldOpen}))}},{key:"handleClickCloseRFQFeedback",value:function(){this.setState({shouldShowRFQFeedback:!1})}},{key:"checkAlerts",value:function(e,t){var n=this;console.log("--- START CHECKING CRATE WARNING ---");var r=this.state,a=r.currentMode,o=r.crateModeSlots,i=r.crateRules,l=Array.from(t),u={},s={},c=R(t);c>o[a]?s[i.maxSlot.type]=w({},i.maxSlot):21===o[a]&&c<=10&&(s[i.compactSlot.type]=w({},i.compactSlot));for(var d=l.reduce((function(e,t,n){return"kasli"!==t.type&&"vhdcicarrier"!==t.type||e.push(n),e}),[]),f=0;f<=d.length-1;f++){var p,m,g=void 0,h=d[f];if(g=f!==d.length-1?l.slice(h+1,d[f+1]):l.slice(h+1),0==f){var v=l.slice(0,h).findIndex((function(e){return e.rules&&e.rules.resources}));-1!=v&&(v in u?("warnings"in u[v]||(u[v].warnings={}),u[v].warnings.resources=w({},l[v].rules.resources)):(u[v]=w({},l[v]),u[v].warnings={},u[v].warnings.resources=w({},l[v].rules.resources)))}if(p=g.filter((function(e){return"idc-bnc"!==e.type})).reduce((function(e,t){return e+t.slotOccupied}),0),m=g.reduce((function(e,t){return"clocker"===t.type?e+t.clockOccupied:e}),0),h in u?(u[h].nbrCurrentSlot=p,u[h].nbrCurrentClock=m,"warnings"in u[h]||(u[h].warnings={})):(u[h]=w({},l[h]),u[h].nbrCurrentSlot=p,u[h].nbrCurrentClock=m,u[h].warnings={}),p>l[h].nbrSlotMax&&(l[h].rules.maxSlot.message&&(s[l[h].rules.maxSlot.type]=w({},l[h].rules.maxSlot)),u[h].warnings.maxSlotWarning=w({},l[h].rules.maxSlotWarning)),m>l[h].nbrClockMax&&(s[l[h].rules.maxClock.type]=w({},l[h].rules.maxClock),u[h].warnings.maxClockWarning=w({},l[h].rules.maxClockWarning)),l.length>h+1){var b=l[h+1];"kasli"!==b.type&&"vhdcicarrier"!==b.type||(s[b.rules.follow.type]=w({},b.rules.follow))}}if(0===d.length){var y=l.slice(0).findIndex((function(e){return e.rules&&e.rules.resources}));-1!=y&&(y in u?("warnings"in u[y]||(u[y].warnings={}),u[y].warnings.resources=w({},l[y].rules.resources)):(u[y]=w({},l[y]),u[y].warnings={},u[y].warnings.resources=w({},l[y].rules.resources)))}for(var E=l.reduce((function(e,t,n){return"kasli"!==t.type&&"clocker"!==t.type||e.push(n),e}),[]),S=0;S<=E.length-1;S++){var k,C=E[S];k=(S!==E.length-1?l.slice(C+1,E[S+1]):l.slice(C+1)).reduce((function(e,t){return e+t.clockOccupied}),0),C in u?u[C].nbrCurrentClock?u[C].nbrCurrentClock+=k:u[C].nbrCurrentClock=k:(u[C]=w({},l[C]),u[C].nbrCurrentClock=k,u[C].warnings={}),k>l[C].nbrClockMax&&(s[l[C].rules.maxClock.type]=w({},l[C].rules.maxClock),u[C].warnings.maxClockWarning=w({},l[C].rules.maxClockWarning))}["novo","urukul","koster"].map((function(e){return l.find((function(t){return t.type===e}))&&(s[n.state.items[e].rules.connectors.type]=w({},n.state.items[e].rules.connectors)),e})),l.find((function(e){return"urukul"===e.type}))&&this.state.items.urukul.rules.info&&(s[this.state.items.urukul.rules.info.type]=w({},this.state.items.urukul.rules.info));for(var x=l.reduce((function(e,t,n){return"idc-bnc"===t.type&&e.push(n),e}),[]),I=x.length-1;I>=0;I--){var O=x[I],P=!1;if(0==O)P=!0;else if(O>=1){var D=x[I]-1;"zotino"!==l[D].type&&"hd68"!==l[D].type&&"idc-bnc"!==l[D].type&&(P=!0)}P&&(u[O]=w({},l[O]),u[O].warnings={},u[O].warnings.wrong=w({},l[O].rules.wrong))}for(var N=l.reduce((function(e,t,n){return"zotino"!==t.type&&"hd68"!==t.type||e.push(n),e}),[]),T=function(){var e,t,n=N[_];e=_!==N.length-1?l.slice(n+1,N[_+1]):l.slice(n+1);var r=!1;if(t=e.reduce((function(e,t,n,a){return 0===n&&"idc-bnc"===t.type?e+1:"idc-bnc"===a[0].type&&n>0&&"idc-bnc"===a[n-1].type?("idc-bnc"!==t.type&&(r=!0),e+("idc-bnc"!==t.type||r?0:1)):e}),0),n in u?(u[n].nbrCurrentSlot=t,"warnings"in u[n]||(u[n].warnings={})):(u[n]=w({},l[n]),u[n].nbrCurrentSlot=t,u[n].warnings={}),t>0&&l[n].rules.maxSlot.message&&(s[l[n].rules.maxSlot.type]=w({},l[n].rules.maxSlot)),t>l[n].nbrSlotMax&&(u[n].warnings.maxSlotWarning=w({},l[n].rules.maxSlotWarning)),"hd68"===l[n].type){var a=!1;n<l.length-1?"idc-bnc"!==l[n+1].type&&(a=!0):n===l.length-1&&(a=!0),a&&(n in u||(u[n]=w({},l[n]),u[n].warnings={}),u[n].warnings.minAdapter=w({},l[n].rules.minAdapter))}},_=0;_<=N.length-1;_++)T();this.setState(w(w({},this.state),{},{columns:w(w({},this.state.columns),{},{cart:w(w({},this.state.columns.cart),{},{itemsData:w({},u)})}),rules:w({},s)}))}},{key:"render",value:function(){var t=this.state,n=t.currency,r=t.currentItemHovered,a=t.currentMode,i=t.crateModeSlots,l=t.crateModeItems,u=t.items,s=t.columns,c=t.rules,d=t.mobileSideMenuShouldOpen,f=t.newCardJustAdded,p=t.isProcessing,m=t.shouldShowRFQFeedback,g=t.RFQBodyType,h=t.RFQBodyOrder,v=t.isProcessingComplete,b=window.deviceIsMobile();return e.default.createElement(o.DragDropContext,{onDragEnd:this.handleOnDragEnd},e.default.createElement(_,{showRFQFeedback:m,RFQBodyType:g,RFQBodyOrder:h,className:"shop",mobileSideMenuShouldOpen:d,isMobile:b,newCardJustAdded:f,onClickToggleMobileSideMenu:this.handleClickToggleMobileSideMenu,onClickCloseRFQFeedback:this.handleClickCloseRFQFeedback,onClickLoadCustomConf:this.handleLoadCustomConf,items:u,aside:e.default.createElement(G,{currency:n,items:u,data:s.backlog,onClickAddItem:this.handleClickAddItem,onClickToggleMobileSideMenu:this.handleClickToggleMobileSideMenu,isMobile:b}),main:e.default.createElement(z,{onClickToggleMobileSideMenu:this.handleClickToggleMobileSideMenu,onClickOpenImport:this.handleClickOpenImport,isMobile:b,title:"Order hardware",description:" Drag and drop the cards you want into the crate below to see how the combination would look like. If you have any issues with this ordering system, or if you need other configurations, email us directly anytime at sales@m-****.hk. The price is estimated and must be confirmed by a quote.",crateMode:e.default.createElement(F,{items:l,mode:a,onClickMode:this.handleCrateModeChange}),crate:e.default.createElement(j,{cart:e.default.createElement(B,{nbrSlots:i[a],data:s.cart,isMobile:b,itemHovered:r,onToggleProgress:this.handleToggleItemProgress,onToggleWarning:this.handleToggleItemWarning,onToggleOverlayRemove:this.handleToggleOverlayRemove,onClickRemoveItem:this.handleDeleteItem}),rules:Object.values(c).filter((function(e){return e}))}),summaryPrice:e.default.createElement(W,{currency:n,currentMode:a,modes:l,summary:s.cart.items,itemsData:s.cart.itemsData,onMouseEnterItem:this.handleMouseEnterItem,onMouseLeaveItem:this.handleMouseLeaveItem,onDeleteItem:this.handleDeleteItem,onDeleteAllItems:this.handleDeleteAllItems,onClickSelectItem:this.handleClickSelectItem}),form:e.default.createElement(U,{isProcessingComplete:v,processingComplete:this.handleProcessingComplete,isProcessing:p,onClickSubmit:this.handleClickSubmit,onClickShow:this.handleClickShowOrder})})}))}}],[{key:"propTypes",get:function(){return{data:a.default.object.isRequired}}}]),l}(e.default.PureComponent);r.default.render(e.default.createElement(H,{data:k}),document.querySelector("#root-shop"))})()})();