@steedos-widgets/fullcalendar 1.0.41 → 1.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var extendStatics=function(e,t){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},extendStatics(e,t)};function __extends(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var __assign$1=function(){return __assign$1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},__assign$1.apply(this,arguments)};function __rest(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n}function __awaiter(e,t,n,r){return new(n||(n=Promise))((function(o,a){function i(e){try{s(r.next(e))}catch(e){a(e)}}function l(e){try{s(r.throw(e))}catch(e){a(e)}}function s(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((r=r.apply(e,t||[])).next())}))}function __generator(e,t){var n,r,o,a,i={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function l(a){return function(l){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(o=2&a[0]?r.return:a[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,a[1])).done)return o;switch(r=0,o&&(a=[2&a[0],o.value]),a[0]){case 0:case 1:o=a;break;case 4:return i.label++,{value:a[1],done:!1};case 5:i.label++,r=a[1],a=[0];continue;case 7:a=i.ops.pop(),i.trys.pop();continue;default:if(!(o=i.trys,(o=o.length>0&&o[o.length-1])||6!==a[0]&&2!==a[0])){i=0;continue}if(3===a[0]&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(6===a[0]&&i.label<o[1]){i.label=o[1],o=a;break}if(o&&i.label<o[2]){i.label=o[2],i.ops.push(a);break}o[2]&&i.ops.pop(),i.trys.pop();continue}a=t.call(e,i)}catch(e){a=[6,e],r=0}finally{n=o=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,l])}}}function __spreadArray(e,t,n){if(n||2===arguments.length)for(var r,o=0,a=t.length;o<a;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var react={exports:{}},react_production_min={},hasRequiredReact_production_min;function requireReact_production_min(){if(hasRequiredReact_production_min)return react_production_min;hasRequiredReact_production_min=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,h={};function v(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}function m(){}function g(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}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")},m.prototype=v.prototype;var y=g.prototype=new m;y.constructor=g,p(y,v.prototype),y.isPureReactComponent=!0;var b=Array.isArray,w=Object.prototype.hasOwnProperty,E={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function k(t,n,r){var o,a={},i=null,l=null;if(null!=n)for(o in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(i=""+n.key),n)w.call(n,o)&&!S.hasOwnProperty(o)&&(a[o]=n[o]);var s=arguments.length-2;if(1===s)a.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];a.children=u}if(t&&t.defaultProps)for(o in s=t.defaultProps)void 0===a[o]&&(a[o]=s[o]);return{$$typeof:e,type:t,key:i,ref:l,props:a,_owner:E.current}}function _(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var T=/\/+/g;function x(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 C(n,r,o,a,i){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s=!1;if(null===n)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return i=i(s=n),n=""===a?"."+x(s,0):a,b(i)?(o="",null!=n&&(o=n.replace(T,"$&/")+"/"),C(i,r,o,"",(function(e){return e}))):null!=i&&(_(i)&&(i=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(i,o+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+n)),r.push(i)),1;if(s=0,a=""===a?".":a+":",b(n))for(var u=0;u<n.length;u++){var c=a+x(l=n[u],u);s+=C(l,r,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(l=n.next()).done;)s+=C(l=l.value,r,o,c=a+x(l,u++),i);else if("object"===l)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function D(e,t,n){if(null==e)return e;var r=[],o=0;return C(e,r,"","",(function(e){return t.call(n,e,o++)})),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 P={current:null},I={transition:null},M={ReactCurrentDispatcher:P,ReactCurrentBatchConfig:I,ReactCurrentOwner:E};return react_production_min.Children={map:D,forEach:function(e,t,n){D(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return D(e,(function(){t++})),t},toArray:function(e){return D(e,(function(e){return e}))||[]},only:function(e){if(!_(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},react_production_min.Component=v,react_production_min.Fragment=n,react_production_min.Profiler=o,react_production_min.PureComponent=g,react_production_min.StrictMode=r,react_production_min.Suspense=s,react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=M,react_production_min.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var o=p({},t.props),a=t.key,i=t.ref,l=t._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,l=E.current),void 0!==n.key&&(a=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)w.call(n,u)&&!S.hasOwnProperty(u)&&(o[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];o.children=s}return{$$typeof:e,type:t.type,key:a,ref:i,props:o,_owner:l}},react_production_min.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:a,_context:e},e.Consumer=e},react_production_min.createElement=k,react_production_min.createFactory=function(e){var t=k.bind(null,e);return t.type=e,t},react_production_min.createRef=function(){return{current:null}},react_production_min.forwardRef=function(e){return{$$typeof:l,render:e}},react_production_min.isValidElement=_,react_production_min.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:R}},react_production_min.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},react_production_min.startTransition=function(e){var t=I.transition;I.transition={};try{e()}finally{I.transition=t}},react_production_min.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},react_production_min.useCallback=function(e,t){return P.current.useCallback(e,t)},react_production_min.useContext=function(e){return P.current.useContext(e)},react_production_min.useDebugValue=function(){},react_production_min.useDeferredValue=function(e){return P.current.useDeferredValue(e)},react_production_min.useEffect=function(e,t){return P.current.useEffect(e,t)},react_production_min.useId=function(){return P.current.useId()},react_production_min.useImperativeHandle=function(e,t,n){return P.current.useImperativeHandle(e,t,n)},react_production_min.useInsertionEffect=function(e,t){return P.current.useInsertionEffect(e,t)},react_production_min.useLayoutEffect=function(e,t){return P.current.useLayoutEffect(e,t)},react_production_min.useMemo=function(e,t){return P.current.useMemo(e,t)},react_production_min.useReducer=function(e,t,n){return P.current.useReducer(e,t,n)},react_production_min.useRef=function(e){return P.current.useRef(e)},react_production_min.useState=function(e){return P.current.useState(e)},react_production_min.useSyncExternalStore=function(e,t,n){return P.current.useSyncExternalStore(e,t,n)},react_production_min.useTransition=function(){return P.current.useTransition()},react_production_min.version="18.2.0",react_production_min}var react_development={exports:{}},hasRequiredReact_development,module;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var extendStatics=function(e,t){return extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},extendStatics(e,t)};function __extends(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}extendStatics(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var __assign$1=function(){return __assign$1=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},__assign$1.apply(this,arguments)};function __rest(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n}function __awaiter(e,t,n,r){return new(n||(n=Promise))((function(a,o){function i(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?a(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(i,l)}s((r=r.apply(e,t||[])).next())}))}function __generator(e,t){var n,r,a,o,i={label:0,sent:function(){if(1&a[0])throw a[1];return a[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;i;)try{if(n=1,r&&(a=2&o[0]?r.return:o[0]?r.throw||((a=r.return)&&a.call(r),0):r.next)&&!(a=a.call(r,o[1])).done)return a;switch(r=0,a&&(o=[2&o[0],a.value]),o[0]){case 0:case 1:a=o;break;case 4:return i.label++,{value:o[1],done:!1};case 5:i.label++,r=o[1],o=[0];continue;case 7:o=i.ops.pop(),i.trys.pop();continue;default:if(!(a=i.trys,(a=a.length>0&&a[a.length-1])||6!==o[0]&&2!==o[0])){i=0;continue}if(3===o[0]&&(!a||o[1]>a[0]&&o[1]<a[3])){i.label=o[1];break}if(6===o[0]&&i.label<a[1]){i.label=a[1],a=o;break}if(a&&i.label<a[2]){i.label=a[2],i.ops.push(o);break}a[2]&&i.ops.pop(),i.trys.pop();continue}o=t.call(e,i)}catch(e){o=[6,e],r=0}finally{n=a=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}function __spreadArray(e,t,n){if(n||2===arguments.length)for(var r,a=0,o=t.length;a<o;a++)!r&&a in t||(r||(r=Array.prototype.slice.call(t,0,a)),r[a]=t[a]);return e.concat(r||Array.prototype.slice.call(t))}var commonjsGlobal="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function getDefaultExportFromCjs(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var react={exports:{}},react_production_min={},hasRequiredReact_production_min;function requireReact_production_min(){if(hasRequiredReact_production_min)return react_production_min;hasRequiredReact_production_min=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),r=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),i=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),u=Symbol.for("react.memo"),c=Symbol.for("react.lazy"),d=Symbol.iterator;var f={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},p=Object.assign,h={};function m(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}function v(){}function g(e,t,n){this.props=e,this.context=t,this.refs=h,this.updater=n||f}m.prototype.isReactComponent={},m.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")},m.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=m.prototype;var y=g.prototype=new v;y.constructor=g,p(y,m.prototype),y.isPureReactComponent=!0;var b=Array.isArray,w=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function _(t,n,r){var a,o={},i=null,l=null;if(null!=n)for(a in void 0!==n.ref&&(l=n.ref),void 0!==n.key&&(i=""+n.key),n)w.call(n,a)&&!E.hasOwnProperty(a)&&(o[a]=n[a]);var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){for(var u=Array(s),c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}if(t&&t.defaultProps)for(a in s=t.defaultProps)void 0===o[a]&&(o[a]=s[a]);return{$$typeof:e,type:t,key:i,ref:l,props:o,_owner:S.current}}function k(t){return"object"==typeof t&&null!==t&&t.$$typeof===e}var T=/\/+/g;function x(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 C(n,r,a,o,i){var l=typeof n;"undefined"!==l&&"boolean"!==l||(n=null);var s=!1;if(null===n)s=!0;else switch(l){case"string":case"number":s=!0;break;case"object":switch(n.$$typeof){case e:case t:s=!0}}if(s)return i=i(s=n),n=""===o?"."+x(s,0):o,b(i)?(a="",null!=n&&(a=n.replace(T,"$&/")+"/"),C(i,r,a,"",(function(e){return e}))):null!=i&&(k(i)&&(i=function(t,n){return{$$typeof:e,type:t.type,key:n,ref:t.ref,props:t.props,_owner:t._owner}}(i,a+(!i.key||s&&s.key===i.key?"":(""+i.key).replace(T,"$&/")+"/")+n)),r.push(i)),1;if(s=0,o=""===o?".":o+":",b(n))for(var u=0;u<n.length;u++){var c=o+x(l=n[u],u);s+=C(l,r,a,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=d&&e[d]||e["@@iterator"])?e:null}(n),"function"==typeof c)for(n=c.call(n),u=0;!(l=n.next()).done;)s+=C(l=l.value,r,a,c=o+x(l,u++),i);else if("object"===l)throw r=String(n),Error("Objects are not valid as a React child (found: "+("[object Object]"===r?"object with keys {"+Object.keys(n).join(", ")+"}":r)+"). If you meant to render a collection of children, use an array instead.");return s}function D(e,t,n){if(null==e)return e;var r=[],a=0;return C(e,r,"","",(function(e){return t.call(n,e,a++)})),r}function R(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},P={transition:null},I={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:P,ReactCurrentOwner:S};return react_production_min.Children={map:D,forEach:function(e,t,n){D(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return D(e,(function(){t++})),t},toArray:function(e){return D(e,(function(e){return e}))||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},react_production_min.Component=m,react_production_min.Fragment=n,react_production_min.Profiler=a,react_production_min.PureComponent=g,react_production_min.StrictMode=r,react_production_min.Suspense=s,react_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,react_production_min.cloneElement=function(t,n,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var a=p({},t.props),o=t.key,i=t.ref,l=t._owner;if(null!=n){if(void 0!==n.ref&&(i=n.ref,l=S.current),void 0!==n.key&&(o=""+n.key),t.type&&t.type.defaultProps)var s=t.type.defaultProps;for(u in n)w.call(n,u)&&!E.hasOwnProperty(u)&&(a[u]=void 0===n[u]&&void 0!==s?s[u]:n[u])}var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){s=Array(u);for(var c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}return{$$typeof:e,type:t.type,key:o,ref:i,props:a,_owner:l}},react_production_min.createContext=function(e){return(e={$$typeof:i,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},react_production_min.createElement=_,react_production_min.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},react_production_min.createRef=function(){return{current:null}},react_production_min.forwardRef=function(e){return{$$typeof:l,render:e}},react_production_min.isValidElement=k,react_production_min.lazy=function(e){return{$$typeof:c,_payload:{_status:-1,_result:e},_init:R}},react_production_min.memo=function(e,t){return{$$typeof:u,type:e,compare:void 0===t?null:t}},react_production_min.startTransition=function(e){var t=P.transition;P.transition={};try{e()}finally{P.transition=t}},react_production_min.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},react_production_min.useCallback=function(e,t){return N.current.useCallback(e,t)},react_production_min.useContext=function(e){return N.current.useContext(e)},react_production_min.useDebugValue=function(){},react_production_min.useDeferredValue=function(e){return N.current.useDeferredValue(e)},react_production_min.useEffect=function(e,t){return N.current.useEffect(e,t)},react_production_min.useId=function(){return N.current.useId()},react_production_min.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},react_production_min.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},react_production_min.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},react_production_min.useMemo=function(e,t){return N.current.useMemo(e,t)},react_production_min.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},react_production_min.useRef=function(e){return N.current.useRef(e)},react_production_min.useState=function(e){return N.current.useState(e)},react_production_min.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},react_production_min.useTransition=function(){return N.current.useTransition()},react_production_min.version="18.2.0",react_production_min}var react_development={exports:{}},hasRequiredReact_development,module;
2
2
  /**
3
3
  * @license React
4
4
  * react.development.js
@@ -7,7 +7,7 @@
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */function requireReact_development(){return hasRequiredReact_development||(hasRequiredReact_development=1,function(e,t){"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),v=Symbol.iterator;function m(e){if(null===e||"object"!=typeof e)return null;var t=v&&e[v]||e["@@iterator"];return"function"==typeof t?t:null}var g={current:null},y={transition:null},b={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},w={current:null},E={},S=null;function k(e){S=e}E.setExtraStackFrame=function(e){S=e},E.getCurrentStack=null,E.getStackAddendum=function(){var e="";S&&(e+=S);var t=E.getCurrentStack;return t&&(e+=t()||""),e};var _={ReactCurrentDispatcher:g,ReactCurrentBatchConfig:y,ReactCurrentOwner:w};function T(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];C("warn",e,n)}function x(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];C("error",e,n)}function C(e,t,n){var r=_.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var o=n.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}_.ReactDebugCurrentFrame=E,_.ReactCurrentActQueue=b;var D={};function R(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",o=r+"."+t;D[o]||(x("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),D[o]=!0)}var P={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){R(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){R(e,"replaceState")},enqueueSetState:function(e,t,n,r){R(e,"setState")}},I=Object.assign,M={};function N(e,t,n){this.props=e,this.context=t,this.refs=M,this.updater=n||P}Object.freeze(M),N.prototype.isReactComponent={},N.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new 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")},N.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var O={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},A=function(e,t){Object.defineProperty(N.prototype,e,{get:function(){T("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var L in O)O.hasOwnProperty(L)&&A(L,O[L]);function z(){}function H(e,t,n){this.props=e,this.context=t,this.refs=M,this.updater=n||P}z.prototype=N.prototype;var F=H.prototype=new z;F.constructor=H,I(F,N.prototype),F.isPureReactComponent=!0;var U=Array.isArray;function j(e){return U(e)}function V(e){return""+e}function W(e){if(function(e){try{return V(e),!1}catch(e){return!0}}(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),V(e)}function B(e){return e.displayName||"Context"}function $(e){if(null==e)return null;if("number"==typeof e.tag&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case o:return"Fragment";case r:return"Portal";case i:return"Profiler";case a:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return B(e)+".Consumer";case l:return B(e._context)+".Provider";case u:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case f:var t=e.displayName||null;return null!==t?t:$(e.type)||"Memo";case p:var n=e,h=n._payload,v=n._init;try{return $(v(h))}catch(e){return null}}return null}var q,G,Y,K=Object.prototype.hasOwnProperty,Q={key:!0,ref:!0,__self:!0,__source:!0};function X(e){if(K.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function Z(e){if(K.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function J(e,t){var n=function(){q||(q=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function ee(e,t){var n=function(){G||(G=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}function te(e){if("string"==typeof e.ref&&w.current&&e.__self&&w.current.stateNode!==e.__self){var t=$(w.current.type);Y[t]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),Y[t]=!0)}}Y={};var ne=function(e,t,r,o,a,i,l){var s={$$typeof:n,type:e,key:t,ref:r,props:l,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function re(e,t,n){var r,o={},a=null,i=null,l=null,s=null;if(null!=t)for(r in X(t)&&(i=t.ref,te(t)),Z(t)&&(W(t.key),a=""+t.key),l=void 0===t.__self?null:t.__self,s=void 0===t.__source?null:t.__source,t)K.call(t,r)&&!Q.hasOwnProperty(r)&&(o[r]=t[r]);var u=arguments.length-2;if(1===u)o.children=n;else if(u>1){for(var c=Array(u),d=0;d<u;d++)c[d]=arguments[d+2];Object.freeze&&Object.freeze(c),o.children=c}if(e&&e.defaultProps){var f=e.defaultProps;for(r in f)void 0===o[r]&&(o[r]=f[r])}if(a||i){var p="function"==typeof e?e.displayName||e.name||"Unknown":e;a&&J(o,p),i&&ee(o,p)}return ne(e,a,i,l,s,w.current,o)}function oe(e,t,n){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r,o,a=I({},e.props),i=e.key,l=e.ref,s=e._self,u=e._source,c=e._owner;if(null!=t)for(r in X(t)&&(l=t.ref,c=w.current),Z(t)&&(W(t.key),i=""+t.key),e.type&&e.type.defaultProps&&(o=e.type.defaultProps),t)K.call(t,r)&&!Q.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==o?a[r]=o[r]:a[r]=t[r]);var d=arguments.length-2;if(1===d)a.children=n;else if(d>1){for(var f=Array(d),p=0;p<d;p++)f[p]=arguments[p+2];a.children=f}return ne(e.type,i,l,s,u,c,a)}function ae(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var ie=!1,le=/\/+/g;function se(e){return e.replace(le,"$&/")}function ue(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(W(e.key),n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function ce(e,t,o,a,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s,u,c,d=!1;if(null===e)d=!0;else switch(l){case"string":case"number":d=!0;break;case"object":switch(e.$$typeof){case n:case r:d=!0}}if(d){var f=e,p=i(f),h=""===a?"."+ue(f,0):a;if(j(p)){var v="";null!=h&&(v=se(h)+"/"),ce(p,t,v,"",(function(e){return e}))}else null!=p&&(ae(p)&&(!p.key||f&&f.key===p.key||W(p.key),s=p,u=o+(!p.key||f&&f.key===p.key?"":se(""+p.key)+"/")+h,p=ne(s.type,u,s.ref,s._self,s._source,s._owner,s.props)),t.push(p));return 1}var g=0,y=""===a?".":a+":";if(j(e))for(var b=0;b<e.length;b++)g+=ce(c=e[b],t,o,y+ue(c,b),i);else{var w=m(e);if("function"==typeof w){var E=e;w===E.entries&&(ie||T("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ie=!0);for(var S,k=w.call(E),_=0;!(S=k.next()).done;)g+=ce(c=S.value,t,o,y+ue(c,_++),i)}else if("object"===l){var x=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===x?"object with keys {"+Object.keys(e).join(", ")+"}":x)+"). If you meant to render a collection of children, use an array instead.")}}return g}function de(e,t,n){if(null==e)return e;var r=[],o=0;return ce(e,r,"","",(function(e){return t.call(n,e,o++)})),r}var fe;function pe(e){if(-1===e._status){var t=(0,e._result)();if(t.then((function(t){if(0===e._status||-1===e._status){var n=e;n._status=1,n._result=t}}),(function(t){if(0===e._status||-1===e._status){var n=e;n._status=2,n._result=t}})),-1===e._status){var n=e;n._status=0,n._result=t}}if(1===e._status){var r=e._result;return void 0===r&&x("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",r),"default"in r||x("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",r),r.default}throw e._result}function he(e){return"string"==typeof e||"function"==typeof e||(e===o||e===i||e===a||e===c||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===l||e.$$typeof===s||e.$$typeof===u||e.$$typeof===fe||void 0!==e.getModuleId))}function ve(){var e=g.current;return null===e&&x("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}fe=Symbol.for("react.module.reference");var me,ge,ye,be,we,Ee,Se,ke=0;function _e(){}_e.__reactDisabledLog=!0;var Te,xe=_.ReactCurrentDispatcher;function Ce(e,t,n){if(void 0===Te)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);Te=r&&r[1]||""}return"\n"+Te+e}var De,Re=!1,Pe="function"==typeof WeakMap?WeakMap:Map;function Ie(e,t){if(!e||Re)return"";var n,r=De.get(e);if(void 0!==r)return r;Re=!0;var o,a=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=xe.current,xe.current=null,function(){if(0===ke){me=console.log,ge=console.info,ye=console.warn,be=console.error,we=console.group,Ee=console.groupCollapsed,Se=console.groupEnd;var e={configurable:!0,enumerable:!0,value:_e,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}ke++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(e){n=e}Reflect.construct(e,[],i)}else{try{i.call()}catch(e){n=e}e.call(i.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),s=n.stack.split("\n"),u=l.length-1,c=s.length-1;u>=1&&c>=0&&l[u]!==s[c];)c--;for(;u>=1&&c>=0;u--,c--)if(l[u]!==s[c]){if(1!==u||1!==c)do{if(u--,--c<0||l[u]!==s[c]){var d="\n"+l[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&De.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{Re=!1,xe.current=o,function(){if(0==--ke){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:I({},e,{value:me}),info:I({},e,{value:ge}),warn:I({},e,{value:ye}),error:I({},e,{value:be}),group:I({},e,{value:we}),groupCollapsed:I({},e,{value:Ee}),groupEnd:I({},e,{value:Se})})}ke<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=a}var f=e?e.displayName||e.name:"",p=f?Ce(f):"";return"function"==typeof e&&De.set(e,p),p}function Me(e,t,n){if(null==e)return"";if("function"==typeof e)return Ie(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Ce(e);switch(e){case c:return Ce("Suspense");case d:return Ce("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return Ie(e.render,!1);case f:return Me(e.type,t,n);case p:var r=e,o=r._payload,a=r._init;try{return Me(a(o),t,n)}catch(e){}}return""}De=new Pe;var Ne,Oe={},Ae=_.ReactDebugCurrentFrame;function Le(e){if(e){var t=e._owner,n=Me(e.type,e._source,t?t.type:null);Ae.setExtraStackFrame(n)}else Ae.setExtraStackFrame(null)}function ze(e){if(e){var t=e._owner;k(Me(e.type,e._source,t?t.type:null))}else k(null)}function He(){if(w.current){var e=$(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}function Fe(e){return null!=e&&void 0!==(t=e.__source)?"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+".":"";var t}Ne=!1;var Ue={};function je(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=He();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!Ue[n]){Ue[n]=!0;var r="";e&&e._owner&&e._owner!==w.current&&(r=" It was passed a child from "+$(e._owner.type)+"."),ze(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),ze(null)}}}function Ve(e,t){if("object"==typeof e)if(j(e))for(var n=0;n<e.length;n++){var r=e[n];ae(r)&&je(r,t)}else if(ae(e))e._store&&(e._store.validated=!0);else if(e){var o=m(e);if("function"==typeof o&&o!==e.entries)for(var a,i=o.call(e);!(a=i.next()).done;)ae(a.value)&&je(a.value,t)}}function We(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==f)return;t=n.propTypes}if(t){var r=$(n);!function(e,t,n,r,o){var a=Function.call.bind(K);for(var i in e)if(a(e,i)){var l=void 0;try{if("function"!=typeof e[i]){var s=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}!l||l instanceof Error||(Le(o),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,typeof l),Le(null)),l instanceof Error&&!(l.message in Oe)&&(Oe[l.message]=!0,Le(o),x("Failed %s type: %s",n,l.message),Le(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!Ne){Ne=!0,x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",$(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Be(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){ze(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),ze(null);break}}null!==e.ref&&(ze(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),ze(null))}function $e(e,t,r){var a=he(e);if(!a){var i="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var l,s=Fe(t);i+=s||He(),null===e?l="null":j(e)?l="array":void 0!==e&&e.$$typeof===n?(l="<"+($(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,x("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,i)}var u=re.apply(this,arguments);if(null==u)return u;if(a)for(var c=2;c<arguments.length;c++)Ve(arguments[c],e);return e===o?Be(u):We(u),u}var qe=!1;var Ge=!1,Ye=null;var Ke=0,Qe=!1;function Xe(e){e!==Ke-1&&x("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ke=e}function Ze(t,n,r){var o=b.current;if(null!==o)try{et(o),function(t){if(null===Ye)try{var n=("require"+Math.random()).slice(0,7),r=e&&e[n];Ye=r.call(e,"timers").setImmediate}catch(e){Ye=function(e){!1===Ge&&(Ge=!0,"undefined"==typeof MessageChannel&&x("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}Ye(t)}((function(){0===o.length?(b.current=null,n(t)):Ze(t,n,r)}))}catch(e){r(e)}else n(t)}var Je=!1;function et(e){if(!Je){Je=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}e.length=0}catch(n){throw e=e.slice(t+1),n}finally{Je=!1}}}var tt=$e,nt=function(e,t,n){for(var r=oe.apply(this,arguments),o=2;o<arguments.length;o++)Ve(arguments[o],r.type);return We(r),r},rt=function(e){var t=$e.bind(null,e);return t.type=e,qe||(qe=!0,T("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return T("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},ot={map:de,forEach:function(e,t,n){de(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return de(e,(function(){t++})),t},toArray:function(e){return de(e,(function(e){return e}))||[]},only:function(e){if(!ae(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=ot,t.Component=N,t.Fragment=o,t.Profiler=i,t.PureComponent=H,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=_,t.cloneElement=nt,t.createContext=function(e){var t={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:l,_context:t};var n=!1,r=!1,o=!1,a={$$typeof:s,_context:t};return Object.defineProperties(a,{Provider:{get:function(){return r||(r=!0,x("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return n||(n=!0,x("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){o||(T("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),o=!0)}}}),t.Consumer=a,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=tt,t.createFactory=rt,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===f?x("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?x("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&x("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||x("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,n={$$typeof:u,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(n){t=n,e.name||e.displayName||(e.displayName=n)}}),n},t.isValidElement=ae,t.lazy=function(e){var t,n,r={$$typeof:p,_payload:{_status:-1,_result:e},_init:pe};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){x("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(r,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){x("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(r,"propTypes",{enumerable:!0})}}}),r},t.memo=function(e,t){he(e)||x("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var n,r={$$typeof:f,type:e,compare:void 0===t?null:t};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(e.displayName=t)}}),r},t.startTransition=function(e,t){var n=y.transition;y.transition={};var r=y.transition;y.transition._updatedFibers=new Set;try{e()}finally{if(y.transition=n,null===n&&r._updatedFibers)r._updatedFibers.size>10&&T("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),r._updatedFibers.clear()}},t.unstable_act=function(e){var t=Ke;Ke++,null===b.current&&(b.current=[]);var n,r=b.isBatchingLegacy;try{if(b.isBatchingLegacy=!0,n=e(),!r&&b.didScheduleLegacyUpdate){var o=b.current;null!==o&&(b.didScheduleLegacyUpdate=!1,et(o))}}catch(e){throw Xe(t),e}finally{b.isBatchingLegacy=r}if(null!==n&&"object"==typeof n&&"function"==typeof n.then){var a=n,i=!1,l={then:function(e,n){i=!0,a.then((function(r){Xe(t),0===Ke?Ze(r,e,n):e(r)}),(function(e){Xe(t),n(e)}))}};return Qe||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){i||(Qe=!0,x("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),l}var s=n;if(Xe(t),0===Ke){var u=b.current;return null!==u&&(et(u),b.current=null),{then:function(e,t){null===b.current?(b.current=[],Ze(s,e,t)):e(s)}}}return{then:function(e,t){e(s)}}},t.useCallback=function(e,t){return ve().useCallback(e,t)},t.useContext=function(e){var t=ve();if(void 0!==e._context){var n=e._context;n.Consumer===e?x("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&x("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return ve().useDebugValue(e,t)},t.useDeferredValue=function(e){return ve().useDeferredValue(e)},t.useEffect=function(e,t){return ve().useEffect(e,t)},t.useId=function(){return ve().useId()},t.useImperativeHandle=function(e,t,n){return ve().useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return ve().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return ve().useLayoutEffect(e,t)},t.useMemo=function(e,t){return ve().useMemo(e,t)},t.useReducer=function(e,t,n){return ve().useReducer(e,t,n)},t.useRef=function(e){return ve().useRef(e)},t.useState=function(e){return ve().useState(e)},t.useSyncExternalStore=function(e,t,n){return ve().useSyncExternalStore(e,t,n)},t.useTransition=function(){return ve().useTransition()},t.version="18.2.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(react_development,react_development.exports)),react_development.exports}module=react,"production"===process.env.NODE_ENV?module.exports=requireReact_production_min():module.exports=requireReact_development();var React=getDefaultExportFromCjs(react.exports),reactDom={exports:{}},reactDom_production_min={},scheduler={exports:{}},scheduler_production_min={},hasRequiredScheduler_production_min;function requireScheduler_production_min(){return hasRequiredScheduler_production_min||(hasRequiredScheduler_production_min=1,function(e){function t(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 n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,a=e.length,i=a>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>o(s,n))u<a&&0>o(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<a&&0>o(c,n)))break e;e[r]=c,e[u]=n,r=u}}}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 a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,v=!1,m="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))break;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function w(e){if(v=!1,b(e),!h)if(null!==n(s))h=!0,M(E);else{var t=n(u);null!==t&&N(w,t.startTime-e)}}function E(t,o){h=!1,v&&(v=!1,g(T),T=-1),p=!0;var a=f;try{for(b(o),d=n(s);null!==d&&(!(d.expirationTime>o)||t&&!D());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var l=i(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(o)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var m=n(u);null!==m&&N(w,m.startTime-o),c=!1}return c}finally{d=null,f=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,k=!1,_=null,T=-1,x=5,C=-1;function D(){return!(e.unstable_now()-C<x)}function R(){if(null!==_){var t=e.unstable_now();C=t;var n=!0;try{n=_(!0,t)}finally{n?S():(k=!1,_=null)}}else k=!1}if("function"==typeof y)S=function(){y(R)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,I=P.port2;P.port1.onmessage=R,S=function(){I.postMessage(null)}}else S=function(){m(R,0)};function M(e){_=e,k||(k=!0,S())}function N(t,n){T=m((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,M(E))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,a){var i=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?i+a:i:a=i,r){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 r={id:c++,callback:o,priorityLevel:r,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(r.sortIndex=a,t(u,r),null===n(s)&&r===n(u)&&(v?(g(T),T=-1):v=!0,N(w,a-i))):(r.sortIndex=l,t(s,r),h||p||(h=!0,M(E))),r},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(scheduler_production_min)),scheduler_production_min}var scheduler_development={},hasRequiredScheduler_development,hasRequiredScheduler,hasRequiredReactDom_production_min;
10
+ */function requireReact_development(){return hasRequiredReact_development||(hasRequiredReact_development=1,function(e,t){"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);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"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),m=Symbol.iterator;function v(e){if(null===e||"object"!=typeof e)return null;var t=m&&e[m]||e["@@iterator"];return"function"==typeof t?t:null}var g={current:null},y={transition:null},b={current:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1},w={current:null},S={},E=null;function _(e){E=e}S.setExtraStackFrame=function(e){E=e},S.getCurrentStack=null,S.getStackAddendum=function(){var e="";E&&(e+=E);var t=S.getCurrentStack;return t&&(e+=t()||""),e};var k={ReactCurrentDispatcher:g,ReactCurrentBatchConfig:y,ReactCurrentOwner:w};function T(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];C("warn",e,n)}function x(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];C("error",e,n)}function C(e,t,n){var r=k.ReactDebugCurrentFrame.getStackAddendum();""!==r&&(t+="%s",n=n.concat([r]));var a=n.map((function(e){return String(e)}));a.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,a)}k.ReactDebugCurrentFrame=S,k.ReactCurrentActQueue=b;var D={};function R(e,t){var n=e.constructor,r=n&&(n.displayName||n.name)||"ReactClass",a=r+"."+t;D[a]||(x("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",t,r),D[a]=!0)}var N={isMounted:function(e){return!1},enqueueForceUpdate:function(e,t,n){R(e,"forceUpdate")},enqueueReplaceState:function(e,t,n,r){R(e,"replaceState")},enqueueSetState:function(e,t,n,r){R(e,"setState")}},P=Object.assign,I={};function O(e,t,n){this.props=e,this.context=t,this.refs=I,this.updater=n||N}Object.freeze(I),O.prototype.isReactComponent={},O.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw new 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")},O.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};var M={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},A=function(e,t){Object.defineProperty(O.prototype,e,{get:function(){T("%s(...) is deprecated in plain JavaScript React classes. %s",t[0],t[1])}})};for(var F in M)M.hasOwnProperty(F)&&A(F,M[F]);function L(){}function z(e,t,n){this.props=e,this.context=t,this.refs=I,this.updater=n||N}L.prototype=O.prototype;var H=z.prototype=new L;H.constructor=z,P(H,O.prototype),H.isPureReactComponent=!0;var U=Array.isArray;function $(e){return U(e)}function j(e){return""+e}function V(e){if(function(e){try{return j(e),!1}catch(e){return!0}}(e))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",function(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}(e)),j(e)}function W(e){return e.displayName||"Context"}function B(e){if(null==e)return null;if("number"==typeof e.tag&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case a:return"Fragment";case r:return"Portal";case i:return"Profiler";case o:return"StrictMode";case c:return"Suspense";case d:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case s:return W(e)+".Consumer";case l:return W(e._context)+".Provider";case u:return function(e,t,n){var r=e.displayName;if(r)return r;var a=t.displayName||t.name||"";return""!==a?n+"("+a+")":n}(e,e.render,"ForwardRef");case f:var t=e.displayName||null;return null!==t?t:B(e.type)||"Memo";case p:var n=e,h=n._payload,m=n._init;try{return B(m(h))}catch(e){return null}}return null}var q,Y,G,K=Object.prototype.hasOwnProperty,Q={key:!0,ref:!0,__self:!0,__source:!0};function X(e){if(K.call(e,"ref")){var t=Object.getOwnPropertyDescriptor(e,"ref").get;if(t&&t.isReactWarning)return!1}return void 0!==e.ref}function Z(e){if(K.call(e,"key")){var t=Object.getOwnPropertyDescriptor(e,"key").get;if(t&&t.isReactWarning)return!1}return void 0!==e.key}function J(e,t){var n=function(){q||(q=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"key",{get:n,configurable:!0})}function ee(e,t){var n=function(){Y||(Y=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",t))};n.isReactWarning=!0,Object.defineProperty(e,"ref",{get:n,configurable:!0})}function te(e){if("string"==typeof e.ref&&w.current&&e.__self&&w.current.stateNode!==e.__self){var t=B(w.current.type);G[t]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',t,e.ref),G[t]=!0)}}G={};var ne=function(e,t,r,a,o,i,l){var s={$$typeof:n,type:e,key:t,ref:r,props:l,_owner:i,_store:{}};return Object.defineProperty(s._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(s,"_self",{configurable:!1,enumerable:!1,writable:!1,value:a}),Object.defineProperty(s,"_source",{configurable:!1,enumerable:!1,writable:!1,value:o}),Object.freeze&&(Object.freeze(s.props),Object.freeze(s)),s};function re(e,t,n){var r,a={},o=null,i=null,l=null,s=null;if(null!=t)for(r in X(t)&&(i=t.ref,te(t)),Z(t)&&(V(t.key),o=""+t.key),l=void 0===t.__self?null:t.__self,s=void 0===t.__source?null:t.__source,t)K.call(t,r)&&!Q.hasOwnProperty(r)&&(a[r]=t[r]);var u=arguments.length-2;if(1===u)a.children=n;else if(u>1){for(var c=Array(u),d=0;d<u;d++)c[d]=arguments[d+2];Object.freeze&&Object.freeze(c),a.children=c}if(e&&e.defaultProps){var f=e.defaultProps;for(r in f)void 0===a[r]&&(a[r]=f[r])}if(o||i){var p="function"==typeof e?e.displayName||e.name||"Unknown":e;o&&J(a,p),i&&ee(a,p)}return ne(e,o,i,l,s,w.current,a)}function ae(e,t,n){if(null==e)throw new Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var r,a,o=P({},e.props),i=e.key,l=e.ref,s=e._self,u=e._source,c=e._owner;if(null!=t)for(r in X(t)&&(l=t.ref,c=w.current),Z(t)&&(V(t.key),i=""+t.key),e.type&&e.type.defaultProps&&(a=e.type.defaultProps),t)K.call(t,r)&&!Q.hasOwnProperty(r)&&(void 0===t[r]&&void 0!==a?o[r]=a[r]:o[r]=t[r]);var d=arguments.length-2;if(1===d)o.children=n;else if(d>1){for(var f=Array(d),p=0;p<d;p++)f[p]=arguments[p+2];o.children=f}return ne(e.type,i,l,s,u,c,o)}function oe(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var ie=!1,le=/\/+/g;function se(e){return e.replace(le,"$&/")}function ue(e,t){return"object"==typeof e&&null!==e&&null!=e.key?(V(e.key),n=""+e.key,r={"=":"=0",":":"=2"},"$"+n.replace(/[=:]/g,(function(e){return r[e]}))):t.toString(36);var n,r}function ce(e,t,a,o,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var s,u,c,d=!1;if(null===e)d=!0;else switch(l){case"string":case"number":d=!0;break;case"object":switch(e.$$typeof){case n:case r:d=!0}}if(d){var f=e,p=i(f),h=""===o?"."+ue(f,0):o;if($(p)){var m="";null!=h&&(m=se(h)+"/"),ce(p,t,m,"",(function(e){return e}))}else null!=p&&(oe(p)&&(!p.key||f&&f.key===p.key||V(p.key),s=p,u=a+(!p.key||f&&f.key===p.key?"":se(""+p.key)+"/")+h,p=ne(s.type,u,s.ref,s._self,s._source,s._owner,s.props)),t.push(p));return 1}var g=0,y=""===o?".":o+":";if($(e))for(var b=0;b<e.length;b++)g+=ce(c=e[b],t,a,y+ue(c,b),i);else{var w=v(e);if("function"==typeof w){var S=e;w===S.entries&&(ie||T("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ie=!0);for(var E,_=w.call(S),k=0;!(E=_.next()).done;)g+=ce(c=E.value,t,a,y+ue(c,k++),i)}else if("object"===l){var x=String(e);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===x?"object with keys {"+Object.keys(e).join(", ")+"}":x)+"). If you meant to render a collection of children, use an array instead.")}}return g}function de(e,t,n){if(null==e)return e;var r=[],a=0;return ce(e,r,"","",(function(e){return t.call(n,e,a++)})),r}var fe;function pe(e){if(-1===e._status){var t=(0,e._result)();if(t.then((function(t){if(0===e._status||-1===e._status){var n=e;n._status=1,n._result=t}}),(function(t){if(0===e._status||-1===e._status){var n=e;n._status=2,n._result=t}})),-1===e._status){var n=e;n._status=0,n._result=t}}if(1===e._status){var r=e._result;return void 0===r&&x("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))\n\nDid you accidentally put curly braces around the import?",r),"default"in r||x("lazy: Expected the result of a dynamic import() call. Instead received: %s\n\nYour code should look like: \n const MyComponent = lazy(() => import('./MyComponent'))",r),r.default}throw e._result}function he(e){return"string"==typeof e||"function"==typeof e||(e===a||e===i||e===o||e===c||e===d||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===p||e.$$typeof===f||e.$$typeof===l||e.$$typeof===s||e.$$typeof===u||e.$$typeof===fe||void 0!==e.getModuleId))}function me(){var e=g.current;return null===e&&x("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem."),e}fe=Symbol.for("react.module.reference");var ve,ge,ye,be,we,Se,Ee,_e=0;function ke(){}ke.__reactDisabledLog=!0;var Te,xe=k.ReactCurrentDispatcher;function Ce(e,t,n){if(void 0===Te)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);Te=r&&r[1]||""}return"\n"+Te+e}var De,Re=!1,Ne="function"==typeof WeakMap?WeakMap:Map;function Pe(e,t){if(!e||Re)return"";var n,r=De.get(e);if(void 0!==r)return r;Re=!0;var a,o=Error.prepareStackTrace;Error.prepareStackTrace=void 0,a=xe.current,xe.current=null,function(){if(0===_e){ve=console.log,ge=console.info,ye=console.warn,be=console.error,we=console.group,Se=console.groupCollapsed,Ee=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}_e++}();try{if(t){var i=function(){throw Error()};if(Object.defineProperty(i.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(i,[])}catch(e){n=e}Reflect.construct(e,[],i)}else{try{i.call()}catch(e){n=e}e.call(i.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var l=t.stack.split("\n"),s=n.stack.split("\n"),u=l.length-1,c=s.length-1;u>=1&&c>=0&&l[u]!==s[c];)c--;for(;u>=1&&c>=0;u--,c--)if(l[u]!==s[c]){if(1!==u||1!==c)do{if(u--,--c<0||l[u]!==s[c]){var d="\n"+l[u].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),"function"==typeof e&&De.set(e,d),d}}while(u>=1&&c>=0);break}}}finally{Re=!1,xe.current=a,function(){if(0==--_e){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:P({},e,{value:ve}),info:P({},e,{value:ge}),warn:P({},e,{value:ye}),error:P({},e,{value:be}),group:P({},e,{value:we}),groupCollapsed:P({},e,{value:Se}),groupEnd:P({},e,{value:Ee})})}_e<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=o}var f=e?e.displayName||e.name:"",p=f?Ce(f):"";return"function"==typeof e&&De.set(e,p),p}function Ie(e,t,n){if(null==e)return"";if("function"==typeof e)return Pe(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return Ce(e);switch(e){case c:return Ce("Suspense");case d:return Ce("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case u:return Pe(e.render,!1);case f:return Ie(e.type,t,n);case p:var r=e,a=r._payload,o=r._init;try{return Ie(o(a),t,n)}catch(e){}}return""}De=new Ne;var Oe,Me={},Ae=k.ReactDebugCurrentFrame;function Fe(e){if(e){var t=e._owner,n=Ie(e.type,e._source,t?t.type:null);Ae.setExtraStackFrame(n)}else Ae.setExtraStackFrame(null)}function Le(e){if(e){var t=e._owner;_(Ie(e.type,e._source,t?t.type:null))}else _(null)}function ze(){if(w.current){var e=B(w.current.type);if(e)return"\n\nCheck the render method of `"+e+"`."}return""}function He(e){return null!=e&&void 0!==(t=e.__source)?"\n\nCheck your code at "+t.fileName.replace(/^.*[\\\/]/,"")+":"+t.lineNumber+".":"";var t}Oe=!1;var Ue={};function $e(e,t){if(e._store&&!e._store.validated&&null==e.key){e._store.validated=!0;var n=function(e){var t=ze();if(!t){var n="string"==typeof e?e:e.displayName||e.name;n&&(t="\n\nCheck the top-level render call using <"+n+">.")}return t}(t);if(!Ue[n]){Ue[n]=!0;var r="";e&&e._owner&&e._owner!==w.current&&(r=" It was passed a child from "+B(e._owner.type)+"."),Le(e),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',n,r),Le(null)}}}function je(e,t){if("object"==typeof e)if($(e))for(var n=0;n<e.length;n++){var r=e[n];oe(r)&&$e(r,t)}else if(oe(e))e._store&&(e._store.validated=!0);else if(e){var a=v(e);if("function"==typeof a&&a!==e.entries)for(var o,i=a.call(e);!(o=i.next()).done;)oe(o.value)&&$e(o.value,t)}}function Ve(e){var t,n=e.type;if(null!=n&&"string"!=typeof n){if("function"==typeof n)t=n.propTypes;else{if("object"!=typeof n||n.$$typeof!==u&&n.$$typeof!==f)return;t=n.propTypes}if(t){var r=B(n);!function(e,t,n,r,a){var o=Function.call.bind(K);for(var i in e)if(o(e,i)){var l=void 0;try{if("function"!=typeof e[i]){var s=Error((r||"React class")+": "+n+" type `"+i+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[i]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw s.name="Invariant Violation",s}l=e[i](t,i,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){l=e}!l||l instanceof Error||(Fe(a),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,i,typeof l),Fe(null)),l instanceof Error&&!(l.message in Me)&&(Me[l.message]=!0,Fe(a),x("Failed %s type: %s",n,l.message),Fe(null))}}(t,e.props,"prop",r,e)}else if(void 0!==n.PropTypes&&!Oe){Oe=!0,x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",B(n)||"Unknown")}"function"!=typeof n.getDefaultProps||n.getDefaultProps.isReactClassApproved||x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function We(e){for(var t=Object.keys(e.props),n=0;n<t.length;n++){var r=t[n];if("children"!==r&&"key"!==r){Le(e),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",r),Le(null);break}}null!==e.ref&&(Le(e),x("Invalid attribute `ref` supplied to `React.Fragment`."),Le(null))}function Be(e,t,r){var o=he(e);if(!o){var i="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(i+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var l,s=He(t);i+=s||ze(),null===e?l="null":$(e)?l="array":void 0!==e&&e.$$typeof===n?(l="<"+(B(e.type)||"Unknown")+" />",i=" Did you accidentally export a JSX literal instead of a component?"):l=typeof e,x("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",l,i)}var u=re.apply(this,arguments);if(null==u)return u;if(o)for(var c=2;c<arguments.length;c++)je(arguments[c],e);return e===a?We(u):Ve(u),u}var qe=!1;var Ye=!1,Ge=null;var Ke=0,Qe=!1;function Xe(e){e!==Ke-1&&x("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),Ke=e}function Ze(t,n,r){var a=b.current;if(null!==a)try{et(a),function(t){if(null===Ge)try{var n=("require"+Math.random()).slice(0,7),r=e&&e[n];Ge=r.call(e,"timers").setImmediate}catch(e){Ge=function(e){!1===Ye&&(Ye=!0,"undefined"==typeof MessageChannel&&x("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var t=new MessageChannel;t.port1.onmessage=e,t.port2.postMessage(void 0)}}Ge(t)}((function(){0===a.length?(b.current=null,n(t)):Ze(t,n,r)}))}catch(e){r(e)}else n(t)}var Je=!1;function et(e){if(!Je){Je=!0;var t=0;try{for(;t<e.length;t++){var n=e[t];do{n=n(!0)}while(null!==n)}e.length=0}catch(n){throw e=e.slice(t+1),n}finally{Je=!1}}}var tt=Be,nt=function(e,t,n){for(var r=ae.apply(this,arguments),a=2;a<arguments.length;a++)je(arguments[a],r.type);return Ve(r),r},rt=function(e){var t=Be.bind(null,e);return t.type=e,qe||(qe=!0,T("React.createFactory() is deprecated and will be removed in a future major release. Consider using JSX or use React.createElement() directly instead.")),Object.defineProperty(t,"type",{enumerable:!1,get:function(){return T("Factory.type is deprecated. Access the class directly before passing it to createFactory."),Object.defineProperty(this,"type",{value:e}),e}}),t},at={map:de,forEach:function(e,t,n){de(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return de(e,(function(){t++})),t},toArray:function(e){return de(e,(function(e){return e}))||[]},only:function(e){if(!oe(e))throw new Error("React.Children.only expected to receive a single React element child.");return e}};t.Children=at,t.Component=O,t.Fragment=a,t.Profiler=i,t.PureComponent=z,t.StrictMode=o,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=k,t.cloneElement=nt,t.createContext=function(e){var t={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null};t.Provider={$$typeof:l,_context:t};var n=!1,r=!1,a=!1,o={$$typeof:s,_context:t};return Object.defineProperties(o,{Provider:{get:function(){return r||(r=!0,x("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")),t.Provider},set:function(e){t.Provider=e}},_currentValue:{get:function(){return t._currentValue},set:function(e){t._currentValue=e}},_currentValue2:{get:function(){return t._currentValue2},set:function(e){t._currentValue2=e}},_threadCount:{get:function(){return t._threadCount},set:function(e){t._threadCount=e}},Consumer:{get:function(){return n||(n=!0,x("Rendering <Context.Consumer.Consumer> is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?")),t.Consumer}},displayName:{get:function(){return t.displayName},set:function(e){a||(T("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.",e),a=!0)}}}),t.Consumer=o,t._currentRenderer=null,t._currentRenderer2=null,t},t.createElement=tt,t.createFactory=rt,t.createRef=function(){var e={current:null};return Object.seal(e),e},t.forwardRef=function(e){null!=e&&e.$$typeof===f?x("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):"function"!=typeof e?x("forwardRef requires a render function but was given %s.",null===e?"null":typeof e):0!==e.length&&2!==e.length&&x("forwardRef render functions accept exactly two parameters: props and ref. %s",1===e.length?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),null!=e&&(null==e.defaultProps&&null==e.propTypes||x("forwardRef render functions do not support propTypes or defaultProps. Did you accidentally pass a React component?"));var t,n={$$typeof:u,render:e};return Object.defineProperty(n,"displayName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(n){t=n,e.name||e.displayName||(e.displayName=n)}}),n},t.isValidElement=oe,t.lazy=function(e){var t,n,r={$$typeof:p,_payload:{_status:-1,_result:e},_init:pe};return Object.defineProperties(r,{defaultProps:{configurable:!0,get:function(){return t},set:function(e){x("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),t=e,Object.defineProperty(r,"defaultProps",{enumerable:!0})}},propTypes:{configurable:!0,get:function(){return n},set:function(e){x("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."),n=e,Object.defineProperty(r,"propTypes",{enumerable:!0})}}}),r},t.memo=function(e,t){he(e)||x("memo: The first argument must be a component. Instead received: %s",null===e?"null":typeof e);var n,r={$$typeof:f,type:e,compare:void 0===t?null:t};return Object.defineProperty(r,"displayName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(t){n=t,e.name||e.displayName||(e.displayName=t)}}),r},t.startTransition=function(e,t){var n=y.transition;y.transition={};var r=y.transition;y.transition._updatedFibers=new Set;try{e()}finally{if(y.transition=n,null===n&&r._updatedFibers)r._updatedFibers.size>10&&T("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),r._updatedFibers.clear()}},t.unstable_act=function(e){var t=Ke;Ke++,null===b.current&&(b.current=[]);var n,r=b.isBatchingLegacy;try{if(b.isBatchingLegacy=!0,n=e(),!r&&b.didScheduleLegacyUpdate){var a=b.current;null!==a&&(b.didScheduleLegacyUpdate=!1,et(a))}}catch(e){throw Xe(t),e}finally{b.isBatchingLegacy=r}if(null!==n&&"object"==typeof n&&"function"==typeof n.then){var o=n,i=!1,l={then:function(e,n){i=!0,o.then((function(r){Xe(t),0===Ke?Ze(r,e,n):e(r)}),(function(e){Xe(t),n(e)}))}};return Qe||"undefined"==typeof Promise||Promise.resolve().then((function(){})).then((function(){i||(Qe=!0,x("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))})),l}var s=n;if(Xe(t),0===Ke){var u=b.current;return null!==u&&(et(u),b.current=null),{then:function(e,t){null===b.current?(b.current=[],Ze(s,e,t)):e(s)}}}return{then:function(e,t){e(s)}}},t.useCallback=function(e,t){return me().useCallback(e,t)},t.useContext=function(e){var t=me();if(void 0!==e._context){var n=e._context;n.Consumer===e?x("Calling useContext(Context.Consumer) is not supported, may cause bugs, and will be removed in a future major release. Did you mean to call useContext(Context) instead?"):n.Provider===e&&x("Calling useContext(Context.Provider) is not supported. Did you mean to call useContext(Context) instead?")}return t.useContext(e)},t.useDebugValue=function(e,t){return me().useDebugValue(e,t)},t.useDeferredValue=function(e){return me().useDeferredValue(e)},t.useEffect=function(e,t){return me().useEffect(e,t)},t.useId=function(){return me().useId()},t.useImperativeHandle=function(e,t,n){return me().useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return me().useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return me().useLayoutEffect(e,t)},t.useMemo=function(e,t){return me().useMemo(e,t)},t.useReducer=function(e,t,n){return me().useReducer(e,t,n)},t.useRef=function(e){return me().useRef(e)},t.useState=function(e){return me().useState(e)},t.useSyncExternalStore=function(e,t,n){return me().useSyncExternalStore(e,t,n)},t.useTransition=function(){return me().useTransition()},t.version="18.2.0","undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(react_development,react_development.exports)),react_development.exports}module=react,"production"===process.env.NODE_ENV?module.exports=requireReact_production_min():module.exports=requireReact_development();var React=getDefaultExportFromCjs(react.exports),reactDom={exports:{}},reactDom_production_min={},scheduler={exports:{}},scheduler_production_min={},hasRequiredScheduler_production_min;function requireScheduler_production_min(){return hasRequiredScheduler_production_min||(hasRequiredScheduler_production_min=1,function(e){function t(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(0>a(s,n))u<o&&0>a(c,s)?(e[r]=c,e[u]=n,r=u):(e[r]=s,e[l]=n,r=l);else{if(!(u<o&&0>a(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function a(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 o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var a=n(u);null!==a;){if(null===a.callback)r(u);else{if(!(a.startTime<=e))break;r(u),a.sortIndex=a.expirationTime,t(s,a)}a=n(u)}}function w(e){if(m=!1,b(e),!h)if(null!==n(s))h=!0,I(S);else{var t=n(u);null!==t&&O(w,t.startTime-e)}}function S(t,a){h=!1,m&&(m=!1,g(T),T=-1),p=!0;var o=f;try{for(b(a),d=n(s);null!==d&&(!(d.expirationTime>a)||t&&!D());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var l=i(d.expirationTime<=a);a=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(a)}else r(s);d=n(s)}if(null!==d)var c=!0;else{var v=n(u);null!==v&&O(w,v.startTime-a),c=!1}return c}finally{d=null,f=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,_=!1,k=null,T=-1,x=5,C=-1;function D(){return!(e.unstable_now()-C<x)}function R(){if(null!==k){var t=e.unstable_now();C=t;var n=!0;try{n=k(!0,t)}finally{n?E():(_=!1,k=null)}}else _=!1}if("function"==typeof y)E=function(){y(R)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,P=N.port2;N.port1.onmessage=R,E=function(){P.postMessage(null)}}else E=function(){v(R,0)};function I(e){k=e,_||(_=!0,E())}function O(t,n){T=v((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,I(S))},e.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):x=0<e?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,a,o){var i=e.unstable_now();switch("object"==typeof o&&null!==o?o="number"==typeof(o=o.delay)&&0<o?i+o:i:o=i,r){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 r={id:c++,callback:a,priorityLevel:r,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>i?(r.sortIndex=o,t(u,r),null===n(s)&&r===n(u)&&(m?(g(T),T=-1):m=!0,O(w,o-i))):(r.sortIndex=l,t(s,r),h||p||(h=!0,I(S))),r},e.unstable_shouldYield=D,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}}(scheduler_production_min)),scheduler_production_min}var scheduler_development={},hasRequiredScheduler_development,hasRequiredScheduler,hasRequiredReactDom_production_min;
11
11
  /**
12
12
  * @license React
13
13
  * scheduler.development.js
@@ -16,7 +16,7 @@
16
16
  *
17
17
  * This source code is licensed under the MIT license found in the
18
18
  * LICENSE file in the root directory of this source tree.
19
- */function requireScheduler_development(){return hasRequiredScheduler_development||(hasRequiredScheduler_development=1,function(e){"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);function t(e,t){var n=e.length;e.push(t),function(e,t,n){var r=n;for(;r>0;){var a=r-1>>>1,i=e[a];if(!(o(i,t)>0))return;e[a]=t,e[r]=i,r=a}}(e,t,n)}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();return n!==t&&(e[0]=n,function(e,t,n){var r=n,a=e.length,i=a>>>1;for(;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(o(s,t)<0)u<a&&o(c,s)<0?(e[r]=c,e[u]=t,r=u):(e[r]=s,e[l]=t,r=l);else{if(!(u<a&&o(c,t)<0))return;e[r]=c,e[u]=t,r=u}}}(e,n,0)),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 a=performance;e.unstable_now=function(){return a.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,v=!1,m="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var o=n(u);null!==o;){if(null===o.callback)r(u);else{if(!(o.startTime<=e))return;r(u),o.sortIndex=o.expirationTime,t(s,o)}o=n(u)}}function w(e){if(v=!1,b(e),!h)if(null!==n(s))h=!0,M(E);else{var t=n(u);null!==t&&N(w,t.startTime-e)}}function E(t,o){h=!1,v&&(v=!1,O()),p=!0;var a=f;try{return function(t,o){var a=o;b(a),d=n(s);for(;null!==d&&(!(d.expirationTime>a)||t&&!C());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var l=i(d.expirationTime<=a);a=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(a)}else r(s);d=n(s)}if(null!==d)return!0;var c=n(u);return null!==c&&N(w,c.startTime-a),!1}(t,o)}finally{d=null,f=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S=!1,k=null,_=-1,T=5,x=-1;function C(){return!(e.unstable_now()-x<T)}var D,R=function(){if(null!==k){var t=e.unstable_now();x=t;var n=!0;try{n=k(!0,t)}finally{n?D():(S=!1,k=null)}}else S=!1};if("function"==typeof y)D=function(){y(R)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,I=P.port2;P.port1.onmessage=R,D=function(){I.postMessage(null)}}else D=function(){m(R,0)};function M(e){k=e,S||(S=!0,D())}function N(t,n){_=m((function(){t(e.unstable_now())}),n)}function O(){g(_),_=-1}var A=function(){};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,M(E))},e.unstable_forceFrameRate=function(e){e<0||e>125?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=e>0?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){var t;switch(f){case 1:case 2:case 3:t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=A,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,o,a){var i,l,d=e.unstable_now();if("object"==typeof a&&null!==a){var f=a.delay;i="number"==typeof f&&f>0?d+f:d}else i=d;switch(r){case 1:l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}var m=i+l,g={id:c++,callback:o,priorityLevel:r,startTime:i,expirationTime:m,sortIndex:-1};return i>d?(g.sortIndex=i,t(u,g),null===n(s)&&g===n(u)&&(v?O():v=!0,N(w,i-d))):(g.sortIndex=m,t(s,g),h||p||(h=!0,M(E))),g},e.unstable_shouldYield=C,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(scheduler_development)),scheduler_development}function requireScheduler(){return hasRequiredScheduler||(hasRequiredScheduler=1,function(e){"production"===process.env.NODE_ENV?e.exports=requireScheduler_production_min():e.exports=requireScheduler_development()}(scheduler)),scheduler.exports}
19
+ */function requireScheduler_development(){return hasRequiredScheduler_development||(hasRequiredScheduler_development=1,function(e){"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);function t(e,t){var n=e.length;e.push(t),function(e,t,n){var r=n;for(;r>0;){var o=r-1>>>1,i=e[o];if(!(a(i,t)>0))return;e[o]=t,e[r]=i,r=o}}(e,t,n)}function n(e){return 0===e.length?null:e[0]}function r(e){if(0===e.length)return null;var t=e[0],n=e.pop();return n!==t&&(e[0]=n,function(e,t,n){var r=n,o=e.length,i=o>>>1;for(;r<i;){var l=2*(r+1)-1,s=e[l],u=l+1,c=e[u];if(a(s,t)<0)u<o&&a(c,s)<0?(e[r]=c,e[u]=t,r=u):(e[r]=s,e[l]=t,r=l);else{if(!(u<o&&a(c,t)<0))return;e[r]=c,e[u]=t,r=u}}}(e,n,0)),t}function a(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 o=performance;e.unstable_now=function(){return o.now()}}else{var i=Date,l=i.now();e.unstable_now=function(){return i.now()-l}}var s=[],u=[],c=1,d=null,f=3,p=!1,h=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function b(e){for(var a=n(u);null!==a;){if(null===a.callback)r(u);else{if(!(a.startTime<=e))return;r(u),a.sortIndex=a.expirationTime,t(s,a)}a=n(u)}}function w(e){if(m=!1,b(e),!h)if(null!==n(s))h=!0,I(S);else{var t=n(u);null!==t&&O(w,t.startTime-e)}}function S(t,a){h=!1,m&&(m=!1,M()),p=!0;var o=f;try{return function(t,a){var o=a;b(o),d=n(s);for(;null!==d&&(!(d.expirationTime>o)||t&&!C());){var i=d.callback;if("function"==typeof i){d.callback=null,f=d.priorityLevel;var l=i(d.expirationTime<=o);o=e.unstable_now(),"function"==typeof l?d.callback=l:d===n(s)&&r(s),b(o)}else r(s);d=n(s)}if(null!==d)return!0;var c=n(u);return null!==c&&O(w,c.startTime-o),!1}(t,a)}finally{d=null,f=o,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E=!1,_=null,k=-1,T=5,x=-1;function C(){return!(e.unstable_now()-x<T)}var D,R=function(){if(null!==_){var t=e.unstable_now();x=t;var n=!0;try{n=_(!0,t)}finally{n?D():(E=!1,_=null)}}else E=!1};if("function"==typeof y)D=function(){y(R)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,P=N.port2;N.port1.onmessage=R,D=function(){P.postMessage(null)}}else D=function(){v(R,0)};function I(e){_=e,E||(E=!0,D())}function O(t,n){k=v((function(){t(e.unstable_now())}),n)}function M(){g(k),k=-1}var A=function(){};e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(e){e.callback=null},e.unstable_continueExecution=function(){h||p||(h=!0,I(S))},e.unstable_forceFrameRate=function(e){e<0||e>125?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):T=e>0?Math.floor(1e3/e):5},e.unstable_getCurrentPriorityLevel=function(){return f},e.unstable_getFirstCallbackNode=function(){return n(s)},e.unstable_next=function(e){var t;switch(f){case 1:case 2:case 3:t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=A,e.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},e.unstable_scheduleCallback=function(r,a,o){var i,l,d=e.unstable_now();if("object"==typeof o&&null!==o){var f=o.delay;i="number"==typeof f&&f>0?d+f:d}else i=d;switch(r){case 1:l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}var v=i+l,g={id:c++,callback:a,priorityLevel:r,startTime:i,expirationTime:v,sortIndex:-1};return i>d?(g.sortIndex=i,t(u,g),null===n(s)&&g===n(u)&&(m?M():m=!0,O(w,i-d))):(g.sortIndex=v,t(s,g),h||p||(h=!0,I(S))),g},e.unstable_shouldYield=C,e.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}},"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()}(scheduler_development)),scheduler_development}function requireScheduler(){return hasRequiredScheduler||(hasRequiredScheduler=1,function(e){"production"===process.env.NODE_ENV?e.exports=requireScheduler_production_min():e.exports=requireScheduler_development()}(scheduler)),scheduler.exports}
20
20
  /**
21
21
  * @license React
22
22
  * react-dom.production.min.js
@@ -25,7 +25,7 @@
25
25
  *
26
26
  * This source code is licensed under the MIT license found in the
27
27
  * LICENSE file in the root directory of this source tree.
28
- */function requireReactDom_production_min(){if(hasRequiredReactDom_production_min)return reactDom_production_min;hasRequiredReactDom_production_min=1;var e=react.exports,t=requireScheduler();function n(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 r=new Set,o={};function a(e,t){i(e,t),i(e+"Capture",t)}function i(e,t){for(o[e]=t,e=0;e<t.length;e++)r.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s=Object.prototype.hasOwnProperty,u=/^[: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]*$/,c={},d={};function f(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){p[e]=new f(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];p[t]=new f(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){p[e]=new f(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){p[e]=new f(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){p[e]=new f(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){p[e]=new f(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){p[e]=new f(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){p[e]=new f(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){p[e]=new f(e,5,!1,e.toLowerCase(),null,!1,!1)}));var h=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function m(e,t,n,r){var o=p.hasOwnProperty(t)?p[t]:null;(null!==o?0!==o.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,o,r)&&(n=null),r||null===o?function(e){return!!s.call(d,e)||!s.call(c,e)&&(u.test(e)?d[e]=!0:(c[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!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(h,v);p[t]=new f(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(h,v);p[t]=new f(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(h,v);p[t]=new f(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){p[e]=new f(e,1,!1,e.toLowerCase(),null,!1,!1)})),p.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){p[e]=new f(e,1,!1,e.toLowerCase(),null,!0,!0)}));var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=Symbol.for("react.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),S=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),_=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),P=Symbol.for("react.offscreen"),I=Symbol.iterator;function M(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=I&&e[I]||e["@@iterator"])?e:null}var N,O=Object.assign;function A(e){if(void 0===N)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return"\n"+N+e}var L=!1;function z(e,t){if(!e||L)return"";L=!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 o=t.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var s="\n"+o[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{L=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?A(e):""}function H(e){switch(e.tag){case 5:return A(e.type);case 16:return A("Lazy");case 13:return A("Suspense");case 19:return A("SuspenseList");case 0:case 2:case 15:return e=z(e.type,!1);case 11:return e=z(e.type.render,!1);case 1:return e=z(e.type,!0);default:return""}}function F(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 w:return"Fragment";case b:return"Portal";case S:return"Profiler";case E:return"StrictMode";case x:return"Suspense";case C:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case _:return(e.displayName||"Context")+".Consumer";case k:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case D:return null!==(t=e.displayName||null)?t:F(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return F(e(t))}catch(e){}}return null}function U(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 F(t);case 8:return t===E?"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 j(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 W(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 o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function B(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=V(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function $(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function q(e,t){var n=t.checked;return O({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function G(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=j(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)&&m(e,"checked",t,!1)}function K(e,t){Y(e,t);var n=j(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")?X(e,t.type,n):t.hasOwnProperty("defaultValue")&&X(e,t.type,j(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Q(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 X(e,t,n){"number"===t&&$(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Z=Array.isArray;function J(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+j(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ee(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return O({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function te(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(Z(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:j(r)}}function ne(e,t){var n=j(t.value),r=j(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 re(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function oe(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 ae(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?oe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ie,le,se=(le=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ie=ie||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ie.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 le(e,t)}))}:le);function ue(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 ce={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},de=["Webkit","ms","Moz","O"];function fe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ce.hasOwnProperty(e)&&ce[e]?(""+t).trim():t+"px"}function pe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=fe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(ce).forEach((function(e){de.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ce[t]=ce[e]}))}));var he=O({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 ve(e,t){if(t){if(he[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function me(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ge=null;function ye(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var be=null,we=null,Ee=null;function Se(e){if(e=go(e)){if("function"!=typeof be)throw Error(n(280));var t=e.stateNode;t&&(t=bo(t),be(e.stateNode,e.type,t))}}function ke(e){we?Ee?Ee.push(e):Ee=[e]:we=e}function _e(){if(we){var e=we,t=Ee;if(Ee=we=null,Se(e),t)for(e=0;e<t.length;e++)Se(t[e])}}function Te(e,t){return e(t)}function xe(){}var Ce=!1;function De(e,t,n){if(Ce)return e(t,n);Ce=!0;try{return Te(e,t,n)}finally{Ce=!1,(null!==we||null!==Ee)&&(xe(),_e())}}function Re(e,t){var r=e.stateNode;if(null===r)return null;var o=bo(r);if(null===o)return null;r=o[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":(o=!o.disabled)||(o=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!o;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Pe=!1;if(l)try{var Ie={};Object.defineProperty(Ie,"passive",{get:function(){Pe=!0}}),window.addEventListener("test",Ie,Ie),window.removeEventListener("test",Ie,Ie)}catch(le){Pe=!1}function Me(e,t,n,r,o,a,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Ne=!1,Oe=null,Ae=!1,Le=null,ze={onError:function(e){Ne=!0,Oe=e}};function He(e,t,n,r,o,a,i,l,s){Ne=!1,Oe=null,Me.apply(ze,arguments)}function Fe(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 Ue(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 je(e){if(Fe(e)!==e)throw Error(n(188))}function Ve(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Fe(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){if(null!==(o=a.return)){r=o;continue}break}if(a.child===i.child){for(i=a.child;i;){if(i===r)return je(a),e;if(i===o)return je(a),t;i=i.sibling}throw Error(n(188))}if(r.return!==o.return)r=a,o=i;else{for(var l=!1,s=a.child;s;){if(s===r){l=!0,r=a,o=i;break}if(s===o){l=!0,o=a,r=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===r){l=!0,r=i,o=a;break}if(s===o){l=!0,o=i,r=a;break}s=s.sibling}if(!l)throw Error(n(189))}}if(r.alternate!==o)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e))?We(e):null}function We(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=We(e);if(null!==t)return t;e=e.sibling}return null}var Be=t.unstable_scheduleCallback,$e=t.unstable_cancelCallback,qe=t.unstable_shouldYield,Ge=t.unstable_requestPaint,Ye=t.unstable_now,Ke=t.unstable_getCurrentPriorityLevel,Qe=t.unstable_ImmediatePriority,Xe=t.unstable_UserBlockingPriority,Ze=t.unstable_NormalPriority,Je=t.unstable_LowPriority,et=t.unstable_IdlePriority,tt=null,nt=null;var rt=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(ot(e)/at|0)|0},ot=Math.log,at=Math.LN2;var it=64,lt=4194304;function st(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 ut(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=st(l):0!==(a&=i)&&(r=st(a))}else 0!==(i=n&~o)?r=st(i):0!==a&&(r=st(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-rt(t)),r|=e[n],t&=~o;return r}function ct(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 dt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ft(){var e=it;return 0==(4194240&(it<<=1))&&(it=64),e}function pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ht(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-rt(t)]=n}function vt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-rt(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var mt=0;function gt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var yt,bt,wt,Et,St,kt=!1,_t=[],Tt=null,xt=null,Ct=null,Dt=new Map,Rt=new Map,Pt=[],It="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 Mt(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":xt=null;break;case"mouseover":case"mouseout":Ct=null;break;case"pointerover":case"pointerout":Dt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function Nt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&(null!==(t=go(t))&&bt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Ot(e){var t=mo(e.target);if(null!==t){var n=Fe(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void St(e.priority,(function(){wt(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 At(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=go(n))&&bt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ge=r,n.target.dispatchEvent(r),ge=null,t.shift()}return!0}function Lt(e,t,n){At(e)&&n.delete(t)}function zt(){kt=!1,null!==Tt&&At(Tt)&&(Tt=null),null!==xt&&At(xt)&&(xt=null),null!==Ct&&At(Ct)&&(Ct=null),Dt.forEach(Lt),Rt.forEach(Lt)}function Ht(e,n){e.blockedOn===n&&(e.blockedOn=null,kt||(kt=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,zt)))}function Ft(e){function t(t){return Ht(t,e)}if(0<_t.length){Ht(_t[0],e);for(var n=1;n<_t.length;n++){var r=_t[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&Ht(Tt,e),null!==xt&&Ht(xt,e),null!==Ct&&Ht(Ct,e),Dt.forEach(t),Rt.forEach(t),n=0;n<Pt.length;n++)(r=Pt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Pt.length&&null===(n=Pt[0]).blockedOn;)Ot(n),null===n.blockedOn&&Pt.shift()}var Ut=g.ReactCurrentBatchConfig,jt=!0;function Vt(e,t,n,r){var o=mt,a=Ut.transition;Ut.transition=null;try{mt=1,Bt(e,t,n,r)}finally{mt=o,Ut.transition=a}}function Wt(e,t,n,r){var o=mt,a=Ut.transition;Ut.transition=null;try{mt=4,Bt(e,t,n,r)}finally{mt=o,Ut.transition=a}}function Bt(e,t,n,r){if(jt){var o=qt(e,t,n,r);if(null===o)jr(e,t,r,$t,n),Mt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Tt=Nt(Tt,e,t,n,r,o),!0;case"dragenter":return xt=Nt(xt,e,t,n,r,o),!0;case"mouseover":return Ct=Nt(Ct,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Dt.set(a,Nt(Dt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Rt.set(a,Nt(Rt.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Mt(e,r),4&t&&-1<It.indexOf(e)){for(;null!==o;){var a=go(o);if(null!==a&&yt(a),null===(a=qt(e,t,n,r))&&jr(e,t,r,$t,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else jr(e,t,r,null,n)}}var $t=null;function qt(e,t,n,r){if($t=null,null!==(e=mo(e=ye(r))))if(null===(t=Fe(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(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 $t=e,null}function Gt(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(Ke()){case Qe:return 1;case Xe:return 4;case Ze:case Je:return 16;case et:return 536870912;default:return 16}default:return 16}}var Yt=null,Kt=null,Qt=null;function Xt(){if(Qt)return Qt;var e,t,n=Kt,r=n.length,o="value"in Yt?Yt.value:Yt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Qt=o.slice(e,1<t?1-t:void 0)}function Zt(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 Jt(){return!0}function en(){return!1}function tn(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?Jt:en,this.isPropagationStopped=en,this}return O(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=Jt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Jt)},persist:function(){},isPersistent:Jt}),t}var nn,rn,on,an={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=tn(an),sn=O({},an,{view:0,detail:0}),un=tn(sn),cn=O({},sn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Sn,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!==on&&(on&&"mousemove"===e.type?(nn=e.screenX-on.screenX,rn=e.screenY-on.screenY):rn=nn=0,on=e),nn)},movementY:function(e){return"movementY"in e?e.movementY:rn}}),dn=tn(cn),fn=tn(O({},cn,{dataTransfer:0})),pn=tn(O({},sn,{relatedTarget:0})),hn=tn(O({},an,{animationName:0,elapsedTime:0,pseudoElement:0})),vn=O({},an,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),mn=tn(vn),gn=tn(O({},an,{data:0})),yn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bn={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"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function Sn(){return En}var kn=O({},sn,{key:function(e){if(e.key){var t=yn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Zt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?bn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Sn,charCode:function(e){return"keypress"===e.type?Zt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Zt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),_n=tn(kn),Tn=tn(O({},cn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),xn=tn(O({},sn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Sn})),Cn=tn(O({},an,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dn=O({},cn,{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}),Rn=tn(Dn),Pn=[9,13,27,32],In=l&&"CompositionEvent"in window,Mn=null;l&&"documentMode"in document&&(Mn=document.documentMode);var Nn=l&&"TextEvent"in window&&!Mn,On=l&&(!In||Mn&&8<Mn&&11>=Mn),An=String.fromCharCode(32),Ln=!1;function zn(e,t){switch(e){case"keyup":return-1!==Pn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Hn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Fn=!1;var Un={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 jn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Vn(e,t,n,r){ke(r),0<(t=Wr(t,"onChange")).length&&(n=new ln("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Wn=null,Bn=null;function $n(e){Ar(e,0)}function qn(e){if(B(yo(e)))return e}function Gn(e,t){if("change"===e)return t}var Yn=!1;if(l){var Kn;if(l){var Qn="oninput"in document;if(!Qn){var Xn=document.createElement("div");Xn.setAttribute("oninput","return;"),Qn="function"==typeof Xn.oninput}Kn=Qn}else Kn=!1;Yn=Kn&&(!document.documentMode||9<document.documentMode)}function Zn(){Wn&&(Wn.detachEvent("onpropertychange",Jn),Bn=Wn=null)}function Jn(e){if("value"===e.propertyName&&qn(Bn)){var t=[];Vn(t,Bn,e,ye(e)),De($n,t)}}function er(e,t,n){"focusin"===e?(Zn(),Bn=n,(Wn=t).attachEvent("onpropertychange",Jn)):"focusout"===e&&Zn()}function tr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qn(Bn)}function nr(e,t){if("click"===e)return qn(t)}function rr(e,t){if("input"===e||"change"===e)return qn(t)}var or="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ar(e,t){if(or(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 o=n[r];if(!s.call(t,o)||!or(e[o],t[o]))return!1}return!0}function ir(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var n,r=ir(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=ir(r)}}function sr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?sr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ur(){for(var e=window,t=$();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=$((e=t.contentWindow).document)}return t}function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function dr(e){var t=ur(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sr(n.ownerDocument.documentElement,n)){if(null!==r&&cr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=lr(n,a);var i=lr(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>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 fr=l&&"documentMode"in document&&11>=document.documentMode,pr=null,hr=null,vr=null,mr=!1;function gr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;mr||null==pr||pr!==$(r)||("selectionStart"in(r=pr)&&cr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},vr&&ar(vr,r)||(vr=r,0<(r=Wr(hr,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=pr)))}function yr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var br={animationend:yr("Animation","AnimationEnd"),animationiteration:yr("Animation","AnimationIteration"),animationstart:yr("Animation","AnimationStart"),transitionend:yr("Transition","TransitionEnd")},wr={},Er={};function Sr(e){if(wr[e])return wr[e];if(!br[e])return e;var t,n=br[e];for(t in n)if(n.hasOwnProperty(t)&&t in Er)return wr[e]=n[t];return e}l&&(Er=document.createElement("div").style,"AnimationEvent"in window||(delete br.animationend.animation,delete br.animationiteration.animation,delete br.animationstart.animation),"TransitionEvent"in window||delete br.transitionend.transition);var kr=Sr("animationend"),_r=Sr("animationiteration"),Tr=Sr("animationstart"),xr=Sr("transitionend"),Cr=new Map,Dr="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 Rr(e,t){Cr.set(e,t),a(t,[e])}for(var Pr=0;Pr<Dr.length;Pr++){var Ir=Dr[Pr];Rr(Ir.toLowerCase(),"on"+(Ir[0].toUpperCase()+Ir.slice(1)))}Rr(kr,"onAnimationEnd"),Rr(_r,"onAnimationIteration"),Rr(Tr,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(xr,"onTransitionEnd"),i("onMouseEnter",["mouseout","mouseover"]),i("onMouseLeave",["mouseout","mouseover"]),i("onPointerEnter",["pointerout","pointerover"]),i("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="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(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function Or(e,t,r){var o=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,o,a,i,l,s,u){if(He.apply(this,arguments),Ne){if(!Ne)throw Error(n(198));var c=Oe;Ne=!1,Oe=null,Ae||(Ae=!0,Le=c)}}(o,t,void 0,e),e.currentTarget=null}function Ar(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==a&&o.isPropagationStopped())break e;Or(o,l,u),a=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==a&&o.isPropagationStopped())break e;Or(o,l,u),a=s}}}if(Ae)throw e=Le,Ae=!1,Le=null,e}function Lr(e,t){var n=t[po];void 0===n&&(n=t[po]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function zr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var Hr="_reactListening"+Math.random().toString(36).slice(2);function Fr(e){if(!e[Hr]){e[Hr]=!0,r.forEach((function(t){"selectionchange"!==t&&(Nr.has(t)||zr(t,!1,e),zr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Hr]||(t[Hr]=!0,zr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Gt(t)){case 1:var o=Vt;break;case 4:o=Wt;break;default:o=Bt}n=o.bind(null,t,n,e),o=void 0,!Pe||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function jr(e,t,n,r,o){var a=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===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===o||8===s.nodeType&&s.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=mo(l)))return;if(5===(s=i.tag)||6===s){r=a=i;continue e}l=l.parentNode}}r=r.return}De((function(){var r=a,o=ye(n),i=[];e:{var l=Cr.get(e);if(void 0!==l){var s=ln,u=e;switch(e){case"keypress":if(0===Zt(n))break e;case"keydown":case"keyup":s=_n;break;case"focusin":u="focus",s=pn;break;case"focusout":u="blur",s=pn;break;case"beforeblur":case"afterblur":s=pn;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":s=dn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=fn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=xn;break;case kr:case _r:case Tr:s=hn;break;case xr:s=Cn;break;case"scroll":s=un;break;case"wheel":s=Rn;break;case"copy":case"cut":case"paste":s=mn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Tn}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var v=(p=h).stateNode;if(5===p.tag&&null!==v&&(p=v,null!==f&&(null!=(v=Re(h,f))&&c.push(Vr(h,v,p)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,o),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===ge||!(u=n.relatedTarget||n.fromElement)||!mo(u)&&!u[fo])&&(s||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?mo(u):null)&&(u!==(d=Fe(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=dn,v="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tn,v="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:yo(s),p=null==u?l:yo(u),(l=new c(v,h+"leave",s,n,o)).target=d,l.relatedTarget=p,v=null,mo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,v=c),d=v,s&&u)e:{for(f=u,h=0,p=c=s;p;p=Br(p))h++;for(p=0,v=f;v;v=Br(v))p++;for(;0<h-p;)c=Br(c),h--;for(;0<p-h;)f=Br(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Br(c),f=Br(f)}c=null}else c=null;null!==s&&$r(i,l,s,c,!1),null!==u&&null!==d&&$r(i,d,u,c,!0)}if("select"===(s=(l=r?yo(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var m=Gn;else if(jn(l))if(Yn)m=rr;else{m=tr;var g=er}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(m=nr);switch(m&&(m=m(e,r))?Vn(i,m,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&X(l,"number",l.value)),g=r?yo(r):window,e){case"focusin":(jn(g)||"true"===g.contentEditable)&&(pr=g,hr=r,vr=null);break;case"focusout":vr=hr=pr=null;break;case"mousedown":mr=!0;break;case"contextmenu":case"mouseup":case"dragend":mr=!1,gr(i,n,o);break;case"selectionchange":if(fr)break;case"keydown":case"keyup":gr(i,n,o)}var y;if(In)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Fn?zn(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(On&&"ko"!==n.locale&&(Fn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Fn&&(y=Xt()):(Kt="value"in(Yt=o)?Yt.value:Yt.textContent,Fn=!0)),0<(g=Wr(r,b)).length&&(b=new gn(b,e,null,n,o),i.push({event:b,listeners:g}),y?b.data=y:null!==(y=Hn(n))&&(b.data=y))),(y=Nn?function(e,t){switch(e){case"compositionend":return Hn(t);case"keypress":return 32!==t.which?null:(Ln=!0,An);case"textInput":return(e=t.data)===An&&Ln?null:e;default:return null}}(e,n):function(e,t){if(Fn)return"compositionend"===e||!In&&zn(e,t)?(e=Xt(),Qt=Kt=Yt=null,Fn=!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 On&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Wr(r,"onBeforeInput")).length&&(o=new gn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y))}Ar(i,t)}))}function Vr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Wr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Re(e,n))&&r.unshift(Vr(e,a,o)),null!=(a=Re(e,t))&&r.push(Vr(e,a,o))),e=e.return}return r}function Br(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function $r(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,o?null!=(s=Re(n,a))&&i.unshift(Vr(n,s,l)):o||null!=(s=Re(n,a))&&i.push(Vr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var qr=/\r\n?/g,Gr=/\u0000|\uFFFD/g;function Yr(e){return("string"==typeof e?e:""+e).replace(qr,"\n").replace(Gr,"")}function Kr(e,t,r){if(t=Yr(t),Yr(e)!==t&&r)throw Error(n(425))}function Qr(){}var Xr=null,Zr=null;function Jr(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 eo="function"==typeof setTimeout?setTimeout:void 0,to="function"==typeof clearTimeout?clearTimeout:void 0,no="function"==typeof Promise?Promise:void 0,ro="function"==typeof queueMicrotask?queueMicrotask:void 0!==no?function(e){return no.resolve(null).then(e).catch(oo)}:eo;function oo(e){setTimeout((function(){throw e}))}function ao(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ft(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ft(t)}function io(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 lo(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 so=Math.random().toString(36).slice(2),uo="__reactFiber$"+so,co="__reactProps$"+so,fo="__reactContainer$"+so,po="__reactEvents$"+so,ho="__reactListeners$"+so,vo="__reactHandles$"+so;function mo(e){var t=e[uo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[fo]||n[uo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=lo(e);null!==e;){if(n=e[uo])return n;e=lo(e)}return t}n=(e=n).parentNode}return null}function go(e){return!(e=e[uo]||e[fo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function yo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function bo(e){return e[co]||null}var wo=[],Eo=-1;function So(e){return{current:e}}function ko(e){0>Eo||(e.current=wo[Eo],wo[Eo]=null,Eo--)}function _o(e,t){Eo++,wo[Eo]=e.current,e.current=t}var To={},xo=So(To),Co=So(!1),Do=To;function Ro(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Po(e){return null!=(e=e.childContextTypes)}function Io(){ko(Co),ko(xo)}function Mo(e,t,r){if(xo.current!==To)throw Error(n(168));_o(xo,t),_o(Co,r)}function No(e,t,r){var o=e.stateNode;if(t=t.childContextTypes,"function"!=typeof o.getChildContext)return r;for(var a in o=o.getChildContext())if(!(a in t))throw Error(n(108,U(e)||"Unknown",a));return O({},r,o)}function Oo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Do=xo.current,_o(xo,e),_o(Co,Co.current),!0}function Ao(e,t,r){var o=e.stateNode;if(!o)throw Error(n(169));r?(e=No(e,t,Do),o.__reactInternalMemoizedMergedChildContext=e,ko(Co),ko(xo),_o(xo,e)):ko(Co),_o(Co,r)}var Lo=null,zo=!1,Ho=!1;function Fo(e){null===Lo?Lo=[e]:Lo.push(e)}function Uo(){if(!Ho&&null!==Lo){Ho=!0;var e=0,t=mt;try{var n=Lo;for(mt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Lo=null,zo=!1}catch(t){throw null!==Lo&&(Lo=Lo.slice(e+1)),Be(Qe,Uo),t}finally{mt=t,Ho=!1}}return null}var jo=[],Vo=0,Wo=null,Bo=0,$o=[],qo=0,Go=null,Yo=1,Ko="";function Qo(e,t){jo[Vo++]=Bo,jo[Vo++]=Wo,Wo=e,Bo=t}function Xo(e,t,n){$o[qo++]=Yo,$o[qo++]=Ko,$o[qo++]=Go,Go=e;var r=Yo;e=Ko;var o=32-rt(r)-1;r&=~(1<<o),n+=1;var a=32-rt(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Yo=1<<32-rt(t)+o|n<<o|r,Ko=a+e}else Yo=1<<a|n<<o|r,Ko=e}function Zo(e){null!==e.return&&(Qo(e,1),Xo(e,1,0))}function Jo(e){for(;e===Wo;)Wo=jo[--Vo],jo[Vo]=null,Bo=jo[--Vo],jo[Vo]=null;for(;e===Go;)Go=$o[--qo],$o[qo]=null,Ko=$o[--qo],$o[qo]=null,Yo=$o[--qo],$o[qo]=null}var ea=null,ta=null,na=!1,ra=null;function oa(e,t){var n=Du(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 aa(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,ea=e,ta=io(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ea=e,ta=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Go?{id:Yo,overflow:Ko}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Du(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ea=e,ta=null,!0);default:return!1}}function ia(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function la(e){if(na){var t=ta;if(t){var r=t;if(!aa(e,t)){if(ia(e))throw Error(n(418));t=io(r.nextSibling);var o=ea;t&&aa(e,t)?oa(o,r):(e.flags=-4097&e.flags|2,na=!1,ea=e)}}else{if(ia(e))throw Error(n(418));e.flags=-4097&e.flags|2,na=!1,ea=e}}}function sa(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ea=e}function ua(e){if(e!==ea)return!1;if(!na)return sa(e),na=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Jr(e.type,e.memoizedProps)),t&&(t=ta)){if(ia(e))throw ca(),Error(n(418));for(;t;)oa(e,t),t=io(t.nextSibling)}if(sa(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){ta=io(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}ta=null}}else ta=ea?io(e.stateNode.nextSibling):null;return!0}function ca(){for(var e=ta;e;)e=io(e.nextSibling)}function da(){ta=ea=null,na=!1}function fa(e){null===ra?ra=[e]:ra.push(e)}var pa=g.ReactCurrentBatchConfig;function ha(e,t){if(e&&e.defaultProps){for(var n in t=O({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var va=So(null),ma=null,ga=null,ya=null;function ba(){ya=ga=ma=null}function wa(e){var t=va.current;ko(va),e._currentValue=t}function Ea(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 Sa(e,t){ma=e,ya=ga=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(gl=!0),e.firstContext=null)}function ka(e){var t=e._currentValue;if(ya!==e)if(e={context:e,memoizedValue:t,next:null},null===ga){if(null===ma)throw Error(n(308));ga=e,ma.dependencies={lanes:0,firstContext:e}}else ga=ga.next=e;return t}var _a=null;function Ta(e){null===_a?_a=[e]:_a.push(e)}function xa(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ta(t)):(n.next=o.next,o.next=n),t.interleaved=n,Ca(e,r)}function Ca(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 Da=!1;function Ra(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pa(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 Ia(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ma(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ts)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Ca(e,n)}return null===(o=r.interleaved)?(t.next=t,Ta(r)):(t.next=o.next,o.next=t),r.interleaved=t,Ca(e,n)}function Na(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,vt(e,n)}}function Oa(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=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===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Aa(e,t,n,r){var o=e.updateQueue;Da=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==a){var d=o.baseState;for(i=0,c=u=s=null,l=a;;){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 h=e,v=l;switch(f=t,p=n,v.tag){case 1:if("function"==typeof(h=v.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=v.payload)?h.call(p,d,f):h))break e;d=O({},d,f);break e;case 2:Da=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[l]:f.push(l))}else p={eventTime:p,lane:f,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(u=c=p,s=d):c=c.next=p,i|=f;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(f=l).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(s=d),o.baseState=s,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Ns|=i,e.lanes=i,e.memoizedState=d}}function La(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var o=e[t],a=o.callback;if(null!==a){if(o.callback=null,o=r,"function"!=typeof a)throw Error(n(191,a));a.call(o)}}}var za=(new e.Component).refs;function Ha(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:O({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Fa={isMounted:function(e){return!!(e=e._reactInternals)&&Fe(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Xs(),o=Zs(e),a=Ia(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Ma(e,a,o))&&(Js(t,e,o,r),Na(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Xs(),o=Zs(e),a=Ia(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Ma(e,a,o))&&(Js(t,e,o,r),Na(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Xs(),r=Zs(e),o=Ia(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ma(e,o,r))&&(Js(t,e,r,n),Na(t,e,r))}};function Ua(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!t.prototype||!t.prototype.isPureReactComponent||(!ar(n,r)||!ar(o,a))}function ja(e,t,n){var r=!1,o=To,a=t.contextType;return"object"==typeof a&&null!==a?a=ka(a):(o=Po(t)?Do:xo.current,a=(r=null!=(r=t.contextTypes))?Ro(e,o):To),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Fa,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function Va(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&&Fa.enqueueReplaceState(t,t.state,null)}function Wa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=za,Ra(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=ka(a):(a=Po(t)?Do:xo.current,o.context=Ro(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Ha(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Fa.enqueueReplaceState(o,o.state,null),Aa(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Ba(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var o=r.stateNode}if(!o)throw Error(n(147,e));var a=o,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===za&&(t=a.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function $a(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function qa(e){return(0,e._init)(e._payload)}function Ga(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function o(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=Pu(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 s(e,t,n,r){return null===t||6!==t.tag?((t=Ou(n,e.mode,r)).return=e,t):((t=a(t,n)).return=e,t)}function u(e,t,n,r){var o=n.type;return o===w?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===o||"object"==typeof o&&null!==o&&o.$$typeof===R&&qa(o)===t.type)?((r=a(t,n.props)).ref=Ba(e,t,n),r.return=e,r):((r=Iu(n.type,n.key,n.props,null,e.mode,r)).ref=Ba(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=Au(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=Mu(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=Ou(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case y:return(n=Iu(t.type,t.key,t.props,null,e.mode,n)).ref=Ba(e,null,t),n.return=e,n;case b:return(t=Au(t,e.mode,n)).return=e,t;case R:return f(e,(0,t._init)(t._payload),n)}if(Z(t)||M(t))return(t=Mu(t,e.mode,n,null)).return=e,t;$a(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case y:return n.key===o?u(e,t,n,r):null;case b:return n.key===o?c(e,t,n,r):null;case R:return p(e,t,(o=n._init)(n._payload),r)}if(Z(n)||M(n))return null!==o?null:d(e,t,n,r,null);$a(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case y:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case b:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case R:return h(e,t,n,(0,r._init)(r._payload),o)}if(Z(r)||M(r))return d(t,e=e.get(n)||null,r,o,null);$a(t,r)}return null}function v(n,a,l,s){for(var u=null,c=null,d=a,v=a=0,m=null;null!==d&&v<l.length;v++){d.index>v?(m=d,d=null):m=d.sibling;var g=p(n,d,l[v],s);if(null===g){null===d&&(d=m);break}e&&d&&null===g.alternate&&t(n,d),a=i(g,a,v),null===c?u=g:c.sibling=g,c=g,d=m}if(v===l.length)return r(n,d),na&&Qo(n,v),u;if(null===d){for(;v<l.length;v++)null!==(d=f(n,l[v],s))&&(a=i(d,a,v),null===c?u=d:c.sibling=d,c=d);return na&&Qo(n,v),u}for(d=o(n,d);v<l.length;v++)null!==(m=h(d,n,v,l[v],s))&&(e&&null!==m.alternate&&d.delete(null===m.key?v:m.key),a=i(m,a,v),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach((function(e){return t(n,e)})),na&&Qo(n,v),u}function m(a,l,s,u){var c=M(s);if("function"!=typeof c)throw Error(n(150));if(null==(s=c.call(s)))throw Error(n(151));for(var d=c=null,v=l,m=l=0,g=null,y=s.next();null!==v&&!y.done;m++,y=s.next()){v.index>m?(g=v,v=null):g=v.sibling;var b=p(a,v,y.value,u);if(null===b){null===v&&(v=g);break}e&&v&&null===b.alternate&&t(a,v),l=i(b,l,m),null===d?c=b:d.sibling=b,d=b,v=g}if(y.done)return r(a,v),na&&Qo(a,m),c;if(null===v){for(;!y.done;m++,y=s.next())null!==(y=f(a,y.value,u))&&(l=i(y,l,m),null===d?c=y:d.sibling=y,d=y);return na&&Qo(a,m),c}for(v=o(a,v);!y.done;m++,y=s.next())null!==(y=h(v,a,m,y.value,u))&&(e&&null!==y.alternate&&v.delete(null===y.key?m:y.key),l=i(y,l,m),null===d?c=y:d.sibling=y,d=y);return e&&v.forEach((function(e){return t(a,e)})),na&&Qo(a,m),c}return function e(n,o,i,s){if("object"==typeof i&&null!==i&&i.type===w&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case y:e:{for(var u=i.key,c=o;null!==c;){if(c.key===u){if((u=i.type)===w){if(7===c.tag){r(n,c.sibling),(o=a(c,i.props.children)).return=n,n=o;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===R&&qa(u)===c.type){r(n,c.sibling),(o=a(c,i.props)).ref=Ba(n,c,i),o.return=n,n=o;break e}r(n,c);break}t(n,c),c=c.sibling}i.type===w?((o=Mu(i.props.children,n.mode,s,i.key)).return=n,n=o):((s=Iu(i.type,i.key,i.props,null,n.mode,s)).ref=Ba(n,o,i),s.return=n,n=s)}return l(n);case b: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){r(n,o.sibling),(o=a(o,i.children||[])).return=n,n=o;break e}r(n,o);break}t(n,o),o=o.sibling}(o=Au(i,n.mode,s)).return=n,n=o}return l(n);case R:return e(n,o,(c=i._init)(i._payload),s)}if(Z(i))return v(n,o,i,s);if(M(i))return m(n,o,i,s);$a(n,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==o&&6===o.tag?(r(n,o.sibling),(o=a(o,i)).return=n,n=o):(r(n,o),(o=Ou(i,n.mode,s)).return=n,n=o),l(n)):r(n,o)}}var Ya=Ga(!0),Ka=Ga(!1),Qa={},Xa=So(Qa),Za=So(Qa),Ja=So(Qa);function ei(e){if(e===Qa)throw Error(n(174));return e}function ti(e,t){switch(_o(Ja,t),_o(Za,e),_o(Xa,Qa),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ae(null,"");break;default:t=ae(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}ko(Xa),_o(Xa,t)}function ni(){ko(Xa),ko(Za),ko(Ja)}function ri(e){ei(Ja.current);var t=ei(Xa.current),n=ae(t,e.type);t!==n&&(_o(Za,e),_o(Xa,n))}function oi(e){Za.current===e&&(ko(Xa),ko(Za))}var ai=So(0);function ii(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 li=[];function si(){for(var e=0;e<li.length;e++)li[e]._workInProgressVersionPrimary=null;li.length=0}var ui=g.ReactCurrentDispatcher,ci=g.ReactCurrentBatchConfig,di=0,fi=null,pi=null,hi=null,vi=!1,mi=!1,gi=0,yi=0;function bi(){throw Error(n(321))}function wi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!or(e[n],t[n]))return!1;return!0}function Ei(e,t,r,o,a,i){if(di=i,fi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ui.current=null===e||null===e.memoizedState?ol:al,e=r(o,a),mi){i=0;do{if(mi=!1,gi=0,25<=i)throw Error(n(301));i+=1,hi=pi=null,t.updateQueue=null,ui.current=il,e=r(o,a)}while(mi)}if(ui.current=rl,t=null!==pi&&null!==pi.next,di=0,hi=pi=fi=null,vi=!1,t)throw Error(n(300));return e}function Si(){var e=0!==gi;return gi=0,e}function ki(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===hi?fi.memoizedState=hi=e:hi=hi.next=e,hi}function _i(){if(null===pi){var e=fi.alternate;e=null!==e?e.memoizedState:null}else e=pi.next;var t=null===hi?fi.memoizedState:hi.next;if(null!==t)hi=t,pi=e;else{if(null===e)throw Error(n(310));e={memoizedState:(pi=e).memoizedState,baseState:pi.baseState,baseQueue:pi.baseQueue,queue:pi.queue,next:null},null===hi?fi.memoizedState=hi=e:hi=hi.next=e}return hi}function Ti(e,t){return"function"==typeof t?t(e):t}function xi(e){var t=_i(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=pi,a=o.baseQueue,i=r.pending;if(null!==i){if(null!==a){var l=a.next;a.next=i.next,i.next=l}o.baseQueue=a=i,r.pending=null}if(null!==a){i=a.next,o=o.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((di&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),o=c.hasEagerState?c.eagerState:e(o,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=o):u=u.next=f,fi.lanes|=d,Ns|=d}c=c.next}while(null!==c&&c!==i);null===u?l=o:u.next=s,or(o,t.memoizedState)||(gl=!0),t.memoizedState=o,t.baseState=l,t.baseQueue=u,r.lastRenderedState=o}if(null!==(e=r.interleaved)){a=e;do{i=a.lane,fi.lanes|=i,Ns|=i,a=a.next}while(a!==e)}else null===a&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Ci(e){var t=_i(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var o=r.dispatch,a=r.pending,i=t.memoizedState;if(null!==a){r.pending=null;var l=a=a.next;do{i=e(i,l.action),l=l.next}while(l!==a);or(i,t.memoizedState)||(gl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),r.lastRenderedState=i}return[i,o]}function Di(){}function Ri(e,t){var r=fi,o=_i(),a=t(),i=!or(o.memoizedState,a);if(i&&(o.memoizedState=a,gl=!0),o=o.queue,ji(Mi.bind(null,r,o,e),[e]),o.getSnapshot!==t||i||null!==hi&&1&hi.memoizedState.tag){if(r.flags|=2048,Li(9,Ii.bind(null,r,o,a,t),void 0,null),null===xs)throw Error(n(349));0!=(30&di)||Pi(r,t,a)}return a}function Pi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=fi.updateQueue)?(t={lastEffect:null,stores:null},fi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ii(e,t,n,r){t.value=n,t.getSnapshot=r,Ni(t)&&Oi(e)}function Mi(e,t,n){return n((function(){Ni(t)&&Oi(e)}))}function Ni(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!or(e,n)}catch(e){return!0}}function Oi(e){var t=Ca(e,1);null!==t&&Js(t,e,1,-1)}function Ai(e){var t=ki();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ti,lastRenderedState:e},t.queue=e,e=e.dispatch=Ji.bind(null,fi,e),[t.memoizedState,e]}function Li(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=fi.updateQueue)?(t={lastEffect:null,stores:null},fi.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 _i().memoizedState}function Hi(e,t,n,r){var o=ki();fi.flags|=e,o.memoizedState=Li(1|t,n,void 0,void 0===r?null:r)}function Fi(e,t,n,r){var o=_i();r=void 0===r?null:r;var a=void 0;if(null!==pi){var i=pi.memoizedState;if(a=i.destroy,null!==r&&wi(r,i.deps))return void(o.memoizedState=Li(t,n,a,r))}fi.flags|=e,o.memoizedState=Li(1|t,n,a,r)}function Ui(e,t){return Hi(8390656,8,e,t)}function ji(e,t){return Fi(2048,8,e,t)}function Vi(e,t){return Fi(4,2,e,t)}function Wi(e,t){return Fi(4,4,e,t)}function Bi(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 $i(e,t,n){return n=null!=n?n.concat([e]):null,Fi(4,4,Bi.bind(null,t,e),n)}function qi(){}function Gi(e,t){var n=_i();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&wi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Yi(e,t){var n=_i();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&wi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ki(e,t,n){return 0==(21&di)?(e.baseState&&(e.baseState=!1,gl=!0),e.memoizedState=n):(or(n,t)||(n=ft(),fi.lanes|=n,Ns|=n,e.baseState=!0),t)}function Qi(e,t){var n=mt;mt=0!==n&&4>n?n:4,e(!0);var r=ci.transition;ci.transition={};try{e(!1),t()}finally{mt=n,ci.transition=r}}function Xi(){return _i().memoizedState}function Zi(e,t,n){var r=Zs(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},el(e))tl(t,n);else if(null!==(n=xa(e,t,n,r))){Js(n,e,r,Xs()),nl(n,t,r)}}function Ji(e,t,n){var r=Zs(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(el(e))tl(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,or(l,i)){var s=t.interleaved;return null===s?(o.next=o,Ta(t)):(o.next=s.next,s.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=xa(e,t,o,r))&&(Js(n,e,r,o=Xs()),nl(n,t,r))}}function el(e){var t=e.alternate;return e===fi||null!==t&&t===fi}function tl(e,t){mi=vi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nl(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,vt(e,n)}}var rl={readContext:ka,useCallback:bi,useContext:bi,useEffect:bi,useImperativeHandle:bi,useInsertionEffect:bi,useLayoutEffect:bi,useMemo:bi,useReducer:bi,useRef:bi,useState:bi,useDebugValue:bi,useDeferredValue:bi,useTransition:bi,useMutableSource:bi,useSyncExternalStore:bi,useId:bi,unstable_isNewReconciler:!1},ol={readContext:ka,useCallback:function(e,t){return ki().memoizedState=[e,void 0===t?null:t],e},useContext:ka,useEffect:Ui,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Hi(4194308,4,Bi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Hi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Hi(4,2,e,t)},useMemo:function(e,t){var n=ki();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=ki();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=Zi.bind(null,fi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},ki().memoizedState=e},useState:Ai,useDebugValue:qi,useDeferredValue:function(e){return ki().memoizedState=e},useTransition:function(){var e=Ai(!1),t=e[0];return e=Qi.bind(null,e[1]),ki().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var o=fi,a=ki();if(na){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===xs)throw Error(n(349));0!=(30&di)||Pi(o,t,r)}a.memoizedState=r;var i={value:r,getSnapshot:t};return a.queue=i,Ui(Mi.bind(null,o,i,e),[e]),o.flags|=2048,Li(9,Ii.bind(null,o,i,r,t),void 0,null),r},useId:function(){var e=ki(),t=xs.identifierPrefix;if(na){var n=Ko;t=":"+t+"R"+(n=(Yo&~(1<<32-rt(Yo)-1)).toString(32)+n),0<(n=gi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=yi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},al={readContext:ka,useCallback:Gi,useContext:ka,useEffect:ji,useImperativeHandle:$i,useInsertionEffect:Vi,useLayoutEffect:Wi,useMemo:Yi,useReducer:xi,useRef:zi,useState:function(){return xi(Ti)},useDebugValue:qi,useDeferredValue:function(e){return Ki(_i(),pi.memoizedState,e)},useTransition:function(){return[xi(Ti)[0],_i().memoizedState]},useMutableSource:Di,useSyncExternalStore:Ri,useId:Xi,unstable_isNewReconciler:!1},il={readContext:ka,useCallback:Gi,useContext:ka,useEffect:ji,useImperativeHandle:$i,useInsertionEffect:Vi,useLayoutEffect:Wi,useMemo:Yi,useReducer:Ci,useRef:zi,useState:function(){return Ci(Ti)},useDebugValue:qi,useDeferredValue:function(e){var t=_i();return null===pi?t.memoizedState=e:Ki(t,pi.memoizedState,e)},useTransition:function(){return[Ci(Ti)[0],_i().memoizedState]},useMutableSource:Di,useSyncExternalStore:Ri,useId:Xi,unstable_isNewReconciler:!1};function ll(e,t){try{var n="",r=t;do{n+=H(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function sl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ul(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var cl="function"==typeof WeakMap?WeakMap:Map;function dl(e,t,n){(n=Ia(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){js||(js=!0,Vs=r),ul(0,t)},n}function fl(e,t,n){(n=Ia(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){ul(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){ul(0,t),"function"!=typeof r&&(null===Ws?Ws=new Set([this]):Ws.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function pl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new cl;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Su.bind(null,e,t,n),t.then(e,e))}function hl(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 vl(e,t,n,r,o){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=Ia(-1,1)).tag=2,Ma(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var ml=g.ReactCurrentOwner,gl=!1;function yl(e,t,n,r){t.child=null===e?Ka(t,null,n,r):Ya(t,e.child,n,r)}function bl(e,t,n,r,o){n=n.render;var a=t.ref;return Sa(t,o),r=Ei(e,t,n,r,a,o),n=Si(),null===e||gl?(na&&n&&Zo(t),t.flags|=1,yl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,jl(e,t,o))}function wl(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||Ru(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Iu(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,El(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:ar)(i,r)&&e.ref===t.ref)return jl(e,t,o)}return t.flags|=1,(e=Pu(a,r)).ref=t.ref,e.return=t,t.child=e}function El(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(ar(a,r)&&e.ref===t.ref){if(gl=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,jl(e,t,o);0!=(131072&e.flags)&&(gl=!0)}}return _l(e,t,n,r,o)}function Sl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},_o(Ps,Rs),Rs|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,_o(Ps,Rs),Rs|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,_o(Ps,Rs),Rs|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,_o(Ps,Rs),Rs|=r;return yl(e,t,o,n),t.child}function kl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function _l(e,t,n,r,o){var a=Po(n)?Do:xo.current;return a=Ro(t,a),Sa(t,o),n=Ei(e,t,n,r,a,o),r=Si(),null===e||gl?(na&&r&&Zo(t),t.flags|=1,yl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,jl(e,t,o))}function Tl(e,t,n,r,o){if(Po(n)){var a=!0;Oo(t)}else a=!1;if(Sa(t,o),null===t.stateNode)Ul(e,t),ja(t,n,r),Wa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=ka(u):u=Ro(t,u=Po(n)?Do:xo.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||s!==u)&&Va(t,i,r,u),Da=!1;var f=t.memoizedState;i.state=f,Aa(t,r,i,o),s=t.memoizedState,l!==r||f!==s||Co.current||Da?("function"==typeof c&&(Ha(t,n,c,r),s=t.memoizedState),(l=Da||Ua(t,n,l,r,f,s,u))?(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=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,Pa(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ha(t.type,l),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=ka(s):s=Ro(t,s=Po(n)?Do:xo.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!==s)&&Va(t,i,r,s),Da=!1,f=t.memoizedState,i.state=f,Aa(t,r,i,o);var h=t.memoizedState;l!==d||f!==h||Co.current||Da?("function"==typeof p&&(Ha(t,n,p,r),h=t.memoizedState),(u=Da||Ua(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"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=h),i.props=r,i.state=h,i.context=s,r=u):("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 xl(e,t,n,r,a,o)}function xl(e,t,n,r,o,a){kl(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Ao(t,n,!1),jl(e,t,a);r=t.stateNode,ml.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Ya(t,e.child,null,a),t.child=Ya(t,null,l,a)):yl(e,t,l,a),t.memoizedState=r.state,o&&Ao(t,n,!0),t.child}function Cl(e){var t=e.stateNode;t.pendingContext?Mo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mo(0,t.context,!1),ti(e,t.containerInfo)}function Dl(e,t,n,r,o){return da(),fa(o),t.flags|=256,yl(e,t,n,r),t.child}var Rl,Pl,Il,Ml={dehydrated:null,treeContext:null,retryLane:0};function Nl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ol(e,t,r){var o,a=t.pendingProps,i=ai.current,l=!1,s=0!=(128&t.flags);if((o=s)||(o=(null===e||null!==e.memoizedState)&&0!=(2&i)),o?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),_o(ai,1&i),null===e)return la(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):(s=a.children,e=a.fallback,l?(a=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&a)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Nu(s,a,0,null),e=Mu(e,a,r,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Nl(r),t.memoizedState=Ml,e):Al(t,s));if(null!==(i=e.memoizedState)&&null!==(o=i.dehydrated))return function(e,t,r,o,a,i,l){if(r)return 256&t.flags?(t.flags&=-257,Ll(e,t,l,o=sl(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=o.fallback,a=t.mode,o=Nu({mode:"visible",children:o.children},a,0,null),(i=Mu(i,a,l,null)).flags|=2,o.return=t,i.return=t,o.sibling=i,t.child=o,0!=(1&t.mode)&&Ya(t,e.child,null,l),t.child.memoizedState=Nl(l),t.memoizedState=Ml,i);if(0==(1&t.mode))return Ll(e,t,l,null);if("$!"===a.data){if(o=a.nextSibling&&a.nextSibling.dataset)var s=o.dgst;return o=s,Ll(e,t,l,o=sl(i=Error(n(419)),o,void 0))}if(s=0!=(l&e.childLanes),gl||s){if(null!==(o=xs)){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&(o.suspendedLanes|l))?0:a)&&a!==i.retryLane&&(i.retryLane=a,Ca(e,a),Js(o,e,a,-1))}return fu(),Ll(e,t,l,o=sl(Error(n(421))))}return"$?"===a.data?(t.flags|=128,t.child=e.child,t=_u.bind(null,e),a._reactRetry=t,null):(e=i.treeContext,ta=io(a.nextSibling),ea=t,na=!0,ra=null,null!==e&&($o[qo++]=Yo,$o[qo++]=Ko,$o[qo++]=Go,Yo=e.id,Ko=e.overflow,Go=t),(t=Al(t,o.children)).flags|=4096,t)}(e,t,s,a,o,i,r);if(l){l=a.fallback,s=t.mode,o=(i=e.child).sibling;var u={mode:"hidden",children:a.children};return 0==(1&s)&&t.child!==i?((a=t.child).childLanes=0,a.pendingProps=u,t.deletions=null):(a=Pu(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==o?l=Pu(o,l):(l=Mu(l,s,r,null)).flags|=2,l.return=t,a.return=t,a.sibling=l,t.child=a,a=l,l=t.child,s=null===(s=e.child.memoizedState)?Nl(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~r,t.memoizedState=Ml,a}return e=(l=e.child).sibling,a=Pu(l,{mode:"visible",children:a.children}),0==(1&t.mode)&&(a.lanes=r),a.return=t,a.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=a,t.memoizedState=null,a}function Al(e,t){return(t=Nu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ll(e,t,n,r){return null!==r&&fa(r),Ya(t,e.child,null,n),(e=Al(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function zl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ea(e.return,t,n)}function Hl(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Fl(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(yl(e,t,r.children,n),0!=(2&(r=ai.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&&zl(e,n,t);else if(19===e.tag)zl(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(_o(ai,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ii(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Hl(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ii(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Hl(t,!0,n,null,a);break;case"together":Hl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ul(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function jl(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Ns|=t.lanes,0==(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Pu(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Pu(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Vl(e,t){if(!na)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 Wl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Bl(e,t,r){var a=t.pendingProps;switch(Jo(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Wl(t),null;case 1:case 17:return Po(t.type)&&Io(),Wl(t),null;case 3:return a=t.stateNode,ni(),ko(Co),ko(xo),si(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null!==e&&null!==e.child||(ua(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ra&&(ru(ra),ra=null))),Wl(t),null;case 5:oi(t);var i=ei(Ja.current);if(r=t.type,null!==e&&null!=t.stateNode)Pl(e,t,r,a),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!a){if(null===t.stateNode)throw Error(n(166));return Wl(t),null}if(e=ei(Xa.current),ua(t)){a=t.stateNode,r=t.type;var l=t.memoizedProps;switch(a[uo]=t,a[co]=l,e=0!=(1&t.mode),r){case"dialog":Lr("cancel",a),Lr("close",a);break;case"iframe":case"object":case"embed":Lr("load",a);break;case"video":case"audio":for(i=0;i<Mr.length;i++)Lr(Mr[i],a);break;case"source":Lr("error",a);break;case"img":case"image":case"link":Lr("error",a),Lr("load",a);break;case"details":Lr("toggle",a);break;case"input":G(a,l),Lr("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!l.multiple},Lr("invalid",a);break;case"textarea":te(a,l),Lr("invalid",a)}for(var s in ve(r,l),i=null,l)if(l.hasOwnProperty(s)){var u=l[s];"children"===s?"string"==typeof u?a.textContent!==u&&(!0!==l.suppressHydrationWarning&&Kr(a.textContent,u,e),i=["children",u]):"number"==typeof u&&a.textContent!==""+u&&(!0!==l.suppressHydrationWarning&&Kr(a.textContent,u,e),i=["children",""+u]):o.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Lr("scroll",a)}switch(r){case"input":W(a),Q(a,l,!0);break;case"textarea":W(a),re(a);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(a.onclick=Qr)}a=i,t.updateQueue=a,null!==a&&(t.flags|=4)}else{s=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=oe(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof a.is?e=s.createElement(r,{is:a.is}):(e=s.createElement(r),"select"===r&&(s=e,a.multiple?s.multiple=!0:a.size&&(s.size=a.size))):e=s.createElementNS(e,r),e[uo]=t,e[co]=a,Rl(e,t),t.stateNode=e;e:{switch(s=me(r,a),r){case"dialog":Lr("cancel",e),Lr("close",e),i=a;break;case"iframe":case"object":case"embed":Lr("load",e),i=a;break;case"video":case"audio":for(i=0;i<Mr.length;i++)Lr(Mr[i],e);i=a;break;case"source":Lr("error",e),i=a;break;case"img":case"image":case"link":Lr("error",e),Lr("load",e),i=a;break;case"details":Lr("toggle",e),i=a;break;case"input":G(e,a),i=q(e,a),Lr("invalid",e);break;case"option":default:i=a;break;case"select":e._wrapperState={wasMultiple:!!a.multiple},i=O({},a,{value:void 0}),Lr("invalid",e);break;case"textarea":te(e,a),i=ee(e,a),Lr("invalid",e)}for(l in ve(r,i),u=i)if(u.hasOwnProperty(l)){var c=u[l];"style"===l?pe(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&se(e,c):"children"===l?"string"==typeof c?("textarea"!==r||""!==c)&&ue(e,c):"number"==typeof c&&ue(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(o.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Lr("scroll",e):null!=c&&m(e,l,c,s))}switch(r){case"input":W(e),Q(e,a,!1);break;case"textarea":W(e),re(e);break;case"option":null!=a.value&&e.setAttribute("value",""+j(a.value));break;case"select":e.multiple=!!a.multiple,null!=(l=a.value)?J(e,!!a.multiple,l,!1):null!=a.defaultValue&&J(e,!!a.multiple,a.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Qr)}switch(r){case"button":case"input":case"select":case"textarea":a=!!a.autoFocus;break e;case"img":a=!0;break e;default:a=!1}}a&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Wl(t),null;case 6:if(e&&null!=t.stateNode)Il(0,t,e.memoizedProps,a);else{if("string"!=typeof a&&null===t.stateNode)throw Error(n(166));if(r=ei(Ja.current),ei(Xa.current),ua(t)){if(a=t.stateNode,r=t.memoizedProps,a[uo]=t,(l=a.nodeValue!==r)&&null!==(e=ea))switch(e.tag){case 3:Kr(a.nodeValue,r,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Kr(a.nodeValue,r,0!=(1&e.mode))}l&&(t.flags|=4)}else(a=(9===r.nodeType?r:r.ownerDocument).createTextNode(a))[uo]=t,t.stateNode=a}return Wl(t),null;case 13:if(ko(ai),a=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(na&&null!==ta&&0!=(1&t.mode)&&0==(128&t.flags))ca(),da(),t.flags|=98560,l=!1;else if(l=ua(t),null!==a&&null!==a.dehydrated){if(null===e){if(!l)throw Error(n(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(n(317));l[uo]=t}else da(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Wl(t),l=!1}else null!==ra&&(ru(ra),ra=null),l=!0;if(!l)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=r,t):((a=null!==a)!==(null!==e&&null!==e.memoizedState)&&a&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&ai.current)?0===Is&&(Is=3):fu())),null!==t.updateQueue&&(t.flags|=4),Wl(t),null);case 4:return ni(),null===e&&Fr(t.stateNode.containerInfo),Wl(t),null;case 10:return wa(t.type._context),Wl(t),null;case 19:if(ko(ai),null===(l=t.memoizedState))return Wl(t),null;if(a=0!=(128&t.flags),null===(s=l.rendering))if(a)Vl(l,!1);else{if(0!==Is||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ii(e))){for(t.flags|=128,Vl(l,!1),null!==(a=s.updateQueue)&&(t.updateQueue=a,t.flags|=4),t.subtreeFlags=0,a=r,r=t.child;null!==r;)e=a,(l=r).flags&=14680066,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return _o(ai,1&ai.current|2),t.child}e=e.sibling}null!==l.tail&&Ye()>Fs&&(t.flags|=128,a=!0,Vl(l,!1),t.lanes=4194304)}else{if(!a)if(null!==(e=ii(s))){if(t.flags|=128,a=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Vl(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!na)return Wl(t),null}else 2*Ye()-l.renderingStartTime>Fs&&1073741824!==r&&(t.flags|=128,a=!0,Vl(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=l.last)?r.sibling=s:t.child=s,l.last=s)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ye(),t.sibling=null,r=ai.current,_o(ai,a?1&r|2:1&r),t):(Wl(t),null);case 22:case 23:return su(),a=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==a&&(t.flags|=8192),a&&0!=(1&t.mode)?0!=(1073741824&Rs)&&(Wl(t),6&t.subtreeFlags&&(t.flags|=8192)):Wl(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function $l(e,t){switch(Jo(t),t.tag){case 1:return Po(t.type)&&Io(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ni(),ko(Co),ko(xo),si(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return oi(t),null;case 13:if(ko(ai),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));da()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return ko(ai),null;case 4:return ni(),null;case 10:return wa(t.type._context),null;case 22:case 23:return su(),null;default:return null}}Rl=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}},Pl=function(e,t,n,r){var a=e.memoizedProps;if(a!==r){e=t.stateNode,ei(Xa.current);var i,l=null;switch(n){case"input":a=q(e,a),r=q(e,r),l=[];break;case"select":a=O({},a,{value:void 0}),r=O({},r,{value:void 0}),l=[];break;case"textarea":a=ee(e,a),r=ee(e,r),l=[];break;default:"function"!=typeof a.onClick&&"function"==typeof r.onClick&&(e.onclick=Qr)}for(c in ve(n,r),n=null,a)if(!r.hasOwnProperty(c)&&a.hasOwnProperty(c)&&null!=a[c])if("style"===c){var s=a[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(o.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=a?a[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(l||(l=[]),l.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(l=l||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(l=l||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(o.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Lr("scroll",e),l||s===u||(l=[])):(l=l||[]).push(c,u))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},Il=function(e,t,n,r){n!==r&&(t.flags|=4)};var ql=!1,Gl=!1,Yl="function"==typeof WeakSet?WeakSet:Set,Kl=null;function Ql(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Eu(e,t,n)}else n.current=null}function Xl(e,t,n){try{n()}catch(n){Eu(e,t,n)}}var Zl=!1;function Jl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&Xl(t,n,a)}o=o.next}while(o!==r)}}function es(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 ts(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 ns(e){var t=e.alternate;null!==t&&(e.alternate=null,ns(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[uo],delete t[co],delete t[po],delete t[ho],delete t[vo])),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 rs(e){return 5===e.tag||3===e.tag||4===e.tag}function os(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||rs(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 as(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=Qr));else if(4!==r&&null!==(e=e.child))for(as(e,t,n),e=e.sibling;null!==e;)as(e,t,n),e=e.sibling}function is(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(is(e,t,n),e=e.sibling;null!==e;)is(e,t,n),e=e.sibling}var ls=null,ss=!1;function us(e,t,n){for(n=n.child;null!==n;)cs(e,t,n),n=n.sibling}function cs(e,t,n){if(nt&&"function"==typeof nt.onCommitFiberUnmount)try{nt.onCommitFiberUnmount(tt,n)}catch(e){}switch(n.tag){case 5:Gl||Ql(n,t);case 6:var r=ls,o=ss;ls=null,us(e,t,n),ss=o,null!==(ls=r)&&(ss?(e=ls,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ls.removeChild(n.stateNode));break;case 18:null!==ls&&(ss?(e=ls,n=n.stateNode,8===e.nodeType?ao(e.parentNode,n):1===e.nodeType&&ao(e,n),Ft(e)):ao(ls,n.stateNode));break;case 4:r=ls,o=ss,ls=n.stateNode.containerInfo,ss=!0,us(e,t,n),ls=r,ss=o;break;case 0:case 11:case 14:case 15:if(!Gl&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&Xl(n,t,i),o=o.next}while(o!==r)}us(e,t,n);break;case 1:if(!Gl&&(Ql(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Eu(n,t,e)}us(e,t,n);break;case 21:us(e,t,n);break;case 22:1&n.mode?(Gl=(r=Gl)||null!==n.memoizedState,us(e,t,n),Gl=r):us(e,t,n);break;default:us(e,t,n)}}function ds(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Yl),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function fs(e,t){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ls=s.stateNode,ss=!1;break e;case 3:case 4:ls=s.stateNode.containerInfo,ss=!0;break e}s=s.return}if(null===ls)throw Error(n(160));cs(i,l,a),ls=null,ss=!1;var u=a.alternate;null!==u&&(u.return=null),a.return=null}catch(e){Eu(a,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ps(t,e),t=t.sibling}function ps(e,t){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(fs(t,e),hs(e),4&o){try{Jl(3,e,e.return),es(3,e)}catch(t){Eu(e,e.return,t)}try{Jl(5,e,e.return)}catch(t){Eu(e,e.return,t)}}break;case 1:fs(t,e),hs(e),512&o&&null!==r&&Ql(r,r.return);break;case 5:if(fs(t,e),hs(e),512&o&&null!==r&&Ql(r,r.return),32&e.flags){var a=e.stateNode;try{ue(a,"")}catch(t){Eu(e,e.return,t)}}if(4&o&&null!=(a=e.stateNode)){var i=e.memoizedProps,l=null!==r?r.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&Y(a,i),me(s,l);var c=me(s,i);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?pe(a,f):"dangerouslySetInnerHTML"===d?se(a,f):"children"===d?ue(a,f):m(a,d,f,c)}switch(s){case"input":K(a,i);break;case"textarea":ne(a,i);break;case"select":var p=a._wrapperState.wasMultiple;a._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?J(a,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?J(a,!!i.multiple,i.defaultValue,!0):J(a,!!i.multiple,i.multiple?[]:"",!1))}a[co]=i}catch(t){Eu(e,e.return,t)}}break;case 6:if(fs(t,e),hs(e),4&o){if(null===e.stateNode)throw Error(n(162));a=e.stateNode,i=e.memoizedProps;try{a.nodeValue=i}catch(t){Eu(e,e.return,t)}}break;case 3:if(fs(t,e),hs(e),4&o&&null!==r&&r.memoizedState.isDehydrated)try{Ft(t.containerInfo)}catch(t){Eu(e,e.return,t)}break;case 4:default:fs(t,e),hs(e);break;case 13:fs(t,e),hs(e),8192&(a=e.child).flags&&(i=null!==a.memoizedState,a.stateNode.isHidden=i,!i||null!==a.alternate&&null!==a.alternate.memoizedState||(Hs=Ye())),4&o&&ds(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Gl=(c=Gl)||d,fs(t,e),Gl=c):fs(t,e),hs(e),8192&o){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Kl=e,d=e.child;null!==d;){for(f=Kl=d;null!==Kl;){switch(h=(p=Kl).child,p.tag){case 0:case 11:case 14:case 15:Jl(4,p,p.return);break;case 1:Ql(p,p.return);var v=p.stateNode;if("function"==typeof v.componentWillUnmount){o=p,r=p.return;try{t=o,v.props=t.memoizedProps,v.state=t.memoizedState,v.componentWillUnmount()}catch(e){Eu(o,r,e)}}break;case 5:Ql(p,p.return);break;case 22:if(null!==p.memoizedState){ys(f);continue}}null!==h?(h.return=p,Kl=h):ys(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":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=fe("display",l))}catch(t){Eu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Eu(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:fs(t,e),hs(e),4&o&&ds(e);case 21:}}function hs(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(rs(r)){var o=r;break e}r=r.return}throw Error(n(160))}switch(o.tag){case 5:var a=o.stateNode;32&o.flags&&(ue(a,""),o.flags&=-33),is(e,os(e),a);break;case 3:case 4:var i=o.stateNode.containerInfo;as(e,os(e),i);break;default:throw Error(n(161))}}catch(t){Eu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vs(e,t,n){Kl=e,ms(e)}function ms(e,t,n){for(var r=0!=(1&e.mode);null!==Kl;){var o=Kl,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||ql;if(!i){var l=o.alternate,s=null!==l&&null!==l.memoizedState||Gl;l=ql;var u=Gl;if(ql=i,(Gl=s)&&!u)for(Kl=o;null!==Kl;)s=(i=Kl).child,22===i.tag&&null!==i.memoizedState?bs(o):null!==s?(s.return=i,Kl=s):bs(o);for(;null!==a;)Kl=a,ms(a),a=a.sibling;Kl=o,ql=l,Gl=u}gs(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,Kl=a):gs(e)}}function gs(e){for(;null!==Kl;){var t=Kl;if(0!=(8772&t.flags)){var r=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Gl||es(5,t);break;case 1:var o=t.stateNode;if(4&t.flags&&!Gl)if(null===r)o.componentDidMount();else{var a=t.elementType===t.type?r.memoizedProps:ha(t.type,r.memoizedProps);o.componentDidUpdate(a,r.memoizedState,o.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&La(t,i,o);break;case 3:var l=t.updateQueue;if(null!==l){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}La(t,l,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.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&&Ft(f)}}}break;default:throw Error(n(163))}Gl||512&t.flags&&ts(t)}catch(e){Eu(t,t.return,e)}}if(t===e){Kl=null;break}if(null!==(r=t.sibling)){r.return=t.return,Kl=r;break}Kl=t.return}}function ys(e){for(;null!==Kl;){var t=Kl;if(t===e){Kl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Kl=n;break}Kl=t.return}}function bs(e){for(;null!==Kl;){var t=Kl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{es(4,t)}catch(e){Eu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Eu(t,o,e)}}var a=t.return;try{ts(t)}catch(e){Eu(t,a,e)}break;case 5:var i=t.return;try{ts(t)}catch(e){Eu(t,i,e)}}}catch(e){Eu(t,t.return,e)}if(t===e){Kl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Kl=l;break}Kl=t.return}}var ws,Es=Math.ceil,Ss=g.ReactCurrentDispatcher,ks=g.ReactCurrentOwner,_s=g.ReactCurrentBatchConfig,Ts=0,xs=null,Cs=null,Ds=0,Rs=0,Ps=So(0),Is=0,Ms=null,Ns=0,Os=0,As=0,Ls=null,zs=null,Hs=0,Fs=1/0,Us=null,js=!1,Vs=null,Ws=null,Bs=!1,$s=null,qs=0,Gs=0,Ys=null,Ks=-1,Qs=0;function Xs(){return 0!=(6&Ts)?Ye():-1!==Ks?Ks:Ks=Ye()}function Zs(e){return 0==(1&e.mode)?1:0!=(2&Ts)&&0!==Ds?Ds&-Ds:null!==pa.transition?(0===Qs&&(Qs=ft()),Qs):0!==(e=mt)?e:e=void 0===(e=window.event)?16:Gt(e.type)}function Js(e,t,r,o){if(50<Gs)throw Gs=0,Ys=null,Error(n(185));ht(e,r,o),0!=(2&Ts)&&e===xs||(e===xs&&(0==(2&Ts)&&(Os|=r),4===Is&&ou(e,Ds)),eu(e,o),1===r&&0===Ts&&0==(1&t.mode)&&(Fs=Ye()+500,zo&&Uo()))}function eu(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-rt(a),l=1<<i,s=o[i];-1===s?0!=(l&n)&&0==(l&r)||(o[i]=ct(l,t)):s<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=ut(e,e===xs?Ds:0);if(0===r)null!==n&&$e(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&$e(n),1===t)0===e.tag?function(e){zo=!0,Fo(e)}(au.bind(null,e)):Fo(au.bind(null,e)),ro((function(){0==(6&Ts)&&Uo()})),n=null;else{switch(gt(r)){case 1:n=Qe;break;case 4:n=Xe;break;case 16:default:n=Ze;break;case 536870912:n=et}n=xu(n,tu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function tu(e,t){if(Ks=-1,Qs=0,0!=(6&Ts))throw Error(n(327));var r=e.callbackNode;if(bu()&&e.callbackNode!==r)return null;var o=ut(e,e===xs?Ds:0);if(0===o)return null;if(0!=(30&o)||0!=(o&e.expiredLanes)||t)t=pu(e,o);else{t=o;var a=Ts;Ts|=2;var i=du();for(xs===e&&Ds===t||(Us=null,Fs=Ye()+500,uu(e,t));;)try{vu();break}catch(t){cu(e,t)}ba(),Ss.current=i,Ts=a,null!==Cs?t=0:(xs=null,Ds=0,t=Is)}if(0!==t){if(2===t&&(0!==(a=dt(e))&&(o=a,t=nu(e,a))),1===t)throw r=Ms,uu(e,0),ou(e,o),eu(e,Ye()),r;if(6===t)ou(e,o);else{if(a=e.current.alternate,0==(30&o)&&!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 o=n[r],a=o.getSnapshot;o=o.value;try{if(!or(a(),o))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=pu(e,o))&&(0!==(i=dt(e))&&(o=i,t=nu(e,i))),1===t))throw r=Ms,uu(e,0),ou(e,o),eu(e,Ye()),r;switch(e.finishedWork=a,e.finishedLanes=o,t){case 0:case 1:throw Error(n(345));case 2:case 5:yu(e,zs,Us);break;case 3:if(ou(e,o),(130023424&o)===o&&10<(t=Hs+500-Ye())){if(0!==ut(e,0))break;if(((a=e.suspendedLanes)&o)!==o){Xs(),e.pingedLanes|=e.suspendedLanes&a;break}e.timeoutHandle=eo(yu.bind(null,e,zs,Us),t);break}yu(e,zs,Us);break;case 4:if(ou(e,o),(4194240&o)===o)break;for(t=e.eventTimes,a=-1;0<o;){var l=31-rt(o);i=1<<l,(l=t[l])>a&&(a=l),o&=~i}if(o=a,10<(o=(120>(o=Ye()-o)?120:480>o?480:1080>o?1080:1920>o?1920:3e3>o?3e3:4320>o?4320:1960*Es(o/1960))-o)){e.timeoutHandle=eo(yu.bind(null,e,zs,Us),o);break}yu(e,zs,Us);break;default:throw Error(n(329))}}}return eu(e,Ye()),e.callbackNode===r?tu.bind(null,e):null}function nu(e,t){var n=Ls;return e.current.memoizedState.isDehydrated&&(uu(e,t).flags|=256),2!==(e=pu(e,t))&&(t=zs,zs=n,null!==t&&ru(t)),e}function ru(e){null===zs?zs=e:zs.push.apply(zs,e)}function ou(e,t){for(t&=~As,t&=~Os,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-rt(t),r=1<<n;e[n]=-1,t&=~r}}function au(e){if(0!=(6&Ts))throw Error(n(327));bu();var t=ut(e,0);if(0==(1&t))return eu(e,Ye()),null;var r=pu(e,t);if(0!==e.tag&&2===r){var o=dt(e);0!==o&&(t=o,r=nu(e,o))}if(1===r)throw r=Ms,uu(e,0),ou(e,t),eu(e,Ye()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,yu(e,zs,Us),eu(e,Ye()),null}function iu(e,t){var n=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=n)&&(Fs=Ye()+500,zo&&Uo())}}function lu(e){null!==$s&&0===$s.tag&&0==(6&Ts)&&bu();var t=Ts;Ts|=1;var n=_s.transition,r=mt;try{if(_s.transition=null,mt=1,e)return e()}finally{mt=r,_s.transition=n,0==(6&(Ts=t))&&Uo()}}function su(){Rs=Ps.current,ko(Ps)}function uu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,to(n)),null!==Cs)for(n=Cs.return;null!==n;){var r=n;switch(Jo(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Io();break;case 3:ni(),ko(Co),ko(xo),si();break;case 5:oi(r);break;case 4:ni();break;case 13:case 19:ko(ai);break;case 10:wa(r.type._context);break;case 22:case 23:su()}n=n.return}if(xs=e,Cs=e=Pu(e.current,null),Ds=Rs=t,Is=0,Ms=null,As=Os=Ns=0,zs=Ls=null,null!==_a){for(t=0;t<_a.length;t++)if(null!==(r=(n=_a[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}_a=null}return e}function cu(e,t){for(;;){var r=Cs;try{if(ba(),ui.current=rl,vi){for(var o=fi.memoizedState;null!==o;){var a=o.queue;null!==a&&(a.pending=null),o=o.next}vi=!1}if(di=0,hi=pi=fi=null,mi=!1,gi=0,ks.current=null,null===r||null===r.return){Is=1,Ms=t,Cs=null;break}e:{var i=e,l=r.return,s=r,u=t;if(t=Ds,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,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 h=hl(l);if(null!==h){h.flags&=-257,vl(h,l,s,0,t),1&h.mode&&pl(i,c,t),u=c;var v=(t=h).updateQueue;if(null===v){var m=new Set;m.add(u),t.updateQueue=m}else v.add(u);break e}if(0==(1&t)){pl(i,c,t),fu();break e}u=Error(n(426))}else if(na&&1&s.mode){var g=hl(l);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),vl(g,l,s,0,t),fa(ll(u,s));break e}}i=u=ll(u,s),4!==Is&&(Is=2),null===Ls?Ls=[i]:Ls.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Oa(i,dl(0,u,t));break e;case 1:s=u;var y=i.type,b=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Ws||!Ws.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Oa(i,fl(i,s,t));break e}}i=i.return}while(null!==i)}gu(r)}catch(e){t=e,Cs===r&&null!==r&&(Cs=r=r.return);continue}break}}function du(){var e=Ss.current;return Ss.current=rl,null===e?rl:e}function fu(){0!==Is&&3!==Is&&2!==Is||(Is=4),null===xs||0==(268435455&Ns)&&0==(268435455&Os)||ou(xs,Ds)}function pu(e,t){var r=Ts;Ts|=2;var o=du();for(xs===e&&Ds===t||(Us=null,uu(e,t));;)try{hu();break}catch(t){cu(e,t)}if(ba(),Ts=r,Ss.current=o,null!==Cs)throw Error(n(261));return xs=null,Ds=0,Is}function hu(){for(;null!==Cs;)mu(Cs)}function vu(){for(;null!==Cs&&!qe();)mu(Cs)}function mu(e){var t=ws(e.alternate,e,Rs);e.memoizedProps=e.pendingProps,null===t?gu(e):Cs=t,ks.current=null}function gu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Bl(n,t,Rs)))return void(Cs=n)}else{if(null!==(n=$l(n,t)))return n.flags&=32767,void(Cs=n);if(null===e)return Is=6,void(Cs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Cs=t);Cs=t=e}while(null!==t);0===Is&&(Is=5)}function yu(e,t,r){var o=mt,a=_s.transition;try{_s.transition=null,mt=1,function(e,t,r,o){do{bu()}while(null!==$s);if(0!=(6&Ts))throw Error(n(327));r=e.finishedWork;var a=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.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 o=31-rt(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===xs&&(Cs=xs=null,Ds=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||Bs||(Bs=!0,xu(Ze,(function(){return bu(),null}))),i=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||i){i=_s.transition,_s.transition=null;var l=mt;mt=1;var s=Ts;Ts|=4,ks.current=null,function(e,t){if(Xr=jt,cr(e=ur())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var o=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(o&&0!==o.rangeCount){r=o.anchorNode;var a=o.anchorOffset,i=o.focusNode;o=o.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==a&&3!==f.nodeType||(s=l+a),f!==i||0!==o&&3!==f.nodeType||(u=l+o),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===a&&(s=l),p===i&&++d===o&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Zr={focusedElem:e,selectionRange:r},jt=!1,Kl=t;null!==Kl;)if(e=(t=Kl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Kl=e;else for(;null!==Kl;){t=Kl;try{var v=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==v){var m=v.memoizedProps,g=v.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?m:ha(t.type,m),g);y.__reactInternalSnapshotBeforeUpdate=b}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(n(163))}}catch(e){Eu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Kl=e;break}Kl=t.return}v=Zl,Zl=!1}(e,r),ps(r,e),dr(Zr),jt=!!Xr,Zr=Xr=null,e.current=r,vs(r),Ge(),Ts=s,mt=l,_s.transition=i}else e.current=r;if(Bs&&(Bs=!1,$s=e,qs=a),0===(i=e.pendingLanes)&&(Ws=null),function(e){if(nt&&"function"==typeof nt.onCommitFiberRoot)try{nt.onCommitFiberRoot(tt,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode),eu(e,Ye()),null!==t)for(o=e.onRecoverableError,r=0;r<t.length;r++)a=t[r],o(a.value,{componentStack:a.stack,digest:a.digest});if(js)throw js=!1,e=Vs,Vs=null,e;0!=(1&qs)&&0!==e.tag&&bu(),0!=(1&(i=e.pendingLanes))?e===Ys?Gs++:(Gs=0,Ys=e):Gs=0,Uo()}(e,t,r,o)}finally{_s.transition=a,mt=o}return null}function bu(){if(null!==$s){var e=gt(qs),t=_s.transition,r=mt;try{if(_s.transition=null,mt=16>e?16:e,null===$s)var o=!1;else{if(e=$s,$s=null,qs=0,0!=(6&Ts))throw Error(n(331));var a=Ts;for(Ts|=4,Kl=e.current;null!==Kl;){var i=Kl,l=i.child;if(0!=(16&Kl.flags)){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Kl=c;null!==Kl;){var d=Kl;switch(d.tag){case 0:case 11:case 15:Jl(8,d,i)}var f=d.child;if(null!==f)f.return=d,Kl=f;else for(;null!==Kl;){var p=(d=Kl).sibling,h=d.return;if(ns(d),d===c){Kl=null;break}if(null!==p){p.return=h,Kl=p;break}Kl=h}}}var v=i.alternate;if(null!==v){var m=v.child;if(null!==m){v.child=null;do{var g=m.sibling;m.sibling=null,m=g}while(null!==m)}}Kl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Kl=l;else e:for(;null!==Kl;){if(0!=(2048&(i=Kl).flags))switch(i.tag){case 0:case 11:case 15:Jl(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Kl=y;break e}Kl=i.return}}var b=e.current;for(Kl=b;null!==Kl;){var w=(l=Kl).child;if(0!=(2064&l.subtreeFlags)&&null!==w)w.return=l,Kl=w;else e:for(l=b;null!==Kl;){if(0!=(2048&(s=Kl).flags))try{switch(s.tag){case 0:case 11:case 15:es(9,s)}}catch(e){Eu(s,s.return,e)}if(s===l){Kl=null;break e}var E=s.sibling;if(null!==E){E.return=s.return,Kl=E;break e}Kl=s.return}}if(Ts=a,Uo(),nt&&"function"==typeof nt.onPostCommitFiberRoot)try{nt.onPostCommitFiberRoot(tt,e)}catch(e){}o=!0}return o}finally{mt=r,_s.transition=t}}return!1}function wu(e,t,n){e=Ma(e,t=dl(0,t=ll(n,t),1),1),t=Xs(),null!==e&&(ht(e,1,t),eu(e,t))}function Eu(e,t,n){if(3===e.tag)wu(e,e,n);else for(;null!==t;){if(3===t.tag){wu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Ws||!Ws.has(r))){t=Ma(t,e=fl(t,e=ll(n,e),1),1),e=Xs(),null!==t&&(ht(t,1,e),eu(t,e));break}}t=t.return}}function Su(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Xs(),e.pingedLanes|=e.suspendedLanes&n,xs===e&&(Ds&n)===n&&(4===Is||3===Is&&(130023424&Ds)===Ds&&500>Ye()-Hs?uu(e,0):As|=n),eu(e,t)}function ku(e,t){0===t&&(0==(1&e.mode)?t=1:(t=lt,0==(130023424&(lt<<=1))&&(lt=4194304)));var n=Xs();null!==(e=Ca(e,t))&&(ht(e,t,n),eu(e,n))}function _u(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),ku(e,n)}function Tu(e,t){var r=0;switch(e.tag){case 13:var o=e.stateNode,a=e.memoizedState;null!==a&&(r=a.retryLane);break;case 19:o=e.stateNode;break;default:throw Error(n(314))}null!==o&&o.delete(t),ku(e,r)}function xu(e,t){return Be(e,t)}function Cu(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 Du(e,t,n,r){return new Cu(e,t,n,r)}function Ru(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Pu(e,t){var n=e.alternate;return null===n?((n=Du(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 Iu(e,t,r,o,a,i){var l=2;if(o=e,"function"==typeof e)Ru(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case w:return Mu(r.children,a,i,t);case E:l=8,a|=8;break;case S:return(e=Du(12,r,t,2|a)).elementType=S,e.lanes=i,e;case x:return(e=Du(13,r,t,a)).elementType=x,e.lanes=i,e;case C:return(e=Du(19,r,t,a)).elementType=C,e.lanes=i,e;case P:return Nu(r,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k:l=10;break e;case _:l=9;break e;case T:l=11;break e;case D:l=14;break e;case R:l=16,o=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Du(l,r,t,a)).elementType=e,t.type=o,t.lanes=i,t}function Mu(e,t,n,r){return(e=Du(7,e,r,t)).lanes=n,e}function Nu(e,t,n,r){return(e=Du(22,e,r,t)).elementType=P,e.lanes=n,e.stateNode={isHidden:!1},e}function Ou(e,t,n){return(e=Du(6,e,null,t)).lanes=n,e}function Au(e,t,n){return(t=Du(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Lu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=pt(0),this.expirationTimes=pt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function zu(e,t,n,r,o,a,i,l,s){return e=new Lu(e,t,n,l,s),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Du(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ra(a),e}function Hu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:b,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Fu(e){if(!e)return To;e:{if(Fe(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Po(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(Po(r))return No(e,r,t)}return t}function Uu(e,t,n,r,o,a,i,l,s){return(e=zu(n,r,!0,e,0,a,0,l,s)).context=Fu(null),n=e.current,(a=Ia(r=Xs(),o=Zs(n))).callback=null!=t?t:null,Ma(n,a,o),e.current.lanes=o,ht(e,o,r),eu(e,r),e}function ju(e,t,n,r){var o=t.current,a=Xs(),i=Zs(o);return n=Fu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ia(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ma(o,t,i))&&(Js(e,o,i,a),Na(e,o,i)),i}function Vu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Bu(e,t){Wu(e,t),(e=e.alternate)&&Wu(e,t)}ws=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Co.current)gl=!0;else{if(0==(e.lanes&r)&&0==(128&t.flags))return gl=!1,function(e,t,n){switch(t.tag){case 3:Cl(t),da();break;case 5:ri(t);break;case 1:Po(t.type)&&Oo(t);break;case 4:ti(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;_o(va,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_o(ai,1&ai.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ol(e,t,n):(_o(ai,1&ai.current),null!==(e=jl(e,t,n))?e.sibling:null);_o(ai,1&ai.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Fl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),_o(ai,ai.current),r)break;return null;case 22:case 23:return t.lanes=0,Sl(e,t,n)}return jl(e,t,n)}(e,t,r);gl=0!=(131072&e.flags)}else gl=!1,na&&0!=(1048576&t.flags)&&Xo(t,Bo,t.index);switch(t.lanes=0,t.tag){case 2:var o=t.type;Ul(e,t),e=t.pendingProps;var a=Ro(t,xo.current);Sa(t,r),a=Ei(null,t,o,e,a,r);var i=Si();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,Po(o)?(i=!0,Oo(t)):i=!1,t.memoizedState=null!==a.state&&void 0!==a.state?a.state:null,Ra(t),a.updater=Fa,t.stateNode=a,a._reactInternals=t,Wa(t,o,e,r),t=xl(null,t,o,!0,i,r)):(t.tag=0,na&&i&&Zo(t),yl(null,t,a,r),t=t.child),t;case 16:o=t.elementType;e:{switch(Ul(e,t),e=t.pendingProps,o=(a=o._init)(o._payload),t.type=o,a=t.tag=function(e){if("function"==typeof e)return Ru(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===D)return 14}return 2}(o),e=ha(o,e),a){case 0:t=_l(null,t,o,e,r);break e;case 1:t=Tl(null,t,o,e,r);break e;case 11:t=bl(null,t,o,e,r);break e;case 14:t=wl(null,t,o,ha(o.type,e),r);break e}throw Error(n(306,o,""))}return t;case 0:return o=t.type,a=t.pendingProps,_l(e,t,o,a=t.elementType===o?a:ha(o,a),r);case 1:return o=t.type,a=t.pendingProps,Tl(e,t,o,a=t.elementType===o?a:ha(o,a),r);case 3:e:{if(Cl(t),null===e)throw Error(n(387));o=t.pendingProps,a=(i=t.memoizedState).element,Pa(e,t),Aa(t,o,null,r);var l=t.memoizedState;if(o=l.element,i.isDehydrated){if(i={element:o,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Dl(e,t,o,r,a=ll(Error(n(423)),t));break e}if(o!==a){t=Dl(e,t,o,r,a=ll(Error(n(424)),t));break e}for(ta=io(t.stateNode.containerInfo.firstChild),ea=t,na=!0,ra=null,r=Ka(t,null,o,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(da(),o===a){t=jl(e,t,r);break e}yl(e,t,o,r)}t=t.child}return t;case 5:return ri(t),null===e&&la(t),o=t.type,a=t.pendingProps,i=null!==e?e.memoizedProps:null,l=a.children,Jr(o,a)?l=null:null!==i&&Jr(o,i)&&(t.flags|=32),kl(e,t),yl(e,t,l,r),t.child;case 6:return null===e&&la(t),null;case 13:return Ol(e,t,r);case 4:return ti(t,t.stateNode.containerInfo),o=t.pendingProps,null===e?t.child=Ya(t,null,o,r):yl(e,t,o,r),t.child;case 11:return o=t.type,a=t.pendingProps,bl(e,t,o,a=t.elementType===o?a:ha(o,a),r);case 7:return yl(e,t,t.pendingProps,r),t.child;case 8:case 12:return yl(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(o=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value,_o(va,o._currentValue),o._currentValue=l,null!==i)if(or(i.value,l)){if(i.children===a.children&&!Co.current){t=jl(e,t,r);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===o){if(1===i.tag){(u=Ia(-1,r&-r)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=r,null!==(u=i.alternate)&&(u.lanes|=r),Ea(i.return,r,t),s.lanes|=r;break}u=u.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(n(341));l.lanes|=r,null!==(s=l.alternate)&&(s.lanes|=r),Ea(l,r,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}yl(e,t,a.children,r),t=t.child}return t;case 9:return a=t.type,o=t.pendingProps.children,Sa(t,r),o=o(a=ka(a)),t.flags|=1,yl(e,t,o,r),t.child;case 14:return a=ha(o=t.type,t.pendingProps),wl(e,t,o,a=ha(o.type,a),r);case 15:return El(e,t,t.type,t.pendingProps,r);case 17:return o=t.type,a=t.pendingProps,a=t.elementType===o?a:ha(o,a),Ul(e,t),t.tag=1,Po(o)?(e=!0,Oo(t)):e=!1,Sa(t,r),ja(t,o,a),Wa(t,o,a,r),xl(null,t,o,!0,e,r);case 19:return Fl(e,t,r);case 22:return Sl(e,t,r)}throw Error(n(156,t.tag))};var $u="function"==typeof reportError?reportError:function(e){console.error(e)};function qu(e){this._internalRoot=e}function Gu(e){this._internalRoot=e}function Yu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ku(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Qu(){}function Xu(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var l=o;o=function(){var e=Vu(i);l.call(e)}}ju(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=Vu(i);a.call(e)}}var i=Uu(t,r,e,0,null,!1,0,"",Qu);return e._reactRootContainer=i,e[fo]=i.current,Fr(8===e.nodeType?e.parentNode:e),lu(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=Vu(s);l.call(e)}}var s=zu(e,0,!1,null,0,!1,0,"",Qu);return e._reactRootContainer=s,e[fo]=s.current,Fr(8===e.nodeType?e.parentNode:e),lu((function(){ju(t,s,n,r)})),s}(n,t,e,o,r);return Vu(i)}Gu.prototype.render=qu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));ju(e,t,null,null)},Gu.prototype.unmount=qu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lu((function(){ju(null,e,null,null)})),t[fo]=null}},Gu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Pt.length&&0!==t&&t<Pt[n].priority;n++);Pt.splice(n,0,e),0===n&&Ot(e)}},yt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=st(t.pendingLanes);0!==n&&(vt(t,1|n),eu(t,Ye()),0==(6&Ts)&&(Fs=Ye()+500,Uo()))}break;case 13:lu((function(){var t=Ca(e,1);if(null!==t){var n=Xs();Js(t,e,1,n)}})),Bu(e,1)}},bt=function(e){if(13===e.tag){var t=Ca(e,134217728);if(null!==t)Js(t,e,134217728,Xs());Bu(e,134217728)}},wt=function(e){if(13===e.tag){var t=Zs(e),n=Ca(e,t);if(null!==n)Js(n,e,t,Xs());Bu(e,t)}},Et=function(){return mt},St=function(e,t){var n=mt;try{return mt=e,t()}finally{mt=n}},be=function(e,t,r){switch(t){case"input":if(K(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var o=r[t];if(o!==e&&o.form===e.form){var a=bo(o);if(!a)throw Error(n(90));B(o),K(o,a)}}}break;case"textarea":ne(e,r);break;case"select":null!=(t=r.value)&&J(e,!!r.multiple,t,!1)}},Te=iu,xe=lu;var Zu={usingClientEntryPoint:!1,Events:[go,yo,bo,ke,_e,iu]},Ju={findFiberByHostInstance:mo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ec={bundleType:Ju.bundleType,version:Ju.version,rendererPackageName:Ju.rendererPackageName,rendererConfig:Ju.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:g.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ve(e))?null:e.stateNode},findFiberByHostInstance:Ju.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 tc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tc.isDisabled&&tc.supportsFiber)try{tt=tc.inject(ec),nt=tc}catch(le){}}return reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Zu,reactDom_production_min.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Yu(t))throw Error(n(200));return Hu(e,t,null,r)},reactDom_production_min.createRoot=function(e,t){if(!Yu(e))throw Error(n(299));var r=!1,o="",a=$u;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(o=t.identifierPrefix),void 0!==t.onRecoverableError&&(a=t.onRecoverableError)),t=zu(e,1,!1,null,0,r,0,o,a),e[fo]=t.current,Fr(8===e.nodeType?e.parentNode:e),new qu(t)},reactDom_production_min.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(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return e=null===(e=Ve(t))?null:e.stateNode},reactDom_production_min.flushSync=function(e){return lu(e)},reactDom_production_min.hydrate=function(e,t,r){if(!Ku(t))throw Error(n(200));return Xu(null,e,t,!0,r)},reactDom_production_min.hydrateRoot=function(e,t,r){if(!Yu(e))throw Error(n(405));var o=null!=r&&r.hydratedSources||null,a=!1,i="",l=$u;if(null!=r&&(!0===r.unstable_strictMode&&(a=!0),void 0!==r.identifierPrefix&&(i=r.identifierPrefix),void 0!==r.onRecoverableError&&(l=r.onRecoverableError)),t=Uu(t,null,e,1,null!=r?r:null,a,0,i,l),e[fo]=t.current,Fr(e),o)for(e=0;e<o.length;e++)a=(a=(r=o[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,a]:t.mutableSourceEagerHydrationData.push(r,a);return new Gu(t)},reactDom_production_min.render=function(e,t,r){if(!Ku(t))throw Error(n(200));return Xu(null,e,t,!1,r)},reactDom_production_min.unmountComponentAtNode=function(e){if(!Ku(e))throw Error(n(40));return!!e._reactRootContainer&&(lu((function(){Xu(null,null,e,!1,(function(){e._reactRootContainer=null,e[fo]=null}))})),!0)},reactDom_production_min.unstable_batchedUpdates=iu,reactDom_production_min.unstable_renderSubtreeIntoContainer=function(e,t,r,o){if(!Ku(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return Xu(e,t,r,!1,o)},reactDom_production_min.version="18.2.0-next-9e3b772b8-20220608",reactDom_production_min}var reactDom_development={},hasRequiredReactDom_development;
28
+ */function requireReactDom_production_min(){if(hasRequiredReactDom_production_min)return reactDom_production_min;hasRequiredReactDom_production_min=1;var e=react.exports,t=requireScheduler();function n(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 r=new Set,a={};function o(e,t){i(e,t),i(e+"Capture",t)}function i(e,t){for(a[e]=t,e=0;e<t.length;e++)r.add(t[e])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),s=Object.prototype.hasOwnProperty,u=/^[: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]*$/,c={},d={};function f(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 p={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){p[e]=new f(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];p[t]=new f(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){p[e]=new f(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){p[e]=new f(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){p[e]=new f(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){p[e]=new f(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){p[e]=new f(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){p[e]=new f(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){p[e]=new f(e,5,!1,e.toLowerCase(),null,!1,!1)}));var h=/[\-:]([a-z])/g;function m(e){return e[1].toUpperCase()}function v(e,t,n,r){var a=p.hasOwnProperty(t)?p[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!!s.call(d,e)||!s.call(c,e)&&(u.test(e)?d[e]=!0:(c[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(h,m);p[t]=new f(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(h,m);p[t]=new f(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(h,m);p[t]=new f(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){p[e]=new f(e,1,!1,e.toLowerCase(),null,!1,!1)})),p.xlinkHref=new f("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){p[e]=new f(e,1,!1,e.toLowerCase(),null,!0,!0)}));var g=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,y=Symbol.for("react.element"),b=Symbol.for("react.portal"),w=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),_=Symbol.for("react.provider"),k=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),x=Symbol.for("react.suspense"),C=Symbol.for("react.suspense_list"),D=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),N=Symbol.for("react.offscreen"),P=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=P&&e[P]||e["@@iterator"])?e:null}var O,M=Object.assign;function A(e){if(void 0===O)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);O=t&&t[1]||""}return"\n"+O+e}var F=!1;function L(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var a=t.stack.split("\n"),o=r.stack.split("\n"),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 s="\n"+a[i].replace(" at new "," at ");return e.displayName&&s.includes("<anonymous>")&&(s=s.replace("<anonymous>",e.displayName)),s}}while(1<=i&&0<=l);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?A(e):""}function z(e){switch(e.tag){case 5:return A(e.type);case 16:return A("Lazy");case 13:return A("Suspense");case 19:return A("SuspenseList");case 0:case 2:case 15:return e=L(e.type,!1);case 11:return e=L(e.type.render,!1);case 1:return e=L(e.type,!0);default:return""}}function H(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 w:return"Fragment";case b:return"Portal";case E:return"Profiler";case S:return"StrictMode";case x:return"Suspense";case C:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case k:return(e.displayName||"Context")+".Consumer";case _:return(e._context.displayName||"Context")+".Provider";case T:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case D:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return H(e(t))}catch(e){}}return null}function U(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 H(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function $(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function j(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function V(e){e._valueTracker||(e._valueTracker=function(e){var t=j(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 W(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=j(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function B(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function q(e,t){var n=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=$(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 G(e,t){null!=(t=t.checked)&&v(e,"checked",t,!1)}function K(e,t){G(e,t);var n=$(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")?X(e,t.type,n):t.hasOwnProperty("defaultValue")&&X(e,t.type,$(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Q(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 X(e,t,n){"number"===t&&B(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var Z=Array.isArray;function J(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=""+$(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 ee(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(n(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function te(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(n(92));if(Z(r)){if(1<r.length)throw Error(n(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:$(r)}}function ne(e,t){var n=$(t.value),r=$(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 re(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function ae(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 oe(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?ae(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ie,le,se=(le=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ie=ie||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ie.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 le(e,t)}))}:le);function ue(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 ce={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},de=["Webkit","ms","Moz","O"];function fe(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ce.hasOwnProperty(e)&&ce[e]?(""+t).trim():t+"px"}function pe(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),a=fe(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,a):e[n]=a}}Object.keys(ce).forEach((function(e){de.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ce[t]=ce[e]}))}));var he=M({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 me(e,t){if(t){if(he[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(n(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(n(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(n(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(n(62))}}function ve(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ge=null;function ye(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var be=null,we=null,Se=null;function Ee(e){if(e=va(e)){if("function"!=typeof be)throw Error(n(280));var t=e.stateNode;t&&(t=ya(t),be(e.stateNode,e.type,t))}}function _e(e){we?Se?Se.push(e):Se=[e]:we=e}function ke(){if(we){var e=we,t=Se;if(Se=we=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Te(e,t){return e(t)}function xe(){}var Ce=!1;function De(e,t,n){if(Ce)return e(t,n);Ce=!0;try{return Te(e,t,n)}finally{Ce=!1,(null!==we||null!==Se)&&(xe(),ke())}}function Re(e,t){var r=e.stateNode;if(null===r)return null;var a=ya(r);if(null===a)return null;r=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(a=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!a;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(n(231,t,typeof r));return r}var Ne=!1;if(l)try{var Pe={};Object.defineProperty(Pe,"passive",{get:function(){Ne=!0}}),window.addEventListener("test",Pe,Pe),window.removeEventListener("test",Pe,Pe)}catch(le){Ne=!1}function Ie(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Oe=!1,Me=null,Ae=!1,Fe=null,Le={onError:function(e){Oe=!0,Me=e}};function ze(e,t,n,r,a,o,i,l,s){Oe=!1,Me=null,Ie.apply(Le,arguments)}function He(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 Ue(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 $e(e){if(He(e)!==e)throw Error(n(188))}function je(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(n(188));return t!==e?null:e}for(var r=e,a=t;;){var o=r.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(a=o.return)){r=a;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===r)return $e(o),e;if(i===a)return $e(o),t;i=i.sibling}throw Error(n(188))}if(r.return!==a.return)r=o,a=i;else{for(var l=!1,s=o.child;s;){if(s===r){l=!0,r=o,a=i;break}if(s===a){l=!0,a=o,r=i;break}s=s.sibling}if(!l){for(s=i.child;s;){if(s===r){l=!0,r=i,a=o;break}if(s===a){l=!0,a=i,r=o;break}s=s.sibling}if(!l)throw Error(n(189))}}if(r.alternate!==a)throw Error(n(190))}if(3!==r.tag)throw Error(n(188));return r.stateNode.current===r?e:t}(e))?Ve(e):null}function Ve(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ve(e);if(null!==t)return t;e=e.sibling}return null}var We=t.unstable_scheduleCallback,Be=t.unstable_cancelCallback,qe=t.unstable_shouldYield,Ye=t.unstable_requestPaint,Ge=t.unstable_now,Ke=t.unstable_getCurrentPriorityLevel,Qe=t.unstable_ImmediatePriority,Xe=t.unstable_UserBlockingPriority,Ze=t.unstable_NormalPriority,Je=t.unstable_LowPriority,et=t.unstable_IdlePriority,tt=null,nt=null;var rt=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(at(e)/ot|0)|0},at=Math.log,ot=Math.LN2;var it=64,lt=4194304;function st(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 ut(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=st(l):0!==(o&=i)&&(r=st(o))}else 0!==(i=n&~a)?r=st(i):0!==o&&(r=st(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-rt(t)),r|=e[n],t&=~a;return r}function ct(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 dt(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ft(){var e=it;return 0==(4194240&(it<<=1))&&(it=64),e}function pt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function ht(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-rt(t)]=n}function mt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-rt(n),a=1<<r;a&t|e[r]&t&&(e[r]|=t),n&=~a}}var vt=0;function gt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var yt,bt,wt,St,Et,_t=!1,kt=[],Tt=null,xt=null,Ct=null,Dt=new Map,Rt=new Map,Nt=[],Pt="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 It(e,t){switch(e){case"focusin":case"focusout":Tt=null;break;case"dragenter":case"dragleave":xt=null;break;case"mouseover":case"mouseout":Ct=null;break;case"pointerover":case"pointerout":Dt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function Ot(e,t,n,r,a,o){return null===e||e.nativeEvent!==o?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:o,targetContainers:[a]},null!==t&&(null!==(t=va(t))&&bt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==a&&-1===t.indexOf(a)&&t.push(a),e)}function Mt(e){var t=ma(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Et(e.priority,(function(){wt(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 At(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=qt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=va(n))&&bt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ge=r,n.target.dispatchEvent(r),ge=null,t.shift()}return!0}function Ft(e,t,n){At(e)&&n.delete(t)}function Lt(){_t=!1,null!==Tt&&At(Tt)&&(Tt=null),null!==xt&&At(xt)&&(xt=null),null!==Ct&&At(Ct)&&(Ct=null),Dt.forEach(Ft),Rt.forEach(Ft)}function zt(e,n){e.blockedOn===n&&(e.blockedOn=null,_t||(_t=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Lt)))}function Ht(e){function t(t){return zt(t,e)}if(0<kt.length){zt(kt[0],e);for(var n=1;n<kt.length;n++){var r=kt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Tt&&zt(Tt,e),null!==xt&&zt(xt,e),null!==Ct&&zt(Ct,e),Dt.forEach(t),Rt.forEach(t),n=0;n<Nt.length;n++)(r=Nt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<Nt.length&&null===(n=Nt[0]).blockedOn;)Mt(n),null===n.blockedOn&&Nt.shift()}var Ut=g.ReactCurrentBatchConfig,$t=!0;function jt(e,t,n,r){var a=vt,o=Ut.transition;Ut.transition=null;try{vt=1,Wt(e,t,n,r)}finally{vt=a,Ut.transition=o}}function Vt(e,t,n,r){var a=vt,o=Ut.transition;Ut.transition=null;try{vt=4,Wt(e,t,n,r)}finally{vt=a,Ut.transition=o}}function Wt(e,t,n,r){if($t){var a=qt(e,t,n,r);if(null===a)$r(e,t,r,Bt,n),It(e,r);else if(function(e,t,n,r,a){switch(t){case"focusin":return Tt=Ot(Tt,e,t,n,r,a),!0;case"dragenter":return xt=Ot(xt,e,t,n,r,a),!0;case"mouseover":return Ct=Ot(Ct,e,t,n,r,a),!0;case"pointerover":var o=a.pointerId;return Dt.set(o,Ot(Dt.get(o)||null,e,t,n,r,a)),!0;case"gotpointercapture":return o=a.pointerId,Rt.set(o,Ot(Rt.get(o)||null,e,t,n,r,a)),!0}return!1}(a,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Pt.indexOf(e)){for(;null!==a;){var o=va(a);if(null!==o&&yt(o),null===(o=qt(e,t,n,r))&&$r(e,t,r,Bt,n),o===a)break;a=o}null!==a&&r.stopPropagation()}else $r(e,t,r,null,n)}}var Bt=null;function qt(e,t,n,r){if(Bt=null,null!==(e=ma(e=ye(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(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 Bt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ke()){case Qe:return 1;case Xe:return 4;case Ze:case Je:return 16;case et:return 536870912;default:return 16}default:return 16}}var Gt=null,Kt=null,Qt=null;function Xt(){if(Qt)return Qt;var e,t,n=Kt,r=n.length,a="value"in Gt?Gt.value:Gt.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 Qt=a.slice(e,1<t?1-t:void 0)}function Zt(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 Jt(){return!0}function en(){return!1}function tn(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)?Jt:en,this.isPropagationStopped=en,this}return M(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=Jt)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=Jt)},persist:function(){},isPersistent:Jt}),t}var nn,rn,an,on={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=tn(on),sn=M({},on,{view:0,detail:0}),un=tn(sn),cn=M({},sn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,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!==an&&(an&&"mousemove"===e.type?(nn=e.screenX-an.screenX,rn=e.screenY-an.screenY):rn=nn=0,an=e),nn)},movementY:function(e){return"movementY"in e?e.movementY:rn}}),dn=tn(cn),fn=tn(M({},cn,{dataTransfer:0})),pn=tn(M({},sn,{relatedTarget:0})),hn=tn(M({},on,{animationName:0,elapsedTime:0,pseudoElement:0})),mn=M({},on,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vn=tn(mn),gn=tn(M({},on,{data:0})),yn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},bn={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"},wn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=wn[e])&&!!t[e]}function En(){return Sn}var _n=M({},sn,{key:function(e){if(e.key){var t=yn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=Zt(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?bn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?Zt(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?Zt(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),kn=tn(_n),Tn=tn(M({},cn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),xn=tn(M({},sn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),Cn=tn(M({},on,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dn=M({},cn,{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}),Rn=tn(Dn),Nn=[9,13,27,32],Pn=l&&"CompositionEvent"in window,In=null;l&&"documentMode"in document&&(In=document.documentMode);var On=l&&"TextEvent"in window&&!In,Mn=l&&(!Pn||In&&8<In&&11>=In),An=String.fromCharCode(32),Fn=!1;function Ln(e,t){switch(e){case"keyup":return-1!==Nn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function zn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var Un={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 $n(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function jn(e,t,n,r){_e(r),0<(t=Vr(t,"onChange")).length&&(n=new ln("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Vn=null,Wn=null;function Bn(e){Ar(e,0)}function qn(e){if(W(ga(e)))return e}function Yn(e,t){if("change"===e)return t}var Gn=!1;if(l){var Kn;if(l){var Qn="oninput"in document;if(!Qn){var Xn=document.createElement("div");Xn.setAttribute("oninput","return;"),Qn="function"==typeof Xn.oninput}Kn=Qn}else Kn=!1;Gn=Kn&&(!document.documentMode||9<document.documentMode)}function Zn(){Vn&&(Vn.detachEvent("onpropertychange",Jn),Wn=Vn=null)}function Jn(e){if("value"===e.propertyName&&qn(Wn)){var t=[];jn(t,Wn,e,ye(e)),De(Bn,t)}}function er(e,t,n){"focusin"===e?(Zn(),Wn=n,(Vn=t).attachEvent("onpropertychange",Jn)):"focusout"===e&&Zn()}function tr(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return qn(Wn)}function nr(e,t){if("click"===e)return qn(t)}function rr(e,t){if("input"===e||"change"===e)return qn(t)}var ar="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function or(e,t){if(ar(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(!s.call(t,a)||!ar(e[a],t[a]))return!1}return!0}function ir(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function lr(e,t){var n,r=ir(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=ir(r)}}function sr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?sr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ur(){for(var e=window,t=B();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=B((e=t.contentWindow).document)}return t}function cr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function dr(e){var t=ur(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&sr(n.ownerDocument.documentElement,n)){if(null!==r&&cr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var 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=lr(n,o);var i=lr(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 fr=l&&"documentMode"in document&&11>=document.documentMode,pr=null,hr=null,mr=null,vr=!1;function gr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;vr||null==pr||pr!==B(r)||("selectionStart"in(r=pr)&&cr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},mr&&or(mr,r)||(mr=r,0<(r=Vr(hr,"onSelect")).length&&(t=new ln("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=pr)))}function yr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var br={animationend:yr("Animation","AnimationEnd"),animationiteration:yr("Animation","AnimationIteration"),animationstart:yr("Animation","AnimationStart"),transitionend:yr("Transition","TransitionEnd")},wr={},Sr={};function Er(e){if(wr[e])return wr[e];if(!br[e])return e;var t,n=br[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return wr[e]=n[t];return e}l&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete br.animationend.animation,delete br.animationiteration.animation,delete br.animationstart.animation),"TransitionEvent"in window||delete br.transitionend.transition);var _r=Er("animationend"),kr=Er("animationiteration"),Tr=Er("animationstart"),xr=Er("transitionend"),Cr=new Map,Dr="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 Rr(e,t){Cr.set(e,t),o(t,[e])}for(var Nr=0;Nr<Dr.length;Nr++){var Pr=Dr[Nr];Rr(Pr.toLowerCase(),"on"+(Pr[0].toUpperCase()+Pr.slice(1)))}Rr(_r,"onAnimationEnd"),Rr(kr,"onAnimationIteration"),Rr(Tr,"onAnimationStart"),Rr("dblclick","onDoubleClick"),Rr("focusin","onFocus"),Rr("focusout","onBlur"),Rr(xr,"onTransitionEnd"),i("onMouseEnter",["mouseout","mouseover"]),i("onMouseLeave",["mouseout","mouseover"]),i("onPointerEnter",["pointerout","pointerover"]),i("onPointerLeave",["pointerout","pointerover"]),o("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),o("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),o("onBeforeInput",["compositionend","keypress","textInput","paste"]),o("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),o("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="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(" "),Or=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Mr(e,t,r){var a=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,a,o,i,l,s,u){if(ze.apply(this,arguments),Oe){if(!Oe)throw Error(n(198));var c=Me;Oe=!1,Me=null,Ae||(Ae=!0,Fe=c)}}(a,t,void 0,e),e.currentTarget=null}function Ar(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],s=l.instance,u=l.currentTarget;if(l=l.listener,s!==o&&a.isPropagationStopped())break e;Mr(a,l,u),o=s}else for(i=0;i<r.length;i++){if(s=(l=r[i]).instance,u=l.currentTarget,l=l.listener,s!==o&&a.isPropagationStopped())break e;Mr(a,l,u),o=s}}}if(Ae)throw e=Fe,Ae=!1,Fe=null,e}function Fr(e,t){var n=t[fa];void 0===n&&(n=t[fa]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function Lr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var zr="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[zr]){e[zr]=!0,r.forEach((function(t){"selectionchange"!==t&&(Or.has(t)||Lr(t,!1,e),Lr(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zr]||(t[zr]=!0,Lr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Yt(t)){case 1:var a=jt;break;case 4:a=Vt;break;default:a=Wt}n=a.bind(null,t,n,e),a=void 0,!Ne||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(a=!0),r?void 0!==a?e.addEventListener(t,n,{capture:!0,passive:a}):e.addEventListener(t,n,!0):void 0!==a?e.addEventListener(t,n,{passive:a}):e.addEventListener(t,n,!1)}function $r(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 s=i.tag;if((3===s||4===s)&&((s=i.stateNode.containerInfo)===a||8===s.nodeType&&s.parentNode===a))return;i=i.return}for(;null!==l;){if(null===(i=ma(l)))return;if(5===(s=i.tag)||6===s){r=o=i;continue e}l=l.parentNode}}r=r.return}De((function(){var r=o,a=ye(n),i=[];e:{var l=Cr.get(e);if(void 0!==l){var s=ln,u=e;switch(e){case"keypress":if(0===Zt(n))break e;case"keydown":case"keyup":s=kn;break;case"focusin":u="focus",s=pn;break;case"focusout":u="blur",s=pn;break;case"beforeblur":case"afterblur":s=pn;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":s=dn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=fn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=xn;break;case _r:case kr:case Tr:s=hn;break;case xr:s=Cn;break;case"scroll":s=un;break;case"wheel":s=Rn;break;case"copy":case"cut":case"paste":s=vn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Tn}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==l?l+"Capture":null:l;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Re(h,f))&&c.push(jr(h,m,p)))),d)break;h=h.return}0<c.length&&(l=new s(l,u,null,n,a),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(s="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===ge||!(u=n.relatedTarget||n.fromElement)||!ma(u)&&!u[da])&&(s||l)&&(l=a.window===a?a:(l=a.ownerDocument)?l.defaultView||l.parentWindow:window,s?(s=r,null!==(u=(u=n.relatedTarget||n.toElement)?ma(u):null)&&(u!==(d=He(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(s=null,u=r),s!==u)){if(c=dn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tn,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==s?l:ga(s),p=null==u?l:ga(u),(l=new c(m,h+"leave",s,n,a)).target=d,l.relatedTarget=p,m=null,ma(a)===r&&((c=new c(f,h+"enter",u,n,a)).target=p,c.relatedTarget=d,m=c),d=m,s&&u)e:{for(f=u,h=0,p=c=s;p;p=Wr(p))h++;for(p=0,m=f;m;m=Wr(m))p++;for(;0<h-p;)c=Wr(c),h--;for(;0<p-h;)f=Wr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Wr(c),f=Wr(f)}c=null}else c=null;null!==s&&Br(i,l,s,c,!1),null!==u&&null!==d&&Br(i,d,u,c,!0)}if("select"===(s=(l=r?ga(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===s&&"file"===l.type)var v=Yn;else if($n(l))if(Gn)v=rr;else{v=tr;var g=er}else(s=l.nodeName)&&"input"===s.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=nr);switch(v&&(v=v(e,r))?jn(i,v,n,a):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&X(l,"number",l.value)),g=r?ga(r):window,e){case"focusin":($n(g)||"true"===g.contentEditable)&&(pr=g,hr=r,mr=null);break;case"focusout":mr=hr=pr=null;break;case"mousedown":vr=!0;break;case"contextmenu":case"mouseup":case"dragend":vr=!1,gr(i,n,a);break;case"selectionchange":if(fr)break;case"keydown":case"keyup":gr(i,n,a)}var y;if(Pn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?Ln(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(Mn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(y=Xt()):(Kt="value"in(Gt=a)?Gt.value:Gt.textContent,Hn=!0)),0<(g=Vr(r,b)).length&&(b=new gn(b,e,null,n,a),i.push({event:b,listeners:g}),y?b.data=y:null!==(y=zn(n))&&(b.data=y))),(y=On?function(e,t){switch(e){case"compositionend":return zn(t);case"keypress":return 32!==t.which?null:(Fn=!0,An);case"textInput":return(e=t.data)===An&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Pn&&Ln(e,t)?(e=Xt(),Qt=Kt=Gt=null,Hn=!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 Mn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=Vr(r,"onBeforeInput")).length&&(a=new gn("onBeforeInput","beforeinput",null,n,a),i.push({event:a,listeners:r}),a.data=y))}Ar(i,t)}))}function jr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Vr(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=Re(e,n))&&r.unshift(jr(e,o,a)),null!=(o=Re(e,t))&&r.push(jr(e,o,a))),e=e.return}return r}function Wr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Br(e,t,n,r,a){for(var o=t._reactName,i=[];null!==n&&n!==r;){var l=n,s=l.alternate,u=l.stateNode;if(null!==s&&s===r)break;5===l.tag&&null!==u&&(l=u,a?null!=(s=Re(n,o))&&i.unshift(jr(n,s,l)):a||null!=(s=Re(n,o))&&i.push(jr(n,s,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var qr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Gr(e){return("string"==typeof e?e:""+e).replace(qr,"\n").replace(Yr,"")}function Kr(e,t,r){if(t=Gr(t),Gr(e)!==t&&r)throw Error(n(425))}function Qr(){}var Xr=null,Zr=null;function Jr(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 ea="function"==typeof setTimeout?setTimeout:void 0,ta="function"==typeof clearTimeout?clearTimeout:void 0,na="function"==typeof Promise?Promise:void 0,ra="function"==typeof queueMicrotask?queueMicrotask:void 0!==na?function(e){return na.resolve(null).then(e).catch(aa)}:ea;function aa(e){setTimeout((function(){throw e}))}function oa(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 Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=a}while(n);Ht(t)}function ia(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 la(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 sa=Math.random().toString(36).slice(2),ua="__reactFiber$"+sa,ca="__reactProps$"+sa,da="__reactContainer$"+sa,fa="__reactEvents$"+sa,pa="__reactListeners$"+sa,ha="__reactHandles$"+sa;function ma(e){var t=e[ua];if(t)return t;for(var n=e.parentNode;n;){if(t=n[da]||n[ua]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=la(e);null!==e;){if(n=e[ua])return n;e=la(e)}return t}n=(e=n).parentNode}return null}function va(e){return!(e=e[ua]||e[da])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ga(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(n(33))}function ya(e){return e[ca]||null}var ba=[],wa=-1;function Sa(e){return{current:e}}function Ea(e){0>wa||(e.current=ba[wa],ba[wa]=null,wa--)}function _a(e,t){wa++,ba[wa]=e.current,e.current=t}var ka={},Ta=Sa(ka),xa=Sa(!1),Ca=ka;function Da(e,t){var n=e.type.contextTypes;if(!n)return ka;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 Ra(e){return null!=(e=e.childContextTypes)}function Na(){Ea(xa),Ea(Ta)}function Pa(e,t,r){if(Ta.current!==ka)throw Error(n(168));_a(Ta,t),_a(xa,r)}function Ia(e,t,r){var a=e.stateNode;if(t=t.childContextTypes,"function"!=typeof a.getChildContext)return r;for(var o in a=a.getChildContext())if(!(o in t))throw Error(n(108,U(e)||"Unknown",o));return M({},r,a)}function Oa(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||ka,Ca=Ta.current,_a(Ta,e),_a(xa,xa.current),!0}function Ma(e,t,r){var a=e.stateNode;if(!a)throw Error(n(169));r?(e=Ia(e,t,Ca),a.__reactInternalMemoizedMergedChildContext=e,Ea(xa),Ea(Ta),_a(Ta,e)):Ea(xa),_a(xa,r)}var Aa=null,Fa=!1,La=!1;function za(e){null===Aa?Aa=[e]:Aa.push(e)}function Ha(){if(!La&&null!==Aa){La=!0;var e=0,t=vt;try{var n=Aa;for(vt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Aa=null,Fa=!1}catch(t){throw null!==Aa&&(Aa=Aa.slice(e+1)),We(Qe,Ha),t}finally{vt=t,La=!1}}return null}var Ua=[],$a=0,ja=null,Va=0,Wa=[],Ba=0,qa=null,Ya=1,Ga="";function Ka(e,t){Ua[$a++]=Va,Ua[$a++]=ja,ja=e,Va=t}function Qa(e,t,n){Wa[Ba++]=Ya,Wa[Ba++]=Ga,Wa[Ba++]=qa,qa=e;var r=Ya;e=Ga;var a=32-rt(r)-1;r&=~(1<<a),n+=1;var o=32-rt(t)+a;if(30<o){var i=a-a%5;o=(r&(1<<i)-1).toString(32),r>>=i,a-=i,Ya=1<<32-rt(t)+a|n<<a|r,Ga=o+e}else Ya=1<<o|n<<a|r,Ga=e}function Xa(e){null!==e.return&&(Ka(e,1),Qa(e,1,0))}function Za(e){for(;e===ja;)ja=Ua[--$a],Ua[$a]=null,Va=Ua[--$a],Ua[$a]=null;for(;e===qa;)qa=Wa[--Ba],Wa[Ba]=null,Ga=Wa[--Ba],Wa[Ba]=null,Ya=Wa[--Ba],Wa[Ba]=null}var Ja=null,eo=null,to=!1,no=null;function ro(e,t){var n=Du(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 ao(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,Ja=e,eo=ia(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,Ja=e,eo=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==qa?{id:Ya,overflow:Ga}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Du(18,null,null,0)).stateNode=t,n.return=e,e.child=n,Ja=e,eo=null,!0);default:return!1}}function oo(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function io(e){if(to){var t=eo;if(t){var r=t;if(!ao(e,t)){if(oo(e))throw Error(n(418));t=ia(r.nextSibling);var a=Ja;t&&ao(e,t)?ro(a,r):(e.flags=-4097&e.flags|2,to=!1,Ja=e)}}else{if(oo(e))throw Error(n(418));e.flags=-4097&e.flags|2,to=!1,Ja=e}}}function lo(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Ja=e}function so(e){if(e!==Ja)return!1;if(!to)return lo(e),to=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!Jr(e.type,e.memoizedProps)),t&&(t=eo)){if(oo(e))throw uo(),Error(n(418));for(;t;)ro(e,t),t=ia(t.nextSibling)}if(lo(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(n(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){eo=ia(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}eo=null}}else eo=Ja?ia(e.stateNode.nextSibling):null;return!0}function uo(){for(var e=eo;e;)e=ia(e.nextSibling)}function co(){eo=Ja=null,to=!1}function fo(e){null===no?no=[e]:no.push(e)}var po=g.ReactCurrentBatchConfig;function ho(e,t){if(e&&e.defaultProps){for(var n in t=M({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var mo=Sa(null),vo=null,go=null,yo=null;function bo(){yo=go=vo=null}function wo(e){var t=mo.current;Ea(mo),e._currentValue=t}function So(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 Eo(e,t){vo=e,yo=go=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(gl=!0),e.firstContext=null)}function _o(e){var t=e._currentValue;if(yo!==e)if(e={context:e,memoizedValue:t,next:null},null===go){if(null===vo)throw Error(n(308));go=e,vo.dependencies={lanes:0,firstContext:e}}else go=go.next=e;return t}var ko=null;function To(e){null===ko?ko=[e]:ko.push(e)}function xo(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,To(t)):(n.next=a.next,a.next=n),t.interleaved=n,Co(e,r)}function Co(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Do=!1;function Ro(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function No(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 Po(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Io(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ts)){var a=r.pending;return null===a?t.next=t:(t.next=a.next,a.next=t),r.pending=t,Co(e,n)}return null===(a=r.interleaved)?(t.next=t,To(r)):(t.next=a.next,a.next=t),r.interleaved=t,Co(e,n)}function Oo(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,mt(e,n)}}function Mo(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 Ao(e,t,n,r){var a=e.updateQueue;Do=!1;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;null!==c&&((l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=u:l.next=u,c.lastBaseUpdate=s))}if(null!==o){var d=a.baseState;for(i=0,c=u=s=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 h=e,m=l;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=M({},d,f);break e;case 2:Do=!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?(u=c=p,s=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&&(s=d),a.baseState=s,a.firstBaseUpdate=u,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);Os|=i,e.lanes=i,e.memoizedState=d}}function Fo(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var a=e[t],o=a.callback;if(null!==o){if(a.callback=null,a=r,"function"!=typeof o)throw Error(n(191,o));o.call(a)}}}var Lo=(new e.Component).refs;function zo(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:M({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ho={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=Xs(),a=Zs(e),o=Po(r,a);o.payload=t,null!=n&&(o.callback=n),null!==(t=Io(e,o,a))&&(Js(t,e,a,r),Oo(t,e,a))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=Xs(),a=Zs(e),o=Po(r,a);o.tag=1,o.payload=t,null!=n&&(o.callback=n),null!==(t=Io(e,o,a))&&(Js(t,e,a,r),Oo(t,e,a))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=Xs(),r=Zs(e),a=Po(n,r);a.tag=2,null!=t&&(a.callback=t),null!==(t=Io(e,a,r))&&(Js(t,e,r,n),Oo(t,e,r))}};function Uo(e,t,n,r,a,o,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,o,i):!t.prototype||!t.prototype.isPureReactComponent||(!or(n,r)||!or(a,o))}function $o(e,t,n){var r=!1,a=ka,o=t.contextType;return"object"==typeof o&&null!==o?o=_o(o):(a=Ra(t)?Ca:Ta.current,o=(r=null!=(r=t.contextTypes))?Da(e,a):ka),t=new t(n,o),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ho,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=a,e.__reactInternalMemoizedMaskedChildContext=o),t}function jo(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&&Ho.enqueueReplaceState(t,t.state,null)}function Vo(e,t,n,r){var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=Lo,Ro(e);var o=t.contextType;"object"==typeof o&&null!==o?a.context=_o(o):(o=Ra(t)?Ca:Ta.current,a.context=Da(e,o)),a.state=e.memoizedState,"function"==typeof(o=t.getDerivedStateFromProps)&&(zo(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&&Ho.enqueueReplaceState(a,a.state,null),Ao(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount&&(e.flags|=4194308)}function Wo(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(n(309));var a=r.stateNode}if(!a)throw Error(n(147,e));var o=a,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===Lo&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(n(284));if(!r._owner)throw Error(n(290,e))}return e}function Bo(e,t){throw e=Object.prototype.toString.call(t),Error(n(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function qo(e){return(0,e._init)(e._payload)}function Yo(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function r(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function a(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Nu(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 s(e,t,n,r){return null===t||6!==t.tag?((t=Mu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var a=n.type;return a===w?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===R&&qo(a)===t.type)?((r=o(t,n.props)).ref=Wo(e,t,n),r.return=e,r):((r=Pu(n.type,n.key,n.props,null,e.mode,r)).ref=Wo(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=Au(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Iu(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case y:return(n=Pu(t.type,t.key,t.props,null,e.mode,n)).ref=Wo(e,null,t),n.return=e,n;case b:return(t=Au(t,e.mode,n)).return=e,t;case R:return f(e,(0,t._init)(t._payload),n)}if(Z(t)||I(t))return(t=Iu(t,e.mode,n,null)).return=e,t;Bo(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:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case y:return n.key===a?u(e,t,n,r):null;case b:return n.key===a?c(e,t,n,r):null;case R:return p(e,t,(a=n._init)(n._payload),r)}if(Z(n)||I(n))return null!==a?null:d(e,t,n,r,null);Bo(e,n)}return null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e=e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case y:return u(t,e=e.get(null===r.key?n:r.key)||null,r,a);case b:return c(t,e=e.get(null===r.key?n:r.key)||null,r,a);case R:return h(e,t,n,(0,r._init)(r._payload),a)}if(Z(r)||I(r))return d(t,e=e.get(n)||null,r,a,null);Bo(t,r)}return null}function m(n,o,l,s){for(var u=null,c=null,d=o,m=o=0,v=null;null!==d&&m<l.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var g=p(n,d,l[m],s);if(null===g){null===d&&(d=v);break}e&&d&&null===g.alternate&&t(n,d),o=i(g,o,m),null===c?u=g:c.sibling=g,c=g,d=v}if(m===l.length)return r(n,d),to&&Ka(n,m),u;if(null===d){for(;m<l.length;m++)null!==(d=f(n,l[m],s))&&(o=i(d,o,m),null===c?u=d:c.sibling=d,c=d);return to&&Ka(n,m),u}for(d=a(n,d);m<l.length;m++)null!==(v=h(d,n,m,l[m],s))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),o=i(v,o,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(n,e)})),to&&Ka(n,m),u}function v(o,l,s,u){var c=I(s);if("function"!=typeof c)throw Error(n(150));if(null==(s=c.call(s)))throw Error(n(151));for(var d=c=null,m=l,v=l=0,g=null,y=s.next();null!==m&&!y.done;v++,y=s.next()){m.index>v?(g=m,m=null):g=m.sibling;var b=p(o,m,y.value,u);if(null===b){null===m&&(m=g);break}e&&m&&null===b.alternate&&t(o,m),l=i(b,l,v),null===d?c=b:d.sibling=b,d=b,m=g}if(y.done)return r(o,m),to&&Ka(o,v),c;if(null===m){for(;!y.done;v++,y=s.next())null!==(y=f(o,y.value,u))&&(l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return to&&Ka(o,v),c}for(m=a(o,m);!y.done;v++,y=s.next())null!==(y=h(m,o,v,y.value,u))&&(e&&null!==y.alternate&&m.delete(null===y.key?v:y.key),l=i(y,l,v),null===d?c=y:d.sibling=y,d=y);return e&&m.forEach((function(e){return t(o,e)})),to&&Ka(o,v),c}return function e(n,a,i,s){if("object"==typeof i&&null!==i&&i.type===w&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case y:e:{for(var u=i.key,c=a;null!==c;){if(c.key===u){if((u=i.type)===w){if(7===c.tag){r(n,c.sibling),(a=o(c,i.props.children)).return=n,n=a;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===R&&qo(u)===c.type){r(n,c.sibling),(a=o(c,i.props)).ref=Wo(n,c,i),a.return=n,n=a;break e}r(n,c);break}t(n,c),c=c.sibling}i.type===w?((a=Iu(i.props.children,n.mode,s,i.key)).return=n,n=a):((s=Pu(i.type,i.key,i.props,null,n.mode,s)).ref=Wo(n,a,i),s.return=n,n=s)}return l(n);case b:e:{for(c=i.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){r(n,a.sibling),(a=o(a,i.children||[])).return=n,n=a;break e}r(n,a);break}t(n,a),a=a.sibling}(a=Au(i,n.mode,s)).return=n,n=a}return l(n);case R:return e(n,a,(c=i._init)(i._payload),s)}if(Z(i))return m(n,a,i,s);if(I(i))return v(n,a,i,s);Bo(n,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(r(n,a.sibling),(a=o(a,i)).return=n,n=a):(r(n,a),(a=Mu(i,n.mode,s)).return=n,n=a),l(n)):r(n,a)}}var Go=Yo(!0),Ko=Yo(!1),Qo={},Xo=Sa(Qo),Zo=Sa(Qo),Jo=Sa(Qo);function ei(e){if(e===Qo)throw Error(n(174));return e}function ti(e,t){switch(_a(Jo,t),_a(Zo,e),_a(Xo,Qo),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:oe(null,"");break;default:t=oe(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ea(Xo),_a(Xo,t)}function ni(){Ea(Xo),Ea(Zo),Ea(Jo)}function ri(e){ei(Jo.current);var t=ei(Xo.current),n=oe(t,e.type);t!==n&&(_a(Zo,e),_a(Xo,n))}function ai(e){Zo.current===e&&(Ea(Xo),Ea(Zo))}var oi=Sa(0);function ii(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 li=[];function si(){for(var e=0;e<li.length;e++)li[e]._workInProgressVersionPrimary=null;li.length=0}var ui=g.ReactCurrentDispatcher,ci=g.ReactCurrentBatchConfig,di=0,fi=null,pi=null,hi=null,mi=!1,vi=!1,gi=0,yi=0;function bi(){throw Error(n(321))}function wi(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ar(e[n],t[n]))return!1;return!0}function Si(e,t,r,a,o,i){if(di=i,fi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ui.current=null===e||null===e.memoizedState?al:ol,e=r(a,o),vi){i=0;do{if(vi=!1,gi=0,25<=i)throw Error(n(301));i+=1,hi=pi=null,t.updateQueue=null,ui.current=il,e=r(a,o)}while(vi)}if(ui.current=rl,t=null!==pi&&null!==pi.next,di=0,hi=pi=fi=null,mi=!1,t)throw Error(n(300));return e}function Ei(){var e=0!==gi;return gi=0,e}function _i(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===hi?fi.memoizedState=hi=e:hi=hi.next=e,hi}function ki(){if(null===pi){var e=fi.alternate;e=null!==e?e.memoizedState:null}else e=pi.next;var t=null===hi?fi.memoizedState:hi.next;if(null!==t)hi=t,pi=e;else{if(null===e)throw Error(n(310));e={memoizedState:(pi=e).memoizedState,baseState:pi.baseState,baseQueue:pi.baseQueue,queue:pi.queue,next:null},null===hi?fi.memoizedState=hi=e:hi=hi.next=e}return hi}function Ti(e,t){return"function"==typeof t?t(e):t}function xi(e){var t=ki(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var a=pi,o=a.baseQueue,i=r.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}a.baseQueue=o=i,r.pending=null}if(null!==o){i=o.next,a=a.baseState;var s=l=null,u=null,c=i;do{var d=c.lane;if((di&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),a=c.hasEagerState?c.eagerState:e(a,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(s=u=f,l=a):u=u.next=f,fi.lanes|=d,Os|=d}c=c.next}while(null!==c&&c!==i);null===u?l=a:u.next=s,ar(a,t.memoizedState)||(gl=!0),t.memoizedState=a,t.baseState=l,t.baseQueue=u,r.lastRenderedState=a}if(null!==(e=r.interleaved)){o=e;do{i=o.lane,fi.lanes|=i,Os|=i,o=o.next}while(o!==e)}else null===o&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function Ci(e){var t=ki(),r=t.queue;if(null===r)throw Error(n(311));r.lastRenderedReducer=e;var a=r.dispatch,o=r.pending,i=t.memoizedState;if(null!==o){r.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);ar(i,t.memoizedState)||(gl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),r.lastRenderedState=i}return[i,a]}function Di(){}function Ri(e,t){var r=fi,a=ki(),o=t(),i=!ar(a.memoizedState,o);if(i&&(a.memoizedState=o,gl=!0),a=a.queue,$i(Ii.bind(null,r,a,e),[e]),a.getSnapshot!==t||i||null!==hi&&1&hi.memoizedState.tag){if(r.flags|=2048,Fi(9,Pi.bind(null,r,a,o,t),void 0,null),null===xs)throw Error(n(349));0!=(30&di)||Ni(r,t,o)}return o}function Ni(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=fi.updateQueue)?(t={lastEffect:null,stores:null},fi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Pi(e,t,n,r){t.value=n,t.getSnapshot=r,Oi(t)&&Mi(e)}function Ii(e,t,n){return n((function(){Oi(t)&&Mi(e)}))}function Oi(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ar(e,n)}catch(e){return!0}}function Mi(e){var t=Co(e,1);null!==t&&Js(t,e,1,-1)}function Ai(e){var t=_i();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ti,lastRenderedState:e},t.queue=e,e=e.dispatch=Ji.bind(null,fi,e),[t.memoizedState,e]}function Fi(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=fi.updateQueue)?(t={lastEffect:null,stores:null},fi.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 Li(){return ki().memoizedState}function zi(e,t,n,r){var a=_i();fi.flags|=e,a.memoizedState=Fi(1|t,n,void 0,void 0===r?null:r)}function Hi(e,t,n,r){var a=ki();r=void 0===r?null:r;var o=void 0;if(null!==pi){var i=pi.memoizedState;if(o=i.destroy,null!==r&&wi(r,i.deps))return void(a.memoizedState=Fi(t,n,o,r))}fi.flags|=e,a.memoizedState=Fi(1|t,n,o,r)}function Ui(e,t){return zi(8390656,8,e,t)}function $i(e,t){return Hi(2048,8,e,t)}function ji(e,t){return Hi(4,2,e,t)}function Vi(e,t){return Hi(4,4,e,t)}function Wi(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 Bi(e,t,n){return n=null!=n?n.concat([e]):null,Hi(4,4,Wi.bind(null,t,e),n)}function qi(){}function Yi(e,t){var n=ki();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&wi(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Gi(e,t){var n=ki();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&wi(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ki(e,t,n){return 0==(21&di)?(e.baseState&&(e.baseState=!1,gl=!0),e.memoizedState=n):(ar(n,t)||(n=ft(),fi.lanes|=n,Os|=n,e.baseState=!0),t)}function Qi(e,t){var n=vt;vt=0!==n&&4>n?n:4,e(!0);var r=ci.transition;ci.transition={};try{e(!1),t()}finally{vt=n,ci.transition=r}}function Xi(){return ki().memoizedState}function Zi(e,t,n){var r=Zs(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},el(e))tl(t,n);else if(null!==(n=xo(e,t,n,r))){Js(n,e,r,Xs()),nl(n,t,r)}}function Ji(e,t,n){var r=Zs(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(el(e))tl(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,ar(l,i)){var s=t.interleaved;return null===s?(a.next=a,To(t)):(a.next=s.next,s.next=a),void(t.interleaved=a)}}catch(e){}null!==(n=xo(e,t,a,r))&&(Js(n,e,r,a=Xs()),nl(n,t,r))}}function el(e){var t=e.alternate;return e===fi||null!==t&&t===fi}function tl(e,t){vi=mi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function nl(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,mt(e,n)}}var rl={readContext:_o,useCallback:bi,useContext:bi,useEffect:bi,useImperativeHandle:bi,useInsertionEffect:bi,useLayoutEffect:bi,useMemo:bi,useReducer:bi,useRef:bi,useState:bi,useDebugValue:bi,useDeferredValue:bi,useTransition:bi,useMutableSource:bi,useSyncExternalStore:bi,useId:bi,unstable_isNewReconciler:!1},al={readContext:_o,useCallback:function(e,t){return _i().memoizedState=[e,void 0===t?null:t],e},useContext:_o,useEffect:Ui,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,zi(4194308,4,Wi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return zi(4194308,4,e,t)},useInsertionEffect:function(e,t){return zi(4,2,e,t)},useMemo:function(e,t){var n=_i();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=_i();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=Zi.bind(null,fi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},_i().memoizedState=e},useState:Ai,useDebugValue:qi,useDeferredValue:function(e){return _i().memoizedState=e},useTransition:function(){var e=Ai(!1),t=e[0];return e=Qi.bind(null,e[1]),_i().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var a=fi,o=_i();if(to){if(void 0===r)throw Error(n(407));r=r()}else{if(r=t(),null===xs)throw Error(n(349));0!=(30&di)||Ni(a,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,Ui(Ii.bind(null,a,i,e),[e]),a.flags|=2048,Fi(9,Pi.bind(null,a,i,r,t),void 0,null),r},useId:function(){var e=_i(),t=xs.identifierPrefix;if(to){var n=Ga;t=":"+t+"R"+(n=(Ya&~(1<<32-rt(Ya)-1)).toString(32)+n),0<(n=gi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=yi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ol={readContext:_o,useCallback:Yi,useContext:_o,useEffect:$i,useImperativeHandle:Bi,useInsertionEffect:ji,useLayoutEffect:Vi,useMemo:Gi,useReducer:xi,useRef:Li,useState:function(){return xi(Ti)},useDebugValue:qi,useDeferredValue:function(e){return Ki(ki(),pi.memoizedState,e)},useTransition:function(){return[xi(Ti)[0],ki().memoizedState]},useMutableSource:Di,useSyncExternalStore:Ri,useId:Xi,unstable_isNewReconciler:!1},il={readContext:_o,useCallback:Yi,useContext:_o,useEffect:$i,useImperativeHandle:Bi,useInsertionEffect:ji,useLayoutEffect:Vi,useMemo:Gi,useReducer:Ci,useRef:Li,useState:function(){return Ci(Ti)},useDebugValue:qi,useDeferredValue:function(e){var t=ki();return null===pi?t.memoizedState=e:Ki(t,pi.memoizedState,e)},useTransition:function(){return[Ci(Ti)[0],ki().memoizedState]},useMutableSource:Di,useSyncExternalStore:Ri,useId:Xi,unstable_isNewReconciler:!1};function ll(e,t){try{var n="",r=t;do{n+=z(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 sl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ul(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var cl="function"==typeof WeakMap?WeakMap:Map;function dl(e,t,n){(n=Po(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$s||($s=!0,js=r),ul(0,t)},n}function fl(e,t,n){(n=Po(-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(){ul(0,t)}}var o=e.stateNode;return null!==o&&"function"==typeof o.componentDidCatch&&(n.callback=function(){ul(0,t),"function"!=typeof r&&(null===Vs?Vs=new Set([this]):Vs.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function pl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new cl;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=Eu.bind(null,e,t,n),t.then(e,e))}function hl(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 ml(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=Po(-1,1)).tag=2,Io(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=a,e)}var vl=g.ReactCurrentOwner,gl=!1;function yl(e,t,n,r){t.child=null===e?Ko(t,null,n,r):Go(t,e.child,n,r)}function bl(e,t,n,r,a){n=n.render;var o=t.ref;return Eo(t,a),r=Si(e,t,n,r,o,a),n=Ei(),null===e||gl?(to&&n&&Xa(t),t.flags|=1,yl(e,t,r,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,$l(e,t,a))}function wl(e,t,n,r,a){if(null===e){var o=n.type;return"function"!=typeof o||Ru(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Pu(n.type,null,r,t,t.mode,a)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Sl(e,t,o,r,a))}if(o=e.child,0==(e.lanes&a)){var i=o.memoizedProps;if((n=null!==(n=n.compare)?n:or)(i,r)&&e.ref===t.ref)return $l(e,t,a)}return t.flags|=1,(e=Nu(o,r)).ref=t.ref,e.return=t,t.child=e}function Sl(e,t,n,r,a){if(null!==e){var o=e.memoizedProps;if(or(o,r)&&e.ref===t.ref){if(gl=!1,t.pendingProps=r=o,0==(e.lanes&a))return t.lanes=e.lanes,$l(e,t,a);0!=(131072&e.flags)&&(gl=!0)}}return kl(e,t,n,r,a)}function El(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},_a(Ns,Rs),Rs|=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,_a(Ns,Rs),Rs|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==o?o.baseLanes:n,_a(Ns,Rs),Rs|=r}else null!==o?(r=o.baseLanes|n,t.memoizedState=null):r=n,_a(Ns,Rs),Rs|=r;return yl(e,t,a,n),t.child}function _l(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function kl(e,t,n,r,a){var o=Ra(n)?Ca:Ta.current;return o=Da(t,o),Eo(t,a),n=Si(e,t,n,r,o,a),r=Ei(),null===e||gl?(to&&r&&Xa(t),t.flags|=1,yl(e,t,n,a),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a,$l(e,t,a))}function Tl(e,t,n,r,a){if(Ra(n)){var o=!0;Oa(t)}else o=!1;if(Eo(t,a),null===t.stateNode)Ul(e,t),$o(t,n,r),Vo(t,n,r,a),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var s=i.context,u=n.contextType;"object"==typeof u&&null!==u?u=_o(u):u=Da(t,u=Ra(n)?Ca:Ta.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||s!==u)&&jo(t,i,r,u),Do=!1;var f=t.memoizedState;i.state=f,Ao(t,r,i,a),s=t.memoizedState,l!==r||f!==s||xa.current||Do?("function"==typeof c&&(zo(t,n,c,r),s=t.memoizedState),(l=Do||Uo(t,n,l,r,f,s,u))?(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=s),i.props=r,i.state=s,i.context=u,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,No(e,t),l=t.memoizedProps,u=t.type===t.elementType?l:ho(t.type,l),i.props=u,d=t.pendingProps,f=i.context,"object"==typeof(s=n.contextType)&&null!==s?s=_o(s):s=Da(t,s=Ra(n)?Ca:Ta.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!==s)&&jo(t,i,r,s),Do=!1,f=t.memoizedState,i.state=f,Ao(t,r,i,a);var h=t.memoizedState;l!==d||f!==h||xa.current||Do?("function"==typeof p&&(zo(t,n,p,r),h=t.memoizedState),(u=Do||Uo(t,n,u,r,f,h,s)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,h,s),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,h,s)),"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=h),i.props=r,i.state=h,i.context=s,r=u):("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 xl(e,t,n,r,o,a)}function xl(e,t,n,r,a,o){_l(e,t);var i=0!=(128&t.flags);if(!r&&!i)return a&&Ma(t,n,!1),$l(e,t,o);r=t.stateNode,vl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Go(t,e.child,null,o),t.child=Go(t,null,l,o)):yl(e,t,l,o),t.memoizedState=r.state,a&&Ma(t,n,!0),t.child}function Cl(e){var t=e.stateNode;t.pendingContext?Pa(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Pa(0,t.context,!1),ti(e,t.containerInfo)}function Dl(e,t,n,r,a){return co(),fo(a),t.flags|=256,yl(e,t,n,r),t.child}var Rl,Nl,Pl,Il={dehydrated:null,treeContext:null,retryLane:0};function Ol(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ml(e,t,r){var a,o=t.pendingProps,i=oi.current,l=!1,s=0!=(128&t.flags);if((a=s)||(a=(null===e||null!==e.memoizedState)&&0!=(2&i)),a?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),_a(oi,1&i),null===e)return io(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):(s=o.children,e=o.fallback,l?(o=t.mode,l=t.child,s={mode:"hidden",children:s},0==(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=s):l=Ou(s,o,0,null),e=Iu(e,o,r,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=Ol(r),t.memoizedState=Il,e):Al(t,s));if(null!==(i=e.memoizedState)&&null!==(a=i.dehydrated))return function(e,t,r,a,o,i,l){if(r)return 256&t.flags?(t.flags&=-257,Fl(e,t,l,a=sl(Error(n(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=a.fallback,o=t.mode,a=Ou({mode:"visible",children:a.children},o,0,null),(i=Iu(i,o,l,null)).flags|=2,a.return=t,i.return=t,a.sibling=i,t.child=a,0!=(1&t.mode)&&Go(t,e.child,null,l),t.child.memoizedState=Ol(l),t.memoizedState=Il,i);if(0==(1&t.mode))return Fl(e,t,l,null);if("$!"===o.data){if(a=o.nextSibling&&o.nextSibling.dataset)var s=a.dgst;return a=s,Fl(e,t,l,a=sl(i=Error(n(419)),a,void 0))}if(s=0!=(l&e.childLanes),gl||s){if(null!==(a=xs)){switch(l&-l){case 4:o=2;break;case 16:o=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:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(a.suspendedLanes|l))?0:o)&&o!==i.retryLane&&(i.retryLane=o,Co(e,o),Js(a,e,o,-1))}return fu(),Fl(e,t,l,a=sl(Error(n(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=ku.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,eo=ia(o.nextSibling),Ja=t,to=!0,no=null,null!==e&&(Wa[Ba++]=Ya,Wa[Ba++]=Ga,Wa[Ba++]=qa,Ya=e.id,Ga=e.overflow,qa=t),(t=Al(t,a.children)).flags|=4096,t)}(e,t,s,o,a,i,r);if(l){l=o.fallback,s=t.mode,a=(i=e.child).sibling;var u={mode:"hidden",children:o.children};return 0==(1&s)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Nu(i,u)).subtreeFlags=14680064&i.subtreeFlags,null!==a?l=Nu(a,l):(l=Iu(l,s,r,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,s=null===(s=e.child.memoizedState)?Ol(r):{baseLanes:s.baseLanes|r,cachePool:null,transitions:s.transitions},l.memoizedState=s,l.childLanes=e.childLanes&~r,t.memoizedState=Il,o}return e=(l=e.child).sibling,o=Nu(l,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Al(e,t){return(t=Ou({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fl(e,t,n,r){return null!==r&&fo(r),Go(t,e.child,null,n),(e=Al(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Ll(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),So(e.return,t,n)}function zl(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 Hl(e,t,n){var r=t.pendingProps,a=r.revealOrder,o=r.tail;if(yl(e,t,r.children,n),0!=(2&(r=oi.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&&Ll(e,n,t);else if(19===e.tag)Ll(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(_a(oi,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===ii(e)&&(a=n),n=n.sibling;null===(n=a)?(a=t.child,t.child=null):(a=n.sibling,n.sibling=null),zl(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===ii(e)){t.child=a;break}e=a.sibling,a.sibling=n,n=a,a=e}zl(t,!0,n,null,o);break;case"together":zl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ul(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $l(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Os|=t.lanes,0==(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(n(153));if(null!==t.child){for(r=Nu(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Nu(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function jl(e,t){if(!to)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 Vl(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 Wl(e,t,r){var o=t.pendingProps;switch(Za(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Vl(t),null;case 1:case 17:return Ra(t.type)&&Na(),Vl(t),null;case 3:return o=t.stateNode,ni(),Ea(xa),Ea(Ta),si(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null!==e&&null!==e.child||(so(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==no&&(ru(no),no=null))),Vl(t),null;case 5:ai(t);var i=ei(Jo.current);if(r=t.type,null!==e&&null!=t.stateNode)Nl(e,t,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!o){if(null===t.stateNode)throw Error(n(166));return Vl(t),null}if(e=ei(Xo.current),so(t)){o=t.stateNode,r=t.type;var l=t.memoizedProps;switch(o[ua]=t,o[ca]=l,e=0!=(1&t.mode),r){case"dialog":Fr("cancel",o),Fr("close",o);break;case"iframe":case"object":case"embed":Fr("load",o);break;case"video":case"audio":for(i=0;i<Ir.length;i++)Fr(Ir[i],o);break;case"source":Fr("error",o);break;case"img":case"image":case"link":Fr("error",o),Fr("load",o);break;case"details":Fr("toggle",o);break;case"input":Y(o,l),Fr("invalid",o);break;case"select":o._wrapperState={wasMultiple:!!l.multiple},Fr("invalid",o);break;case"textarea":te(o,l),Fr("invalid",o)}for(var s in me(r,l),i=null,l)if(l.hasOwnProperty(s)){var u=l[s];"children"===s?"string"==typeof u?o.textContent!==u&&(!0!==l.suppressHydrationWarning&&Kr(o.textContent,u,e),i=["children",u]):"number"==typeof u&&o.textContent!==""+u&&(!0!==l.suppressHydrationWarning&&Kr(o.textContent,u,e),i=["children",""+u]):a.hasOwnProperty(s)&&null!=u&&"onScroll"===s&&Fr("scroll",o)}switch(r){case"input":V(o),Q(o,l,!0);break;case"textarea":V(o),re(o);break;case"select":case"option":break;default:"function"==typeof l.onClick&&(o.onclick=Qr)}o=i,t.updateQueue=o,null!==o&&(t.flags|=4)}else{s=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=ae(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=s.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof o.is?e=s.createElement(r,{is:o.is}):(e=s.createElement(r),"select"===r&&(s=e,o.multiple?s.multiple=!0:o.size&&(s.size=o.size))):e=s.createElementNS(e,r),e[ua]=t,e[ca]=o,Rl(e,t),t.stateNode=e;e:{switch(s=ve(r,o),r){case"dialog":Fr("cancel",e),Fr("close",e),i=o;break;case"iframe":case"object":case"embed":Fr("load",e),i=o;break;case"video":case"audio":for(i=0;i<Ir.length;i++)Fr(Ir[i],e);i=o;break;case"source":Fr("error",e),i=o;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),i=o;break;case"details":Fr("toggle",e),i=o;break;case"input":Y(e,o),i=q(e,o),Fr("invalid",e);break;case"option":default:i=o;break;case"select":e._wrapperState={wasMultiple:!!o.multiple},i=M({},o,{value:void 0}),Fr("invalid",e);break;case"textarea":te(e,o),i=ee(e,o),Fr("invalid",e)}for(l in me(r,i),u=i)if(u.hasOwnProperty(l)){var c=u[l];"style"===l?pe(e,c):"dangerouslySetInnerHTML"===l?null!=(c=c?c.__html:void 0)&&se(e,c):"children"===l?"string"==typeof c?("textarea"!==r||""!==c)&&ue(e,c):"number"==typeof c&&ue(e,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(a.hasOwnProperty(l)?null!=c&&"onScroll"===l&&Fr("scroll",e):null!=c&&v(e,l,c,s))}switch(r){case"input":V(e),Q(e,o,!1);break;case"textarea":V(e),re(e);break;case"option":null!=o.value&&e.setAttribute("value",""+$(o.value));break;case"select":e.multiple=!!o.multiple,null!=(l=o.value)?J(e,!!o.multiple,l,!1):null!=o.defaultValue&&J(e,!!o.multiple,o.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Qr)}switch(r){case"button":case"input":case"select":case"textarea":o=!!o.autoFocus;break e;case"img":o=!0;break e;default:o=!1}}o&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Vl(t),null;case 6:if(e&&null!=t.stateNode)Pl(0,t,e.memoizedProps,o);else{if("string"!=typeof o&&null===t.stateNode)throw Error(n(166));if(r=ei(Jo.current),ei(Xo.current),so(t)){if(o=t.stateNode,r=t.memoizedProps,o[ua]=t,(l=o.nodeValue!==r)&&null!==(e=Ja))switch(e.tag){case 3:Kr(o.nodeValue,r,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Kr(o.nodeValue,r,0!=(1&e.mode))}l&&(t.flags|=4)}else(o=(9===r.nodeType?r:r.ownerDocument).createTextNode(o))[ua]=t,t.stateNode=o}return Vl(t),null;case 13:if(Ea(oi),o=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(to&&null!==eo&&0!=(1&t.mode)&&0==(128&t.flags))uo(),co(),t.flags|=98560,l=!1;else if(l=so(t),null!==o&&null!==o.dehydrated){if(null===e){if(!l)throw Error(n(318));if(!(l=null!==(l=t.memoizedState)?l.dehydrated:null))throw Error(n(317));l[ua]=t}else co(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Vl(t),l=!1}else null!==no&&(ru(no),no=null),l=!0;if(!l)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=r,t):((o=null!==o)!==(null!==e&&null!==e.memoizedState)&&o&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&oi.current)?0===Ps&&(Ps=3):fu())),null!==t.updateQueue&&(t.flags|=4),Vl(t),null);case 4:return ni(),null===e&&Hr(t.stateNode.containerInfo),Vl(t),null;case 10:return wo(t.type._context),Vl(t),null;case 19:if(Ea(oi),null===(l=t.memoizedState))return Vl(t),null;if(o=0!=(128&t.flags),null===(s=l.rendering))if(o)jl(l,!1);else{if(0!==Ps||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(s=ii(e))){for(t.flags|=128,jl(l,!1),null!==(o=s.updateQueue)&&(t.updateQueue=o,t.flags|=4),t.subtreeFlags=0,o=r,r=t.child;null!==r;)e=o,(l=r).flags&=14680066,null===(s=l.alternate)?(l.childLanes=0,l.lanes=e,l.child=null,l.subtreeFlags=0,l.memoizedProps=null,l.memoizedState=null,l.updateQueue=null,l.dependencies=null,l.stateNode=null):(l.childLanes=s.childLanes,l.lanes=s.lanes,l.child=s.child,l.subtreeFlags=0,l.deletions=null,l.memoizedProps=s.memoizedProps,l.memoizedState=s.memoizedState,l.updateQueue=s.updateQueue,l.type=s.type,e=s.dependencies,l.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return _a(oi,1&oi.current|2),t.child}e=e.sibling}null!==l.tail&&Ge()>Hs&&(t.flags|=128,o=!0,jl(l,!1),t.lanes=4194304)}else{if(!o)if(null!==(e=ii(s))){if(t.flags|=128,o=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),jl(l,!0),null===l.tail&&"hidden"===l.tailMode&&!s.alternate&&!to)return Vl(t),null}else 2*Ge()-l.renderingStartTime>Hs&&1073741824!==r&&(t.flags|=128,o=!0,jl(l,!1),t.lanes=4194304);l.isBackwards?(s.sibling=t.child,t.child=s):(null!==(r=l.last)?r.sibling=s:t.child=s,l.last=s)}return null!==l.tail?(t=l.tail,l.rendering=t,l.tail=t.sibling,l.renderingStartTime=Ge(),t.sibling=null,r=oi.current,_a(oi,o?1&r|2:1&r),t):(Vl(t),null);case 22:case 23:return su(),o=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==o&&(t.flags|=8192),o&&0!=(1&t.mode)?0!=(1073741824&Rs)&&(Vl(t),6&t.subtreeFlags&&(t.flags|=8192)):Vl(t),null;case 24:case 25:return null}throw Error(n(156,t.tag))}function Bl(e,t){switch(Za(t),t.tag){case 1:return Ra(t.type)&&Na(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ni(),Ea(xa),Ea(Ta),si(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ai(t),null;case 13:if(Ea(oi),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(n(340));co()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ea(oi),null;case 4:return ni(),null;case 10:return wo(t.type._context),null;case 22:case 23:return su(),null;default:return null}}Rl=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}},Nl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ei(Xo.current);var i,l=null;switch(n){case"input":o=q(e,o),r=q(e,r),l=[];break;case"select":o=M({},o,{value:void 0}),r=M({},r,{value:void 0}),l=[];break;case"textarea":o=ee(e,o),r=ee(e,r),l=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Qr)}for(c in me(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var s=o[c];for(i in s)s.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(a.hasOwnProperty(c)?l||(l=[]):(l=l||[]).push(c,null));for(c in r){var u=r[c];if(s=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==s&&(null!=u||null!=s))if("style"===c)if(s){for(i in s)!s.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&s[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(l||(l=[]),l.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,s=s?s.__html:void 0,null!=u&&s!==u&&(l=l||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(l=l||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(a.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Fr("scroll",e),l||s===u||(l=[])):(l=l||[]).push(c,u))}n&&(l=l||[]).push("style",n);var c=l;(t.updateQueue=c)&&(t.flags|=4)}},Pl=function(e,t,n,r){n!==r&&(t.flags|=4)};var ql=!1,Yl=!1,Gl="function"==typeof WeakSet?WeakSet:Set,Kl=null;function Ql(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Su(e,t,n)}else n.current=null}function Xl(e,t,n){try{n()}catch(n){Su(e,t,n)}}var Zl=!1;function Jl(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&&Xl(t,n,o)}a=a.next}while(a!==r)}}function es(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 ts(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 ns(e){var t=e.alternate;null!==t&&(e.alternate=null,ns(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[ua],delete t[ca],delete t[fa],delete t[pa],delete t[ha])),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 rs(e){return 5===e.tag||3===e.tag||4===e.tag}function as(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||rs(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 os(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=Qr));else if(4!==r&&null!==(e=e.child))for(os(e,t,n),e=e.sibling;null!==e;)os(e,t,n),e=e.sibling}function is(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(is(e,t,n),e=e.sibling;null!==e;)is(e,t,n),e=e.sibling}var ls=null,ss=!1;function us(e,t,n){for(n=n.child;null!==n;)cs(e,t,n),n=n.sibling}function cs(e,t,n){if(nt&&"function"==typeof nt.onCommitFiberUnmount)try{nt.onCommitFiberUnmount(tt,n)}catch(e){}switch(n.tag){case 5:Yl||Ql(n,t);case 6:var r=ls,a=ss;ls=null,us(e,t,n),ss=a,null!==(ls=r)&&(ss?(e=ls,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ls.removeChild(n.stateNode));break;case 18:null!==ls&&(ss?(e=ls,n=n.stateNode,8===e.nodeType?oa(e.parentNode,n):1===e.nodeType&&oa(e,n),Ht(e)):oa(ls,n.stateNode));break;case 4:r=ls,a=ss,ls=n.stateNode.containerInfo,ss=!0,us(e,t,n),ls=r,ss=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))&&Xl(n,t,i),a=a.next}while(a!==r)}us(e,t,n);break;case 1:if(!Yl&&(Ql(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Su(n,t,e)}us(e,t,n);break;case 21:us(e,t,n);break;case 22:1&n.mode?(Yl=(r=Yl)||null!==n.memoizedState,us(e,t,n),Yl=r):us(e,t,n);break;default:us(e,t,n)}}function ds(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Gl),t.forEach((function(t){var r=Tu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function fs(e,t){var r=t.deletions;if(null!==r)for(var a=0;a<r.length;a++){var o=r[a];try{var i=e,l=t,s=l;e:for(;null!==s;){switch(s.tag){case 5:ls=s.stateNode,ss=!1;break e;case 3:case 4:ls=s.stateNode.containerInfo,ss=!0;break e}s=s.return}if(null===ls)throw Error(n(160));cs(i,l,o),ls=null,ss=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){Su(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ps(t,e),t=t.sibling}function ps(e,t){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(fs(t,e),hs(e),4&a){try{Jl(3,e,e.return),es(3,e)}catch(t){Su(e,e.return,t)}try{Jl(5,e,e.return)}catch(t){Su(e,e.return,t)}}break;case 1:fs(t,e),hs(e),512&a&&null!==r&&Ql(r,r.return);break;case 5:if(fs(t,e),hs(e),512&a&&null!==r&&Ql(r,r.return),32&e.flags){var o=e.stateNode;try{ue(o,"")}catch(t){Su(e,e.return,t)}}if(4&a&&null!=(o=e.stateNode)){var i=e.memoizedProps,l=null!==r?r.memoizedProps:i,s=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===s&&"radio"===i.type&&null!=i.name&&G(o,i),ve(s,l);var c=ve(s,i);for(l=0;l<u.length;l+=2){var d=u[l],f=u[l+1];"style"===d?pe(o,f):"dangerouslySetInnerHTML"===d?se(o,f):"children"===d?ue(o,f):v(o,d,f,c)}switch(s){case"input":K(o,i);break;case"textarea":ne(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var h=i.value;null!=h?J(o,!!i.multiple,h,!1):p!==!!i.multiple&&(null!=i.defaultValue?J(o,!!i.multiple,i.defaultValue,!0):J(o,!!i.multiple,i.multiple?[]:"",!1))}o[ca]=i}catch(t){Su(e,e.return,t)}}break;case 6:if(fs(t,e),hs(e),4&a){if(null===e.stateNode)throw Error(n(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){Su(e,e.return,t)}}break;case 3:if(fs(t,e),hs(e),4&a&&null!==r&&r.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(t){Su(e,e.return,t)}break;case 4:default:fs(t,e),hs(e);break;case 13:fs(t,e),hs(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(zs=Ge())),4&a&&ds(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Yl=(c=Yl)||d,fs(t,e),Yl=c):fs(t,e),hs(e),8192&a){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Kl=e,d=e.child;null!==d;){for(f=Kl=d;null!==Kl;){switch(h=(p=Kl).child,p.tag){case 0:case 11:case 14:case 15:Jl(4,p,p.return);break;case 1:Ql(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){a=p,r=p.return;try{t=a,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Su(a,r,e)}}break;case 5:Ql(p,p.return);break;case 22:if(null!==p.memoizedState){ys(f);continue}}null!==h?(h.return=p,Kl=h):ys(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(s=f.stateNode,l=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,s.style.display=fe("display",l))}catch(t){Su(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Su(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:fs(t,e),hs(e),4&a&&ds(e);case 21:}}function hs(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(rs(r)){var a=r;break e}r=r.return}throw Error(n(160))}switch(a.tag){case 5:var o=a.stateNode;32&a.flags&&(ue(o,""),a.flags&=-33),is(e,as(e),o);break;case 3:case 4:var i=a.stateNode.containerInfo;os(e,as(e),i);break;default:throw Error(n(161))}}catch(t){Su(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function ms(e,t,n){Kl=e,vs(e)}function vs(e,t,n){for(var r=0!=(1&e.mode);null!==Kl;){var a=Kl,o=a.child;if(22===a.tag&&r){var i=null!==a.memoizedState||ql;if(!i){var l=a.alternate,s=null!==l&&null!==l.memoizedState||Yl;l=ql;var u=Yl;if(ql=i,(Yl=s)&&!u)for(Kl=a;null!==Kl;)s=(i=Kl).child,22===i.tag&&null!==i.memoizedState?bs(a):null!==s?(s.return=i,Kl=s):bs(a);for(;null!==o;)Kl=o,vs(o),o=o.sibling;Kl=a,ql=l,Yl=u}gs(e)}else 0!=(8772&a.subtreeFlags)&&null!==o?(o.return=a,Kl=o):gs(e)}}function gs(e){for(;null!==Kl;){var t=Kl;if(0!=(8772&t.flags)){var r=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Yl||es(5,t);break;case 1:var a=t.stateNode;if(4&t.flags&&!Yl)if(null===r)a.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:ho(t.type,r.memoizedProps);a.componentDidUpdate(o,r.memoizedState,a.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Fo(t,i,a);break;case 3:var l=t.updateQueue;if(null!==l){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Fo(t,l,r)}break;case 5:var s=t.stateNode;if(null===r&&4&t.flags){r=s;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&r.focus();break;case"img":u.src&&(r.src=u.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&&Ht(f)}}}break;default:throw Error(n(163))}Yl||512&t.flags&&ts(t)}catch(e){Su(t,t.return,e)}}if(t===e){Kl=null;break}if(null!==(r=t.sibling)){r.return=t.return,Kl=r;break}Kl=t.return}}function ys(e){for(;null!==Kl;){var t=Kl;if(t===e){Kl=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Kl=n;break}Kl=t.return}}function bs(e){for(;null!==Kl;){var t=Kl;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{es(4,t)}catch(e){Su(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var a=t.return;try{r.componentDidMount()}catch(e){Su(t,a,e)}}var o=t.return;try{ts(t)}catch(e){Su(t,o,e)}break;case 5:var i=t.return;try{ts(t)}catch(e){Su(t,i,e)}}}catch(e){Su(t,t.return,e)}if(t===e){Kl=null;break}var l=t.sibling;if(null!==l){l.return=t.return,Kl=l;break}Kl=t.return}}var ws,Ss=Math.ceil,Es=g.ReactCurrentDispatcher,_s=g.ReactCurrentOwner,ks=g.ReactCurrentBatchConfig,Ts=0,xs=null,Cs=null,Ds=0,Rs=0,Ns=Sa(0),Ps=0,Is=null,Os=0,Ms=0,As=0,Fs=null,Ls=null,zs=0,Hs=1/0,Us=null,$s=!1,js=null,Vs=null,Ws=!1,Bs=null,qs=0,Ys=0,Gs=null,Ks=-1,Qs=0;function Xs(){return 0!=(6&Ts)?Ge():-1!==Ks?Ks:Ks=Ge()}function Zs(e){return 0==(1&e.mode)?1:0!=(2&Ts)&&0!==Ds?Ds&-Ds:null!==po.transition?(0===Qs&&(Qs=ft()),Qs):0!==(e=vt)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function Js(e,t,r,a){if(50<Ys)throw Ys=0,Gs=null,Error(n(185));ht(e,r,a),0!=(2&Ts)&&e===xs||(e===xs&&(0==(2&Ts)&&(Ms|=r),4===Ps&&au(e,Ds)),eu(e,a),1===r&&0===Ts&&0==(1&t.mode)&&(Hs=Ge()+500,Fa&&Ha()))}function eu(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-rt(o),l=1<<i,s=a[i];-1===s?0!=(l&n)&&0==(l&r)||(a[i]=ct(l,t)):s<=t&&(e.expiredLanes|=l),o&=~l}}(e,t);var r=ut(e,e===xs?Ds:0);if(0===r)null!==n&&Be(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Be(n),1===t)0===e.tag?function(e){Fa=!0,za(e)}(ou.bind(null,e)):za(ou.bind(null,e)),ra((function(){0==(6&Ts)&&Ha()})),n=null;else{switch(gt(r)){case 1:n=Qe;break;case 4:n=Xe;break;case 16:default:n=Ze;break;case 536870912:n=et}n=xu(n,tu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function tu(e,t){if(Ks=-1,Qs=0,0!=(6&Ts))throw Error(n(327));var r=e.callbackNode;if(bu()&&e.callbackNode!==r)return null;var a=ut(e,e===xs?Ds:0);if(0===a)return null;if(0!=(30&a)||0!=(a&e.expiredLanes)||t)t=pu(e,a);else{t=a;var o=Ts;Ts|=2;var i=du();for(xs===e&&Ds===t||(Us=null,Hs=Ge()+500,uu(e,t));;)try{mu();break}catch(t){cu(e,t)}bo(),Es.current=i,Ts=o,null!==Cs?t=0:(xs=null,Ds=0,t=Ps)}if(0!==t){if(2===t&&(0!==(o=dt(e))&&(a=o,t=nu(e,o))),1===t)throw r=Is,uu(e,0),au(e,a),eu(e,Ge()),r;if(6===t)au(e,a);else{if(o=e.current.alternate,0==(30&a)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var a=n[r],o=a.getSnapshot;a=a.value;try{if(!ar(o(),a))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=pu(e,a))&&(0!==(i=dt(e))&&(a=i,t=nu(e,i))),1===t))throw r=Is,uu(e,0),au(e,a),eu(e,Ge()),r;switch(e.finishedWork=o,e.finishedLanes=a,t){case 0:case 1:throw Error(n(345));case 2:case 5:yu(e,Ls,Us);break;case 3:if(au(e,a),(130023424&a)===a&&10<(t=zs+500-Ge())){if(0!==ut(e,0))break;if(((o=e.suspendedLanes)&a)!==a){Xs(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ea(yu.bind(null,e,Ls,Us),t);break}yu(e,Ls,Us);break;case 4:if(au(e,a),(4194240&a)===a)break;for(t=e.eventTimes,o=-1;0<a;){var l=31-rt(a);i=1<<l,(l=t[l])>o&&(o=l),a&=~i}if(a=o,10<(a=(120>(a=Ge()-a)?120:480>a?480:1080>a?1080:1920>a?1920:3e3>a?3e3:4320>a?4320:1960*Ss(a/1960))-a)){e.timeoutHandle=ea(yu.bind(null,e,Ls,Us),a);break}yu(e,Ls,Us);break;default:throw Error(n(329))}}}return eu(e,Ge()),e.callbackNode===r?tu.bind(null,e):null}function nu(e,t){var n=Fs;return e.current.memoizedState.isDehydrated&&(uu(e,t).flags|=256),2!==(e=pu(e,t))&&(t=Ls,Ls=n,null!==t&&ru(t)),e}function ru(e){null===Ls?Ls=e:Ls.push.apply(Ls,e)}function au(e,t){for(t&=~As,t&=~Ms,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-rt(t),r=1<<n;e[n]=-1,t&=~r}}function ou(e){if(0!=(6&Ts))throw Error(n(327));bu();var t=ut(e,0);if(0==(1&t))return eu(e,Ge()),null;var r=pu(e,t);if(0!==e.tag&&2===r){var a=dt(e);0!==a&&(t=a,r=nu(e,a))}if(1===r)throw r=Is,uu(e,0),au(e,t),eu(e,Ge()),r;if(6===r)throw Error(n(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,yu(e,Ls,Us),eu(e,Ge()),null}function iu(e,t){var n=Ts;Ts|=1;try{return e(t)}finally{0===(Ts=n)&&(Hs=Ge()+500,Fa&&Ha())}}function lu(e){null!==Bs&&0===Bs.tag&&0==(6&Ts)&&bu();var t=Ts;Ts|=1;var n=ks.transition,r=vt;try{if(ks.transition=null,vt=1,e)return e()}finally{vt=r,ks.transition=n,0==(6&(Ts=t))&&Ha()}}function su(){Rs=Ns.current,Ea(Ns)}function uu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ta(n)),null!==Cs)for(n=Cs.return;null!==n;){var r=n;switch(Za(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Na();break;case 3:ni(),Ea(xa),Ea(Ta),si();break;case 5:ai(r);break;case 4:ni();break;case 13:case 19:Ea(oi);break;case 10:wo(r.type._context);break;case 22:case 23:su()}n=n.return}if(xs=e,Cs=e=Nu(e.current,null),Ds=Rs=t,Ps=0,Is=null,As=Ms=Os=0,Ls=Fs=null,null!==ko){for(t=0;t<ko.length;t++)if(null!==(r=(n=ko[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}ko=null}return e}function cu(e,t){for(;;){var r=Cs;try{if(bo(),ui.current=rl,mi){for(var a=fi.memoizedState;null!==a;){var o=a.queue;null!==o&&(o.pending=null),a=a.next}mi=!1}if(di=0,hi=pi=fi=null,vi=!1,gi=0,_s.current=null,null===r||null===r.return){Ps=1,Is=t,Cs=null;break}e:{var i=e,l=r.return,s=r,u=t;if(t=Ds,s.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=s,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 h=hl(l);if(null!==h){h.flags&=-257,ml(h,l,s,0,t),1&h.mode&&pl(i,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(0==(1&t)){pl(i,c,t),fu();break e}u=Error(n(426))}else if(to&&1&s.mode){var g=hl(l);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),ml(g,l,s,0,t),fo(ll(u,s));break e}}i=u=ll(u,s),4!==Ps&&(Ps=2),null===Fs?Fs=[i]:Fs.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Mo(i,dl(0,u,t));break e;case 1:s=u;var y=i.type,b=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Vs||!Vs.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Mo(i,fl(i,s,t));break e}}i=i.return}while(null!==i)}gu(r)}catch(e){t=e,Cs===r&&null!==r&&(Cs=r=r.return);continue}break}}function du(){var e=Es.current;return Es.current=rl,null===e?rl:e}function fu(){0!==Ps&&3!==Ps&&2!==Ps||(Ps=4),null===xs||0==(268435455&Os)&&0==(268435455&Ms)||au(xs,Ds)}function pu(e,t){var r=Ts;Ts|=2;var a=du();for(xs===e&&Ds===t||(Us=null,uu(e,t));;)try{hu();break}catch(t){cu(e,t)}if(bo(),Ts=r,Es.current=a,null!==Cs)throw Error(n(261));return xs=null,Ds=0,Ps}function hu(){for(;null!==Cs;)vu(Cs)}function mu(){for(;null!==Cs&&!qe();)vu(Cs)}function vu(e){var t=ws(e.alternate,e,Rs);e.memoizedProps=e.pendingProps,null===t?gu(e):Cs=t,_s.current=null}function gu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Wl(n,t,Rs)))return void(Cs=n)}else{if(null!==(n=Bl(n,t)))return n.flags&=32767,void(Cs=n);if(null===e)return Ps=6,void(Cs=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Cs=t);Cs=t=e}while(null!==t);0===Ps&&(Ps=5)}function yu(e,t,r){var a=vt,o=ks.transition;try{ks.transition=null,vt=1,function(e,t,r,a){do{bu()}while(null!==Bs);if(0!=(6&Ts))throw Error(n(327));r=e.finishedWork;var o=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(n(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.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-rt(n),o=1<<a;t[a]=0,r[a]=-1,e[a]=-1,n&=~o}}(e,i),e===xs&&(Cs=xs=null,Ds=0),0==(2064&r.subtreeFlags)&&0==(2064&r.flags)||Ws||(Ws=!0,xu(Ze,(function(){return bu(),null}))),i=0!=(15990&r.flags),0!=(15990&r.subtreeFlags)||i){i=ks.transition,ks.transition=null;var l=vt;vt=1;var s=Ts;Ts|=4,_s.current=null,function(e,t){if(Xr=$t,cr(e=ur())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var a=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(a&&0!==a.rangeCount){r=a.anchorNode;var o=a.anchorOffset,i=a.focusNode;a=a.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var l=0,s=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==r||0!==o&&3!==f.nodeType||(s=l+o),f!==i||0!==a&&3!==f.nodeType||(u=l+a),3===f.nodeType&&(l+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===r&&++c===o&&(s=l),p===i&&++d===a&&(u=l),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}r=-1===s||-1===u?null:{start:s,end:u}}else r=null}r=r||{start:0,end:0}}else r=null;for(Zr={focusedElem:e,selectionRange:r},$t=!1,Kl=t;null!==Kl;)if(e=(t=Kl).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Kl=e;else for(;null!==Kl;){t=Kl;try{var m=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!==m){var v=m.memoizedProps,g=m.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:ho(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}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(n(163))}}catch(e){Su(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Kl=e;break}Kl=t.return}m=Zl,Zl=!1}(e,r),ps(r,e),dr(Zr),$t=!!Xr,Zr=Xr=null,e.current=r,ms(r),Ye(),Ts=s,vt=l,ks.transition=i}else e.current=r;if(Ws&&(Ws=!1,Bs=e,qs=o),0===(i=e.pendingLanes)&&(Vs=null),function(e){if(nt&&"function"==typeof nt.onCommitFiberRoot)try{nt.onCommitFiberRoot(tt,e,void 0,128==(128&e.current.flags))}catch(e){}}(r.stateNode),eu(e,Ge()),null!==t)for(a=e.onRecoverableError,r=0;r<t.length;r++)o=t[r],a(o.value,{componentStack:o.stack,digest:o.digest});if($s)throw $s=!1,e=js,js=null,e;0!=(1&qs)&&0!==e.tag&&bu(),0!=(1&(i=e.pendingLanes))?e===Gs?Ys++:(Ys=0,Gs=e):Ys=0,Ha()}(e,t,r,a)}finally{ks.transition=o,vt=a}return null}function bu(){if(null!==Bs){var e=gt(qs),t=ks.transition,r=vt;try{if(ks.transition=null,vt=16>e?16:e,null===Bs)var a=!1;else{if(e=Bs,Bs=null,qs=0,0!=(6&Ts))throw Error(n(331));var o=Ts;for(Ts|=4,Kl=e.current;null!==Kl;){var i=Kl,l=i.child;if(0!=(16&Kl.flags)){var s=i.deletions;if(null!==s){for(var u=0;u<s.length;u++){var c=s[u];for(Kl=c;null!==Kl;){var d=Kl;switch(d.tag){case 0:case 11:case 15:Jl(8,d,i)}var f=d.child;if(null!==f)f.return=d,Kl=f;else for(;null!==Kl;){var p=(d=Kl).sibling,h=d.return;if(ns(d),d===c){Kl=null;break}if(null!==p){p.return=h,Kl=p;break}Kl=h}}}var m=i.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}Kl=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,Kl=l;else e:for(;null!==Kl;){if(0!=(2048&(i=Kl).flags))switch(i.tag){case 0:case 11:case 15:Jl(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,Kl=y;break e}Kl=i.return}}var b=e.current;for(Kl=b;null!==Kl;){var w=(l=Kl).child;if(0!=(2064&l.subtreeFlags)&&null!==w)w.return=l,Kl=w;else e:for(l=b;null!==Kl;){if(0!=(2048&(s=Kl).flags))try{switch(s.tag){case 0:case 11:case 15:es(9,s)}}catch(e){Su(s,s.return,e)}if(s===l){Kl=null;break e}var S=s.sibling;if(null!==S){S.return=s.return,Kl=S;break e}Kl=s.return}}if(Ts=o,Ha(),nt&&"function"==typeof nt.onPostCommitFiberRoot)try{nt.onPostCommitFiberRoot(tt,e)}catch(e){}a=!0}return a}finally{vt=r,ks.transition=t}}return!1}function wu(e,t,n){e=Io(e,t=dl(0,t=ll(n,t),1),1),t=Xs(),null!==e&&(ht(e,1,t),eu(e,t))}function Su(e,t,n){if(3===e.tag)wu(e,e,n);else for(;null!==t;){if(3===t.tag){wu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Vs||!Vs.has(r))){t=Io(t,e=fl(t,e=ll(n,e),1),1),e=Xs(),null!==t&&(ht(t,1,e),eu(t,e));break}}t=t.return}}function Eu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=Xs(),e.pingedLanes|=e.suspendedLanes&n,xs===e&&(Ds&n)===n&&(4===Ps||3===Ps&&(130023424&Ds)===Ds&&500>Ge()-zs?uu(e,0):As|=n),eu(e,t)}function _u(e,t){0===t&&(0==(1&e.mode)?t=1:(t=lt,0==(130023424&(lt<<=1))&&(lt=4194304)));var n=Xs();null!==(e=Co(e,t))&&(ht(e,t,n),eu(e,n))}function ku(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),_u(e,n)}function Tu(e,t){var r=0;switch(e.tag){case 13:var a=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:a=e.stateNode;break;default:throw Error(n(314))}null!==a&&a.delete(t),_u(e,r)}function xu(e,t){return We(e,t)}function Cu(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 Du(e,t,n,r){return new Cu(e,t,n,r)}function Ru(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Nu(e,t){var n=e.alternate;return null===n?((n=Du(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 Pu(e,t,r,a,o,i){var l=2;if(a=e,"function"==typeof e)Ru(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case w:return Iu(r.children,o,i,t);case S:l=8,o|=8;break;case E:return(e=Du(12,r,t,2|o)).elementType=E,e.lanes=i,e;case x:return(e=Du(13,r,t,o)).elementType=x,e.lanes=i,e;case C:return(e=Du(19,r,t,o)).elementType=C,e.lanes=i,e;case N:return Ou(r,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case _:l=10;break e;case k:l=9;break e;case T:l=11;break e;case D:l=14;break e;case R:l=16,a=null;break e}throw Error(n(130,null==e?e:typeof e,""))}return(t=Du(l,r,t,o)).elementType=e,t.type=a,t.lanes=i,t}function Iu(e,t,n,r){return(e=Du(7,e,r,t)).lanes=n,e}function Ou(e,t,n,r){return(e=Du(22,e,r,t)).elementType=N,e.lanes=n,e.stateNode={isHidden:!1},e}function Mu(e,t,n){return(e=Du(6,e,null,t)).lanes=n,e}function Au(e,t,n){return(t=Du(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fu(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=pt(0),this.expirationTimes=pt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=pt(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null}function Lu(e,t,n,r,a,o,i,l,s){return e=new Fu(e,t,n,l,s),1===t?(t=1,!0===o&&(t|=8)):t=0,o=Du(3,null,null,t),e.current=o,o.stateNode=e,o.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ro(o),e}function zu(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:b,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Hu(e){if(!e)return ka;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(n(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Ra(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(n(171))}if(1===e.tag){var r=e.type;if(Ra(r))return Ia(e,r,t)}return t}function Uu(e,t,n,r,a,o,i,l,s){return(e=Lu(n,r,!0,e,0,o,0,l,s)).context=Hu(null),n=e.current,(o=Po(r=Xs(),a=Zs(n))).callback=null!=t?t:null,Io(n,o,a),e.current.lanes=a,ht(e,a,r),eu(e,r),e}function $u(e,t,n,r){var a=t.current,o=Xs(),i=Zs(a);return n=Hu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Po(o,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Io(a,t,i))&&(Js(e,a,i,o),Oo(e,a,i)),i}function ju(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Vu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Wu(e,t){Vu(e,t),(e=e.alternate)&&Vu(e,t)}ws=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||xa.current)gl=!0;else{if(0==(e.lanes&r)&&0==(128&t.flags))return gl=!1,function(e,t,n){switch(t.tag){case 3:Cl(t),co();break;case 5:ri(t);break;case 1:Ra(t.type)&&Oa(t);break;case 4:ti(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,a=t.memoizedProps.value;_a(mo,r._currentValue),r._currentValue=a;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(_a(oi,1&oi.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Ml(e,t,n):(_a(oi,1&oi.current),null!==(e=$l(e,t,n))?e.sibling:null);_a(oi,1&oi.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Hl(e,t,n);t.flags|=128}if(null!==(a=t.memoizedState)&&(a.rendering=null,a.tail=null,a.lastEffect=null),_a(oi,oi.current),r)break;return null;case 22:case 23:return t.lanes=0,El(e,t,n)}return $l(e,t,n)}(e,t,r);gl=0!=(131072&e.flags)}else gl=!1,to&&0!=(1048576&t.flags)&&Qa(t,Va,t.index);switch(t.lanes=0,t.tag){case 2:var a=t.type;Ul(e,t),e=t.pendingProps;var o=Da(t,Ta.current);Eo(t,r),o=Si(null,t,a,e,o,r);var i=Ei();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Ra(a)?(i=!0,Oa(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ro(t),o.updater=Ho,t.stateNode=o,o._reactInternals=t,Vo(t,a,e,r),t=xl(null,t,a,!0,i,r)):(t.tag=0,to&&i&&Xa(t),yl(null,t,o,r),t=t.child),t;case 16:a=t.elementType;e:{switch(Ul(e,t),e=t.pendingProps,a=(o=a._init)(a._payload),t.type=a,o=t.tag=function(e){if("function"==typeof e)return Ru(e)?1:0;if(null!=e){if((e=e.$$typeof)===T)return 11;if(e===D)return 14}return 2}(a),e=ho(a,e),o){case 0:t=kl(null,t,a,e,r);break e;case 1:t=Tl(null,t,a,e,r);break e;case 11:t=bl(null,t,a,e,r);break e;case 14:t=wl(null,t,a,ho(a.type,e),r);break e}throw Error(n(306,a,""))}return t;case 0:return a=t.type,o=t.pendingProps,kl(e,t,a,o=t.elementType===a?o:ho(a,o),r);case 1:return a=t.type,o=t.pendingProps,Tl(e,t,a,o=t.elementType===a?o:ho(a,o),r);case 3:e:{if(Cl(t),null===e)throw Error(n(387));a=t.pendingProps,o=(i=t.memoizedState).element,No(e,t),Ao(t,a,null,r);var l=t.memoizedState;if(a=l.element,i.isDehydrated){if(i={element:a,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Dl(e,t,a,r,o=ll(Error(n(423)),t));break e}if(a!==o){t=Dl(e,t,a,r,o=ll(Error(n(424)),t));break e}for(eo=ia(t.stateNode.containerInfo.firstChild),Ja=t,to=!0,no=null,r=Ko(t,null,a,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(co(),a===o){t=$l(e,t,r);break e}yl(e,t,a,r)}t=t.child}return t;case 5:return ri(t),null===e&&io(t),a=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,Jr(a,o)?l=null:null!==i&&Jr(a,i)&&(t.flags|=32),_l(e,t),yl(e,t,l,r),t.child;case 6:return null===e&&io(t),null;case 13:return Ml(e,t,r);case 4:return ti(t,t.stateNode.containerInfo),a=t.pendingProps,null===e?t.child=Go(t,null,a,r):yl(e,t,a,r),t.child;case 11:return a=t.type,o=t.pendingProps,bl(e,t,a,o=t.elementType===a?o:ho(a,o),r);case 7:return yl(e,t,t.pendingProps,r),t.child;case 8:case 12:return yl(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(a=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,_a(mo,a._currentValue),a._currentValue=l,null!==i)if(ar(i.value,l)){if(i.children===o.children&&!xa.current){t=$l(e,t,r);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var s=i.dependencies;if(null!==s){l=i.child;for(var u=s.firstContext;null!==u;){if(u.context===a){if(1===i.tag){(u=Po(-1,r&-r)).tag=2;var c=i.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}i.lanes|=r,null!==(u=i.alternate)&&(u.lanes|=r),So(i.return,r,t),s.lanes|=r;break}u=u.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(n(341));l.lanes|=r,null!==(s=l.alternate)&&(s.lanes|=r),So(l,r,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}yl(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,a=t.pendingProps.children,Eo(t,r),a=a(o=_o(o)),t.flags|=1,yl(e,t,a,r),t.child;case 14:return o=ho(a=t.type,t.pendingProps),wl(e,t,a,o=ho(a.type,o),r);case 15:return Sl(e,t,t.type,t.pendingProps,r);case 17:return a=t.type,o=t.pendingProps,o=t.elementType===a?o:ho(a,o),Ul(e,t),t.tag=1,Ra(a)?(e=!0,Oa(t)):e=!1,Eo(t,r),$o(t,a,o),Vo(t,a,o,r),xl(null,t,a,!0,e,r);case 19:return Hl(e,t,r);case 22:return El(e,t,r)}throw Error(n(156,t.tag))};var Bu="function"==typeof reportError?reportError:function(e){console.error(e)};function qu(e){this._internalRoot=e}function Yu(e){this._internalRoot=e}function Gu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ku(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Qu(){}function Xu(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=ju(i);l.call(e)}}$u(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=ju(i);o.call(e)}}var i=Uu(t,r,e,0,null,!1,0,"",Qu);return e._reactRootContainer=i,e[da]=i.current,Hr(8===e.nodeType?e.parentNode:e),lu(),i}for(;a=e.lastChild;)e.removeChild(a);if("function"==typeof r){var l=r;r=function(){var e=ju(s);l.call(e)}}var s=Lu(e,0,!1,null,0,!1,0,"",Qu);return e._reactRootContainer=s,e[da]=s.current,Hr(8===e.nodeType?e.parentNode:e),lu((function(){$u(t,s,n,r)})),s}(n,t,e,a,r);return ju(i)}Yu.prototype.render=qu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(n(409));$u(e,t,null,null)},Yu.prototype.unmount=qu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;lu((function(){$u(null,e,null,null)})),t[da]=null}},Yu.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<Nt.length&&0!==t&&t<Nt[n].priority;n++);Nt.splice(n,0,e),0===n&&Mt(e)}},yt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=st(t.pendingLanes);0!==n&&(mt(t,1|n),eu(t,Ge()),0==(6&Ts)&&(Hs=Ge()+500,Ha()))}break;case 13:lu((function(){var t=Co(e,1);if(null!==t){var n=Xs();Js(t,e,1,n)}})),Wu(e,1)}},bt=function(e){if(13===e.tag){var t=Co(e,134217728);if(null!==t)Js(t,e,134217728,Xs());Wu(e,134217728)}},wt=function(e){if(13===e.tag){var t=Zs(e),n=Co(e,t);if(null!==n)Js(n,e,t,Xs());Wu(e,t)}},St=function(){return vt},Et=function(e,t){var n=vt;try{return vt=e,t()}finally{vt=n}},be=function(e,t,r){switch(t){case"input":if(K(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var a=r[t];if(a!==e&&a.form===e.form){var o=ya(a);if(!o)throw Error(n(90));W(a),K(a,o)}}}break;case"textarea":ne(e,r);break;case"select":null!=(t=r.value)&&J(e,!!r.multiple,t,!1)}},Te=iu,xe=lu;var Zu={usingClientEntryPoint:!1,Events:[va,ga,ya,_e,ke,iu]},Ju={findFiberByHostInstance:ma,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},ec={bundleType:Ju.bundleType,version:Ju.version,rendererPackageName:Ju.rendererPackageName,rendererConfig:Ju.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:g.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=je(e))?null:e.stateNode},findFiberByHostInstance:Ju.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 tc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!tc.isDisabled&&tc.supportsFiber)try{tt=tc.inject(ec),nt=tc}catch(le){}}return reactDom_production_min.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Zu,reactDom_production_min.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Gu(t))throw Error(n(200));return zu(e,t,null,r)},reactDom_production_min.createRoot=function(e,t){if(!Gu(e))throw Error(n(299));var r=!1,a="",o=Bu;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(a=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Lu(e,1,!1,null,0,r,0,a,o),e[da]=t.current,Hr(8===e.nodeType?e.parentNode:e),new qu(t)},reactDom_production_min.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(n(188));throw e=Object.keys(e).join(","),Error(n(268,e))}return e=null===(e=je(t))?null:e.stateNode},reactDom_production_min.flushSync=function(e){return lu(e)},reactDom_production_min.hydrate=function(e,t,r){if(!Ku(t))throw Error(n(200));return Xu(null,e,t,!0,r)},reactDom_production_min.hydrateRoot=function(e,t,r){if(!Gu(e))throw Error(n(405));var a=null!=r&&r.hydratedSources||null,o=!1,i="",l=Bu;if(null!=r&&(!0===r.unstable_strictMode&&(o=!0),void 0!==r.identifierPrefix&&(i=r.identifierPrefix),void 0!==r.onRecoverableError&&(l=r.onRecoverableError)),t=Uu(t,null,e,1,null!=r?r:null,o,0,i,l),e[da]=t.current,Hr(e),a)for(e=0;e<a.length;e++)o=(o=(r=a[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new Yu(t)},reactDom_production_min.render=function(e,t,r){if(!Ku(t))throw Error(n(200));return Xu(null,e,t,!1,r)},reactDom_production_min.unmountComponentAtNode=function(e){if(!Ku(e))throw Error(n(40));return!!e._reactRootContainer&&(lu((function(){Xu(null,null,e,!1,(function(){e._reactRootContainer=null,e[da]=null}))})),!0)},reactDom_production_min.unstable_batchedUpdates=iu,reactDom_production_min.unstable_renderSubtreeIntoContainer=function(e,t,r,a){if(!Ku(r))throw Error(n(200));if(null==e||void 0===e._reactInternals)throw Error(n(38));return Xu(e,t,r,!1,a)},reactDom_production_min.version="18.2.0-next-9e3b772b8-20220608",reactDom_production_min}var reactDom_development={},hasRequiredReactDom_development;
29
29
  /**
30
30
  * @license React
31
31
  * react-dom.development.js
@@ -34,7 +34,7 @@
34
34
  *
35
35
  * This source code is licensed under the MIT license found in the
36
36
  * LICENSE file in the root directory of this source tree.
37
- */function requireReactDom_development(){return hasRequiredReactDom_development||(hasRequiredReactDom_development=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=react.exports,t=requireScheduler(),n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=!1;function o(e){if(!r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];i("warn",e,n)}}function a(e){if(!r){for(var t=arguments.length,n=new Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];i("error",e,n)}}function i(e,t,r){var o=n.ReactDebugCurrentFrame.getStackAddendum();""!==o&&(t+="%s",r=r.concat([o]));var a=r.map((function(e){return String(e)}));a.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,a)}var l=10,s=11,u=12,c=13,d=14,f=15,p=17,h=18,v=19,m=21,g=22,y=23,b=!1,w=new Set,E={},S={};function k(e,t){_(e,t),_(e+"Capture",t)}function _(e,t){E[e]&&a("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),E[e]=t;var n=e.toLowerCase();S[n]=e,"onDoubleClick"===e&&(S.ondblclick=e);for(var r=0;r<t.length;r++)w.add(t[r])}var T=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),x=Object.prototype.hasOwnProperty;function C(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function D(e){try{return R(e),!1}catch(e){return!0}}function R(e){return""+e}function P(e,t){if(D(e))return a("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(e)}function I(e){if(D(e))return a("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",C(e)),R(e)}function M(e){if(D(e))return a("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",C(e)),R(e)}var N=":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",O=N+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",A=new RegExp("^["+N+"]["+O+"]*$"),L={},z={};function H(e){return!!x.call(z,e)||!x.call(L,e)&&(A.test(e)?(z[e]=!0,!0):(L[e]=!0,a("Invalid attribute name: `%s`",e),!1))}function F(e,t,n){return null!==t?0===t.type:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function U(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;var o=e.toLowerCase().slice(0,5);return"data-"!==o&&"aria-"!==o;default:return!1}}function j(e,t,n,r){if(null==t)return!0;if(U(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)||t<1}return!1}function V(e){return B.hasOwnProperty(e)?B[e]:null}function W(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var B={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){B[e]=new W(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0],n=e[1];B[t]=new W(t,1,!1,n,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){B[e]=new W(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){B[e]=new W(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"].forEach((function(e){B[e]=new W(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){B[e]=new W(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){B[e]=new W(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){B[e]=new W(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){B[e]=new W(e,5,!1,e.toLowerCase(),null,!1,!1)}));var $=/[\-\:]([a-z])/g,q=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace($,q);B[t]=new W(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace($,q);B[t]=new W(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($,q);B[t]=new W(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){B[e]=new W(e,1,!1,e.toLowerCase(),null,!1,!1)}));B.xlinkHref=new W("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){B[e]=new W(e,1,!1,e.toLowerCase(),null,!0,!0)}));var G=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,Y=!1;function K(e){!Y&&G.test(e)&&(Y=!0,a("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Q(e,t,n,r){if(r.mustUseProperty)return e[r.propertyName];P(n,t),r.sanitizeURL&&K(""+n);var o=r.attributeName,a=null;if(4===r.type){if(e.hasAttribute(o)){var i=e.getAttribute(o);return""===i||(j(t,n,r,!1)?i:i===""+n?n:i)}}else if(e.hasAttribute(o)){if(j(t,n,r,!1))return e.getAttribute(o);if(3===r.type)return n;a=e.getAttribute(o)}return j(t,n,r,!1)?null===a?n:a:a===""+n?n:a}function X(e,t,n,r){if(H(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var o=e.getAttribute(t);return P(n,t),o===""+n?n:o}}function Z(e,t,n,r){var o=V(t);if(!F(t,o,r))if(j(t,n,o,r)&&(n=null),r||null===o){if(H(t)){var a=t;null===n?e.removeAttribute(a):(P(n,t),e.setAttribute(a,""+n))}}else if(o.mustUseProperty){var i=o.propertyName;if(null===n){var l=o.type;e[i]=3!==l&&""}else e[i]=n}else{var s=o.attributeName,u=o.attributeNamespace;if(null===n)e.removeAttribute(s);else{var c,d=o.type;3===d||4===d&&!0===n?c="":(P(n,s),c=""+n,o.sanitizeURL&&K(c.toString())),u?e.setAttributeNS(u,s,c):e.setAttribute(s,c)}}}var J=Symbol.for("react.element"),ee=Symbol.for("react.portal"),te=Symbol.for("react.fragment"),ne=Symbol.for("react.strict_mode"),re=Symbol.for("react.profiler"),oe=Symbol.for("react.provider"),ae=Symbol.for("react.context"),ie=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),se=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),de=(Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode"),Symbol.for("react.offscreen")),fe=(Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker"),Symbol.iterator);function pe(e){if(null===e||"object"!=typeof e)return null;var t=fe&&e[fe]||e["@@iterator"];return"function"==typeof t?t:null}var he,ve,me,ge,ye,be,we,Ee=Object.assign,Se=0;function ke(){}ke.__reactDisabledLog=!0;var _e,Te=n.ReactCurrentDispatcher;function xe(e,t,n){if(void 0===_e)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);_e=r&&r[1]||""}return"\n"+_e+e}var Ce,De=!1,Re="function"==typeof WeakMap?WeakMap:Map;function Pe(e,t){if(!e||De)return"";var n,r=Ce.get(e);if(void 0!==r)return r;De=!0;var o,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,o=Te.current,Te.current=null,function(){if(0===Se){he=console.log,ve=console.info,me=console.warn,ge=console.error,ye=console.group,be=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:ke,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Se++}();try{if(t){var l=function(){throw Error()};if(Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(l,[])}catch(e){n=e}Reflect.construct(e,[],l)}else{try{l.call()}catch(e){n=e}e.call(l.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),u=n.stack.split("\n"),c=s.length-1,d=u.length-1;c>=1&&d>=0&&s[c]!==u[d];)d--;for(;c>=1&&d>=0;c--,d--)if(s[c]!==u[d]){if(1!==c||1!==d)do{if(c--,--d<0||s[c]!==u[d]){var f="\n"+s[c].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&Ce.set(e,f),f}}while(c>=1&&d>=0);break}}}finally{De=!1,Te.current=o,function(){if(0==--Se){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Ee({},e,{value:he}),info:Ee({},e,{value:ve}),warn:Ee({},e,{value:me}),error:Ee({},e,{value:ge}),group:Ee({},e,{value:ye}),groupCollapsed:Ee({},e,{value:be}),groupEnd:Ee({},e,{value:we})})}Se<0&&a("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?xe(p):"";return"function"==typeof e&&Ce.set(e,h),h}function Ie(e,t,n){return Pe(e,!1)}function Me(e,t,n){if(null==e)return"";if("function"==typeof e)return Pe(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return xe(e);switch(e){case le:return xe("Suspense");case se:return xe("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case ie:return Ie(e.render);case ue:return Me(e.type,t,n);case ce:var r=e,o=r._payload,a=r._init;try{return Me(a(o),t,n)}catch(e){}}return""}function Ne(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case 5:return xe(e.type);case 16:return xe("Lazy");case c:return xe("Suspense");case v:return xe("SuspenseList");case 0:case 2:case f:return Ie(e.type);case s:return Ie(e.type.render);case 1:return Pe(e.type,!0);default:return""}}function Oe(e){try{var t="",n=e;do{t+=Ne(n),n=n.return}while(n);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function Ae(e){return e.displayName||"Context"}function Le(e){if(null==e)return null;if("number"==typeof e.tag&&a("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case te:return"Fragment";case ee:return"Portal";case re:return"Profiler";case ne:return"StrictMode";case le:return"Suspense";case se:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case ae:return Ae(e)+".Consumer";case oe:return Ae(e._context)+".Provider";case ie:return function(e,t,n){var r=e.displayName;if(r)return r;var o=t.displayName||t.name||"";return""!==o?n+"("+o+")":n}(e,e.render,"ForwardRef");case ue:var t=e.displayName||null;return null!==t?t:Le(e.type)||"Memo";case ce:var n=e,r=n._payload,o=n._init;try{return Le(o(r))}catch(e){return null}}return null}function ze(e){return e.displayName||"Context"}function He(e){var t,n,r,o,a=e.tag,i=e.type;switch(a){case 24:return"Cache";case 9:return ze(i)+".Consumer";case l:return ze(i._context)+".Provider";case 18:return"DehydratedFragment";case s:return t=i,n=i.render,r="ForwardRef",o=n.displayName||n.name||"",t.displayName||(""!==o?r+"("+o+")":r);case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Le(i);case 8:return i===ne?"StrictMode":"Mode";case g:return"Offscreen";case u:return"Profiler";case m:return"Scope";case c:return"Suspense";case v:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case p:case 2:case d:case f:if("function"==typeof i)return i.displayName||i.name||null;if("string"==typeof i)return i}return null}Ce=new Re;var Fe=n.ReactDebugCurrentFrame,Ue=null,je=!1;function Ve(){if(null===Ue)return null;var e=Ue._debugOwner;return null!=e?He(e):null}function We(){return null===Ue?"":Oe(Ue)}function Be(){Fe.getCurrentStack=null,Ue=null,je=!1}function $e(e){Fe.getCurrentStack=null===e?null:We,Ue=e,je=!1}function qe(e){je=e}function Ge(e){return""+e}function Ye(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return M(e),e;default:return""}}var Ke={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Qe(e,t){Ke[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||a("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||null==t.checked||a("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Xe(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ze(e){return e._valueTracker}function Je(e){Ze(e)||(e._valueTracker=function(e){var t=Xe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);M(e[t]);var r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){M(e),r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var i={getValue:function(){return r},setValue:function(e){M(e),r=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}};return i}}(e))}function et(e){if(!e)return!1;var t=Ze(e);if(!t)return!0;var n=t.getValue(),r=function(e){var t="";return e?t=Xe(e)?e.checked?"true":"false":e.value:t}(e);return r!==n&&(t.setValue(r),!0)}function tt(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}}var nt=!1,rt=!1,ot=!1,at=!1;function it(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function lt(e,t){var n=e,r=t.checked;return Ee({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:n._wrapperState.initialChecked})}function st(e,t){Qe(0,t),void 0===t.checked||void 0===t.defaultChecked||rt||(a("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Ve()||"A component",t.type),rt=!0),void 0===t.value||void 0===t.defaultValue||nt||(a("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",Ve()||"A component",t.type),nt=!0);var n=e,r=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:Ye(null!=t.value?t.value:r),controlled:it(t)}}function ut(e,t){var n=e,r=t.checked;null!=r&&Z(n,"checked",r,!1)}function ct(e,t){var n=e,r=it(t);n._wrapperState.controlled||!r||at||(a("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),at=!0),!n._wrapperState.controlled||r||ot||(a("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),ot=!0),ut(e,t);var o=Ye(t.value),i=t.type;if(null!=o)"number"===i?(0===o&&""===n.value||n.value!=o)&&(n.value=Ge(o)):n.value!==Ge(o)&&(n.value=Ge(o));else if("submit"===i||"reset"===i)return void n.removeAttribute("value");t.hasOwnProperty("value")?pt(n,t.type,o):t.hasOwnProperty("defaultValue")&&pt(n,t.type,Ye(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function dt(e,t,n){var r=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var o=t.type;if(("submit"===o||"reset"===o)&&(void 0===t.value||null===t.value))return;var a=Ge(r._wrapperState.initialValue);n||a!==r.value&&(r.value=a),r.defaultValue=a}var i=r.name;""!==i&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==i&&(r.name=i)}function ft(e,t){var n=e;ct(n,t),function(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var r=e;r.parentNode;)r=r.parentNode;P(n,"name");for(var o=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),a=0;a<o.length;a++){var i=o[a];if(i!==e&&i.form===e.form){var l=Pu(i);if(!l)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");et(i),ct(i,l)}}}}(n,t)}function pt(e,t,n){"number"===t&&tt(e.ownerDocument)===e||(null==n?e.defaultValue=Ge(e._wrapperState.initialValue):e.defaultValue!==Ge(n)&&(e.defaultValue=Ge(n)))}var ht=!1,vt=!1,mt=!1;function gt(t,n){null==n.value&&("object"==typeof n.children&&null!==n.children?e.Children.forEach(n.children,(function(e){null!=e&&"string"!=typeof e&&"number"!=typeof e&&(vt||(vt=!0,a("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))})):null!=n.dangerouslySetInnerHTML&&(mt||(mt=!0,a("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),null==n.selected||ht||(a("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ht=!0)}var yt,bt=Array.isArray;function wt(e){return bt(e)}function Et(){var e=Ve();return e?"\n\nCheck the render method of `"+e+"`.":""}yt=!1;var St=["value","defaultValue"];function kt(e,t,n,r){var o=e.options;if(t){for(var a=n,i={},l=0;l<a.length;l++)i["$"+a[l]]=!0;for(var s=0;s<o.length;s++){var u=i.hasOwnProperty("$"+o[s].value);o[s].selected!==u&&(o[s].selected=u),u&&r&&(o[s].defaultSelected=!0)}}else{for(var c=Ge(Ye(n)),d=null,f=0;f<o.length;f++){if(o[f].value===c)return o[f].selected=!0,void(r&&(o[f].defaultSelected=!0));null!==d||o[f].disabled||(d=o[f])}null!==d&&(d.selected=!0)}}function _t(e,t){return Ee({},t,{value:void 0})}function Tt(e,t){var n=e;!function(e){Qe(0,e);for(var t=0;t<St.length;t++){var n=St[t];if(null!=e[n]){var r=wt(e[n]);e.multiple&&!r?a("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,Et()):!e.multiple&&r&&a("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,Et())}}}(t),n._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||yt||(a("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),yt=!0)}var xt=!1;function Ct(e,t){var n=e;if(null!=t.dangerouslySetInnerHTML)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");return Ee({},t,{value:void 0,defaultValue:void 0,children:Ge(n._wrapperState.initialValue)})}function Dt(e,t){var n=e;Qe(0,t),void 0===t.value||void 0===t.defaultValue||xt||(a("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",Ve()||"A component"),xt=!0);var r=t.value;if(null==r){var o=t.children,i=t.defaultValue;if(null!=o){if(a("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=i)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(wt(o)){if(o.length>1)throw new Error("<textarea> can only have at most one child.");o=o[0]}i=o}null==i&&(i=""),r=i}n._wrapperState={initialValue:Ye(r)}}function Rt(e,t){var n=e,r=Ye(t.value),o=Ye(t.defaultValue);if(null!=r){var a=Ge(r);a!==n.value&&(n.value=a),null==t.defaultValue&&n.defaultValue!==a&&(n.defaultValue=a)}null!=o&&(n.defaultValue=Ge(o))}function Pt(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var It="http://www.w3.org/1999/xhtml",Mt="http://www.w3.org/2000/svg";function Nt(e){switch(e){case"svg":return Mt;case"math":return"http://www.w3.org/1998/Math/MathML";default:return It}}function Ot(e,t){return null==e||e===It?Nt(t):e===Mt&&"foreignObject"===t?It:e}var At,Lt,zt=(Lt=function(e,t){if(e.namespaceURI!==Mt||"innerHTML"in e)e.innerHTML=t;else{(At=At||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=At.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Lt(e,t,n,r)}))}:Lt),Ht=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t},Ft={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Ut={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};var jt=["Webkit","ms","Moz","O"];function Vt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Ut.hasOwnProperty(e)&&Ut[e]?(function(e,t){if(D(e))a("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(e)}(t,e),(""+t).trim()):t+"px"}Object.keys(Ut).forEach((function(e){jt.forEach((function(t){Ut[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=Ut[e]}))}));var Wt=/([A-Z])/g,Bt=/^ms-/;var $t=/^(?:webkit|moz|o)[A-Z]/,qt=/^-ms-/,Gt=/-(.)/g,Yt=/;\s*$/,Kt={},Qt={},Xt=!1,Zt=!1,Jt=function(e){Kt.hasOwnProperty(e)&&Kt[e]||(Kt[e]=!0,a("Unsupported style property %s. Did you mean %s?",e,e.replace(qt,"ms-").replace(Gt,(function(e,t){return t.toUpperCase()}))))},en=function(e,t){e.indexOf("-")>-1?Jt(e):$t.test(e)?function(e){Kt.hasOwnProperty(e)&&Kt[e]||(Kt[e]=!0,a("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):Yt.test(t)&&function(e,t){Qt.hasOwnProperty(t)&&Qt[t]||(Qt[t]=!0,a('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(Yt,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e,t){Xt||(Xt=!0,a("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e,t){Zt||(Zt=!0,a("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))};function tn(e){var t="",n="";for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(null!=o){var a=0===r.indexOf("--");t+=n+(a?r:r.replace(Wt,"-$1").toLowerCase().replace(Bt,"-ms-"))+":",t+=Vt(r,o,a),n=";"}}return t||null}function nn(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var o=0===r.indexOf("--");o||en(r,t[r]);var a=Vt(r,t[r],o);"float"===r&&(r="cssFloat"),o?n.setProperty(r,a):n[r]=a}}function rn(e){var t={};for(var n in e)for(var r=Ft[n]||[n],o=0;o<r.length;o++)t[r[o]]=n;return t}var on=Ee({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 an(e,t){if(t){if(on[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&a("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style)throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function ln(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 sn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},un={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},cn={},dn=new RegExp("^(aria)-["+O+"]*$"),fn=new RegExp("^(aria)[A-Z]["+O+"]*$");function pn(e,t){if(x.call(cn,t)&&cn[t])return!0;if(fn.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=un.hasOwnProperty(n)?n:null;if(null==r)return a("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),cn[t]=!0,!0;if(t!==r)return a("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),cn[t]=!0,!0}if(dn.test(t)){var o=t.toLowerCase(),i=un.hasOwnProperty(o)?o:null;if(null==i)return cn[t]=!0,!1;if(t!==i)return a("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),cn[t]=!0,!0}return!0}function hn(e,t){ln(e,t)||function(e,t){var n=[];for(var r in t)pn(0,r)||n.push(r);var o=n.map((function(e){return"`"+e+"`"})).join(", ");1===n.length?a("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e):n.length>1&&a("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",o,e)}(e,t)}var vn=!1;var mn,gn={},yn=/^on./,bn=/^on[^A-Z]/,wn=new RegExp("^(aria)-["+O+"]*$"),En=new RegExp("^(aria)[A-Z]["+O+"]*$");mn=function(e,t,n,r){if(x.call(gn,t)&&gn[t])return!0;var o=t.toLowerCase();if("onfocusin"===o||"onfocusout"===o)return a("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),gn[t]=!0,!0;if(null!=r){var i=r.registrationNameDependencies,l=r.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var s=l.hasOwnProperty(o)?l[o]:null;if(null!=s)return a("Invalid event handler property `%s`. Did you mean `%s`?",t,s),gn[t]=!0,!0;if(yn.test(t))return a("Unknown event handler property `%s`. It will be ignored.",t),gn[t]=!0,!0}else if(yn.test(t))return bn.test(t)&&a("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),gn[t]=!0,!0;if(wn.test(t)||En.test(t))return!0;if("innerhtml"===o)return a("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),gn[t]=!0,!0;if("aria"===o)return a("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),gn[t]=!0,!0;if("is"===o&&null!=n&&"string"!=typeof n)return a("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),gn[t]=!0,!0;if("number"==typeof n&&isNaN(n))return a("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),gn[t]=!0,!0;var u=V(t),c=null!==u&&0===u.type;if(sn.hasOwnProperty(o)){var d=sn[o];if(d!==t)return a("Invalid DOM property `%s`. Did you mean `%s`?",t,d),gn[t]=!0,!0}else if(!c&&t!==o)return a("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,o),gn[t]=!0,!0;return"boolean"==typeof n&&U(t,n,u,!1)?(n?a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):a('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),gn[t]=!0,!0):!!c||(U(t,n,u,!1)?(gn[t]=!0,!1):("false"!==n&&"true"!==n||null===u||3!==u.type||(a("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),gn[t]=!0),!0))};function Sn(e,t,n){ln(e,t)||function(e,t,n){var r=[];for(var o in t)mn(0,o,t[o],n)||r.push(o);var i=r.map((function(e){return"`"+e+"`"})).join(", ");1===r.length?a("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e):r.length>1&&a("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e)}(e,t,n)}var kn=null;function _n(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var Tn=null,xn=null,Cn=null;function Dn(e){var t=Du(e);if(t){if("function"!=typeof Tn)throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var r=Pu(n);Tn(t.stateNode,t.type,r)}}}function Rn(e){xn?Cn?Cn.push(e):Cn=[e]:xn=e}function Pn(){if(xn){var e=xn,t=Cn;if(xn=null,Cn=null,Dn(e),t)for(var n=0;n<t.length;n++)Dn(t[n])}}var In=function(e,t){return e(t)},Mn=function(){},Nn=!1;function On(){(null!==xn||null!==Cn)&&(Mn(),Pn())}function An(e,t,n){if(Nn)return e(t,n);Nn=!0;try{return In(e,t,n)}finally{Nn=!1,On()}}function Ln(e,t){var n=e.stateNode;if(null===n)return null;var r=Pu(n);if(null===r)return null;var o=r[t];if(function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e.type,r))return null;if(o&&"function"!=typeof o)throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof o+"` type.");return o}var zn=!1;if(T)try{var Hn={};Object.defineProperty(Hn,"passive",{get:function(){zn=!0}}),window.addEventListener("test",Hn,Hn),window.removeEventListener("test",Hn,Hn)}catch(e){zn=!1}function Fn(e,t,n,r,o,a,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Un=Fn;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var jn=document.createElement("react");Un=function(e,t,n,r,o,a,i,l,s){if("undefined"==typeof document||null===document)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var u=document.createEvent("Event"),c=!1,d=!0,f=window.event,p=Object.getOwnPropertyDescriptor(window,"event");function h(){jn.removeEventListener(E,g,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=f)}var v,m=Array.prototype.slice.call(arguments,3);function g(){c=!0,h(),t.apply(n,m),d=!1}var y=!1,b=!1;function w(e){if(v=e.error,y=!0,null===v&&0===e.colno&&0===e.lineno&&(b=!0),e.defaultPrevented&&null!=v&&"object"==typeof v)try{v._suppressLogging=!0}catch(e){}}var E="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",w),jn.addEventListener(E,g,!1),u.initEvent(E,!1,!1),jn.dispatchEvent(u),p&&Object.defineProperty(window,"event",p),c&&d&&(y?b&&(v=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):v=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(v)),window.removeEventListener("error",w),!c)return h(),Fn.apply(this,arguments)}}var Vn=Un,Wn=!1,Bn=null,$n=!1,qn=null,Gn={onError:function(e){Wn=!0,Bn=e}};function Yn(e,t,n,r,o,a,i,l,s){Wn=!1,Bn=null,Vn.apply(Gn,arguments)}function Kn(){if(Wn){var e=Bn;return Wn=!1,Bn=null,e}throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Qn(e){return e._reactInternals}var Xn=16,Zn=128,Jn=256,er=512,tr=1024,nr=2048,rr=4096,or=8192,ar=16384,ir=32768,lr=65536,sr=131072,ur=1048576,cr=2097152,dr=4194304,fr=16777216,pr=33554432,hr=1028,vr=12854,mr=8772,gr=2064,yr=14680064,br=n.ReactCurrentOwner;function wr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var r=t;do{0!=(4098&(t=r).flags)&&(n=t.return),r=t.return}while(r)}return 3===t.tag?n:null}function Er(e){if(e.tag===c){var t=e.memoizedState;if(null===t){var n=e.alternate;null!==n&&(t=n.memoizedState)}if(null!==t)return t.dehydrated}return null}function Sr(e){return 3===e.tag?e.stateNode.containerInfo:null}function kr(e){if(wr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function _r(e){var t=e.alternate;if(!t){var n=wr(e);if(null===n)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var r=e,o=t;;){var a=r.return;if(null===a)break;var i=a.alternate;if(null===i){var l=a.return;if(null!==l){r=o=l;continue}break}if(a.child===i.child){for(var s=a.child;s;){if(s===r)return kr(a),e;if(s===o)return kr(a),t;s=s.sibling}throw new Error("Unable to find node on an unmounted component.")}if(r.return!==o.return)r=a,o=i;else{for(var u=!1,c=a.child;c;){if(c===r){u=!0,r=a,o=i;break}if(c===o){u=!0,o=a,r=i;break}c=c.sibling}if(!u){for(c=i.child;c;){if(c===r){u=!0,r=i,o=a;break}if(c===o){u=!0,o=i,r=a;break}c=c.sibling}if(!u)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==o)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(3!==r.tag)throw new Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function Tr(e){var t=_r(e);return null!==t?xr(t):null}function xr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){var n=xr(t);if(null!==n)return n;t=t.sibling}return null}function Cr(e){var t=_r(e);return null!==t?Dr(t):null}function Dr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){if(4!==t.tag){var n=Dr(t);if(null!==n)return n}t=t.sibling}return null}var Rr=t.unstable_scheduleCallback,Pr=t.unstable_cancelCallback,Ir=t.unstable_shouldYield,Mr=t.unstable_requestPaint,Nr=t.unstable_now,Or=t.unstable_getCurrentPriorityLevel,Ar=t.unstable_ImmediatePriority,Lr=t.unstable_UserBlockingPriority,zr=t.unstable_NormalPriority,Hr=t.unstable_LowPriority,Fr=t.unstable_IdlePriority,Ur=t.unstable_yieldValue,jr=t.unstable_setDisableYieldValue,Vr=null,Wr=null,Br=null,$r=!1,qr="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function Gr(e){if("function"==typeof Ur&&(jr(e),r=e),Wr&&"function"==typeof Wr.setStrictMode)try{Wr.setStrictMode(Vr,e)}catch(e){$r||($r=!0,a("React instrumentation encountered an error: %s",e))}}function Yr(e){Br=e}function Kr(){for(var e=new Map,t=1,n=0;n<fo;n++){var r=Fo(t);e.set(t,r),t*=2}return e}function Qr(){null!==Br&&"function"==typeof Br.markCommitStopped&&Br.markCommitStopped()}function Xr(e){null!==Br&&"function"==typeof Br.markComponentRenderStarted&&Br.markComponentRenderStarted(e)}function Zr(){null!==Br&&"function"==typeof Br.markComponentRenderStopped&&Br.markComponentRenderStopped()}function Jr(e){null!==Br&&"function"==typeof Br.markComponentLayoutEffectMountStarted&&Br.markComponentLayoutEffectMountStarted(e)}function eo(e){null!==Br&&"function"==typeof Br.markComponentLayoutEffectUnmountStarted&&Br.markComponentLayoutEffectUnmountStarted(e)}function to(){null!==Br&&"function"==typeof Br.markComponentLayoutEffectUnmountStopped&&Br.markComponentLayoutEffectUnmountStopped()}function no(e,t,n){null!==Br&&"function"==typeof Br.markComponentErrored&&Br.markComponentErrored(e,t,n)}function ro(e,t,n){null!==Br&&"function"==typeof Br.markComponentSuspended&&Br.markComponentSuspended(e,t,n)}function oo(e){null!==Br&&"function"==typeof Br.markRenderStarted&&Br.markRenderStarted(e)}function ao(){null!==Br&&"function"==typeof Br.markRenderStopped&&Br.markRenderStopped()}function io(e,t){null!==Br&&"function"==typeof Br.markStateUpdateScheduled&&Br.markStateUpdateScheduled(e,t)}var lo=16,so=Math.clz32?Math.clz32:function(e){var t=e>>>0;if(0===t)return 32;return 31-(uo(t)/co|0)|0},uo=Math.log,co=Math.LN2;var fo=31,po=16,ho=4194240,vo=1024,mo=2048,go=4096,yo=8192,bo=16384,wo=32768,Eo=65536,So=131072,ko=262144,_o=524288,To=1048576,xo=2097152,Co=130023424,Do=4194304,Ro=8388608,Po=16777216,Io=33554432,Mo=67108864,No=Do,Oo=134217728,Ao=268435455,Lo=268435456,zo=536870912,Ho=1073741824;function Fo(e){return 1&e?"Sync":2&e?"InputContinuousHydration":4&e?"InputContinuous":8&e?"DefaultHydration":e&po?"Default":32&e?"TransitionHydration":e&ho?"Transition":e&Co?"Retry":e&Oo?"SelectiveHydration":e&Lo?"IdleHydration":e&zo?"Idle":e&Ho?"Offscreen":void 0}var Uo=-1,jo=64,Vo=Do;function Wo(e){switch(Zo(e)){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case po:return po;case 32:return 32;case 64:case 128:case 256:case 512:case vo:case mo:case go:case yo:case bo:case wo:case Eo:case So:case ko:case _o:case To:case xo:return e&ho;case Do:case Ro:case Po:case Io:case Mo:return e&Co;case Oo:return Oo;case Lo:return Lo;case zo:return zo;case Ho:return Ho;default:return a("Should have found matching lanes. This is a bug in React."),e}}function Bo(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=n&Ao;if(0!==i){var l=i&~o;if(0!==l)r=Wo(l);else{var s=i&a;0!==s&&(r=Wo(s))}}else{var u=n&~o;0!==u?r=Wo(u):0!==a&&(r=Wo(a))}if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)){var c=Zo(r),d=Zo(t);if(c>=d||c===po&&0!=(d&ho))return t}0!=(4&r)&&(r|=n&po);var f=e.entangledLanes;if(0!==f)for(var p=e.entanglements,h=r&f;h>0;){var v=ea(h),m=1<<v;r|=p[v],h&=~m}return r}function $o(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case po:case 32:case 64:case 128:case 256:case 512:case vo:case mo:case go:case yo:case bo:case wo:case Eo:case So:case ko:case _o:case To:case xo:return t+5e3;case Do:case Ro:case Po:case Io:case Mo:case Oo:case Lo:case zo:case Ho:return Uo;default:return a("Should have found matching lanes. This is a bug in React."),Uo}}function qo(e){var t=-1073741825&e.pendingLanes;return 0!==t?t:t&Ho?Ho:0}function Go(e){return 0!=(e&Ao)}function Yo(e){return(e&Co)===e}function Ko(e,t){return 0!=(30&t)}function Qo(e){return 0!=(e&ho)}function Xo(){var e=jo;return 0==((jo<<=1)&ho)&&(jo=64),e}function Zo(e){return e&-e}function Jo(e){return Zo(e)}function ea(e){return 31-so(e)}function ta(e){return ea(e)}function na(e,t){return 0!=(e&t)}function ra(e,t){return(e&t)===t}function oa(e,t){return e|t}function aa(e,t){return e&~t}function ia(e,t){return e&t}function la(e){for(var t=[],n=0;n<fo;n++)t.push(e);return t}function sa(e,t,n){e.pendingLanes|=t,t!==zo&&(e.suspendedLanes=0,e.pingedLanes=0),e.eventTimes[ta(t)]=n}function ua(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function ca(e,t){for(var n=e.entangledLanes|=t,r=e.entanglements,o=n;o;){var a=ea(o),i=1<<a;i&t|r[a]&t&&(r[a]|=t),o&=~i}}function da(e,t,n){if(qr)for(var r=e.pendingUpdatersLaneMap;n>0;){var o=ta(n),a=1<<o;r[o].add(t),n&=~a}}function fa(e,t){if(qr)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;t>0;){var o=ta(t),a=1<<o,i=n[o];i.size>0&&(i.forEach((function(e){var t=e.alternate;null!==t&&r.has(t)||r.add(e)})),i.clear()),t&=~a}}var pa,ha,va,ma,ga,ya=1,ba=4,wa=po,Ea=zo,Sa=0;function ka(){return Sa}function _a(e){Sa=e}function Ta(e,t){return 0!==e&&e<t}function xa(e){var t=Zo(e);return Ta(ya,t)?Ta(ba,t)?Go(t)?wa:Ea:ba:ya}function Ca(e){return e.current.memoizedState.isDehydrated}function Da(e){pa(e)}var Ra=!1,Pa=[],Ia=null,Ma=null,Na=null,Oa=new Map,Aa=new Map,La=[],za=["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"];function Ha(e,t){switch(e){case"focusin":case"focusout":Ia=null;break;case"dragenter":case"dragleave":Ma=null;break;case"mouseover":case"mouseout":Na=null;break;case"pointerover":case"pointerout":var n=t.pointerId;Oa.delete(n);break;case"gotpointercapture":case"lostpointercapture":var r=t.pointerId;Aa.delete(r)}}function Fa(e,t,n,r,o,a){if(null===e||e.nativeEvent!==a){var i=function(e,t,n,r,o){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:o,targetContainers:[r]}}(t,n,r,o,a);if(null!==t){var l=Du(t);null!==l&&ha(l)}return i}e.eventSystemFlags|=r;var s=e.targetContainers;return null!==o&&-1===s.indexOf(o)&&s.push(o),e}function Ua(e){var t=Cu(e.target);if(null!==t){var n=wr(t);if(null!==n){var r=n.tag;if(r===c){var o=Er(n);if(null!==o)return e.blockedOn=o,void ga(e.priority,(function(){va(n)}))}else if(3===r){if(Ca(n.stateNode))return void(e.blockedOn=Sr(n))}}}e.blockedOn=null}function ja(e){if(null!==e.blockedOn)return!1;for(var t,n=e.targetContainers;n.length>0;){var r=n[0],o=Ja(e.domEventName,e.eventSystemFlags,r,e.nativeEvent);if(null!==o){var i=Du(o);return null!==i&&ha(i),e.blockedOn=o,!1}var l=e.nativeEvent,s=new l.constructor(l.type,l);t=s,null!==kn&&a("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),kn=t,l.target.dispatchEvent(s),null===kn&&a("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),kn=null,n.shift()}return!0}function Va(e,t,n){ja(e)&&n.delete(t)}function Wa(){Ra=!1,null!==Ia&&ja(Ia)&&(Ia=null),null!==Ma&&ja(Ma)&&(Ma=null),null!==Na&&ja(Na)&&(Na=null),Oa.forEach(Va),Aa.forEach(Va)}function Ba(e,n){e.blockedOn===n&&(e.blockedOn=null,Ra||(Ra=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Wa)))}function $a(e){if(Pa.length>0){Ba(Pa[0],e);for(var t=1;t<Pa.length;t++){var n=Pa[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==Ia&&Ba(Ia,e),null!==Ma&&Ba(Ma,e),null!==Na&&Ba(Na,e);var r=function(t){return Ba(t,e)};Oa.forEach(r),Aa.forEach(r);for(var o=0;o<La.length;o++){var a=La[o];a.blockedOn===e&&(a.blockedOn=null)}for(;La.length>0;){var i=La[0];if(null!==i.blockedOn)break;Ua(i),null===i.blockedOn&&La.shift()}}var qa=n.ReactCurrentBatchConfig,Ga=!0;function Ya(e){Ga=!!e}function Ka(e,t,n,r){var o=ka(),a=qa.transition;qa.transition=null;try{_a(ya),Xa(e,t,n,r)}finally{_a(o),qa.transition=a}}function Qa(e,t,n,r){var o=ka(),a=qa.transition;qa.transition=null;try{_a(ba),Xa(e,t,n,r)}finally{_a(o),qa.transition=a}}function Xa(e,t,n,r){Ga&&function(e,t,n,r){var o=Ja(e,t,n,r);if(null===o)return rs(e,t,r,Za,n),void Ha(e,r);if(function(e,t,n,r,o){switch(t){case"focusin":return Ia=Fa(Ia,e,t,n,r,o),!0;case"dragenter":return Ma=Fa(Ma,e,t,n,r,o),!0;case"mouseover":return Na=Fa(Na,e,t,n,r,o),!0;case"pointerover":var a=o,i=a.pointerId;return Oa.set(i,Fa(Oa.get(i)||null,e,t,n,r,a)),!0;case"gotpointercapture":var l=o,s=l.pointerId;return Aa.set(s,Fa(Aa.get(s)||null,e,t,n,r,l)),!0}return!1}(o,e,t,n,r))return void r.stopPropagation();if(Ha(e,r),4&t&&function(e){return za.indexOf(e)>-1}(e)){for(;null!==o;){var a=Du(o);null!==a&&Da(a);var i=Ja(e,t,n,r);if(null===i&&rs(e,t,r,Za,n),i===o)break;o=i}return void(null!==o&&r.stopPropagation())}rs(e,t,r,null,n)}(e,t,n,r)}var Za=null;function Ja(e,t,n,r){Za=null;var o=Cu(_n(r));if(null!==o){var a=wr(o);if(null===a)o=null;else{var i=a.tag;if(i===c){var l=Er(a);if(null!==l)return l;o=null}else if(3===i){if(Ca(a.stateNode))return Sr(a);o=null}else a!==o&&(o=null)}}return Za=o,null}function ei(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 ya;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 ba;case"message":switch(Or()){case Ar:return ya;case Lr:return ba;case zr:case Hr:return wa;case Fr:return Ea;default:return wa}default:return wa}}var ti=null,ni=null,ri=null;function oi(){if(ri)return ri;var e,t,n=ni,r=n.length,o=ai(),a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);var l=t>1?1-t:void 0;return ri=o.slice(e,l)}function ai(){return"value"in ti?ti.value:ti.textContent}function ii(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}function li(){return!0}function si(){return!1}function ui(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)if(e.hasOwnProperty(i)){var l=e[i];this[i]=l?l(o):o[i]}var s=null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue;return this.isDefaultPrevented=s?li:si,this.isPropagationStopped=si,this}return Ee(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=li)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=li)},persist:function(){},isPersistent:li}),t}var ci,di,fi,pi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hi=ui(pi),vi=Ee({},pi,{view:0,detail:0}),mi=ui(vi);var gi=Ee({},vi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ri,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:(function(e){e!==fi&&(fi&&"mousemove"===e.type?(ci=e.screenX-fi.screenX,di=e.screenY-fi.screenY):(ci=0,di=0),fi=e)}(e),ci)},movementY:function(e){return"movementY"in e?e.movementY:di}}),yi=ui(gi),bi=ui(Ee({},gi,{dataTransfer:0})),wi=ui(Ee({},vi,{relatedTarget:0})),Ei=ui(Ee({},pi,{animationName:0,elapsedTime:0,pseudoElement:0})),Si=ui(Ee({},pi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),ki=ui(Ee({},pi,{data:0})),_i=ki,Ti={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xi={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"};var Ci={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Di(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Ci[e];return!!n&&!!t[n]}function Ri(e){return Di}var Pi=ui(Ee({},vi,{key:function(e){if(e.key){var t=Ti[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=ii(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?xi[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ri,charCode:function(e){return"keypress"===e.type?ii(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ii(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Ii=ui(Ee({},gi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Mi=ui(Ee({},vi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ri})),Ni=ui(Ee({},pi,{propertyName:0,elapsedTime:0,pseudoElement:0})),Oi=ui(Ee({},gi,{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})),Ai=[9,13,27,32],Li=T&&"CompositionEvent"in window,zi=null;T&&"documentMode"in document&&(zi=document.documentMode);var Hi=T&&"TextEvent"in window&&!zi,Fi=T&&(!Li||zi&&zi>8&&zi<=11),Ui=String.fromCharCode(32);var ji=!1;function Vi(e,t){switch(e){case"keyup":return-1!==Ai.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wi(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function Bi(e){return"ko"===e.locale}var $i=!1;function qi(e,t,n,r,o){var a,i;if(Li?a=function(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}(t):$i?Vi(t,r)&&(a="onCompositionEnd"):function(e,t){return"keydown"===e&&229===t.keyCode}(t,r)&&(a="onCompositionStart"),!a)return null;Fi&&!Bi(r)&&($i||"onCompositionStart"!==a?"onCompositionEnd"===a&&$i&&(i=oi()):$i=function(e){return ti=e,ni=ai(),!0}(o));var l=as(n,a);if(l.length>0){var s=new ki(a,t,null,r,o);if(e.push({event:s,listeners:l}),i)s.data=i;else{var u=Wi(r);null!==u&&(s.data=u)}}}function Gi(e,t){if($i){if("compositionend"===e||!Li&&Vi(e,t)){var n=oi();return ti=null,ni=null,ri=null,$i=!1,n}return null}switch(e){case"paste":default:return null;case"keypress":if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fi&&!Bi(t)?null:t.data}}function Yi(e,t,n,r,o){var a;if(!(a=Hi?function(e,t){switch(e){case"compositionend":return Wi(t);case"keypress":return 32!==t.which?null:(ji=!0,Ui);case"textInput":var n=t.data;return n===Ui&&ji?null:n;default:return null}}(t,r):Gi(t,r)))return null;var i=as(n,"onBeforeInput");if(i.length>0){var l=new _i("onBeforeInput","beforeinput",null,r,o);e.push({event:l,listeners:i}),l.data=a}}var Ki={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 Qi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ki[e.type]:"textarea"===t}
37
+ */function requireReactDom_development(){return hasRequiredReactDom_development||(hasRequiredReactDom_development=1,"production"!==process.env.NODE_ENV&&function(){"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error);var e=react.exports,t=requireScheduler(),n=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,r=!1;function a(e){if(!r){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];i("warn",e,n)}}function o(e){if(!r){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];i("error",e,n)}}function i(e,t,r){var a=n.ReactDebugCurrentFrame.getStackAddendum();""!==a&&(t+="%s",r=r.concat([a]));var o=r.map((function(e){return String(e)}));o.unshift("Warning: "+t),Function.prototype.apply.call(console[e],console,o)}var l=10,s=11,u=12,c=13,d=14,f=15,p=17,h=18,m=19,v=21,g=22,y=23,b=!1,w=new Set,S={},E={};function _(e,t){k(e,t),k(e+"Capture",t)}function k(e,t){S[e]&&o("EventRegistry: More than one plugin attempted to publish the same registration name, `%s`.",e),S[e]=t;var n=e.toLowerCase();E[n]=e,"onDoubleClick"===e&&(E.ondblclick=e);for(var r=0;r<t.length;r++)w.add(t[r])}var T=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),x=Object.prototype.hasOwnProperty;function C(e){return"function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object"}function D(e){try{return R(e),!1}catch(e){return!0}}function R(e){return""+e}function N(e,t){if(D(e))return o("The provided `%s` attribute is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(e)}function P(e){if(D(e))return o("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",C(e)),R(e)}function I(e){if(D(e))return o("Form field values (value, checked, defaultValue, or defaultChecked props) must be strings, not %s. This value must be coerced to a string before before using it here.",C(e)),R(e)}var O=":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",M=O+"\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040",A=new RegExp("^["+O+"]["+M+"]*$"),F={},L={};function z(e){return!!x.call(L,e)||!x.call(F,e)&&(A.test(e)?(L[e]=!0,!0):(F[e]=!0,o("Invalid attribute name: `%s`",e),!1))}function H(e,t,n){return null!==t?0===t.type:!n&&(e.length>2&&("o"===e[0]||"O"===e[0])&&("n"===e[1]||"N"===e[1]))}function U(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":if(r)return!1;if(null!==n)return!n.acceptsBooleans;var a=e.toLowerCase().slice(0,5);return"data-"!==a&&"aria-"!==a;default:return!1}}function $(e,t,n,r){if(null==t)return!0;if(U(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)||t<1}return!1}function j(e){return W.hasOwnProperty(e)?W[e]:null}function V(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 W={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){W[e]=new V(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0],n=e[1];W[t]=new V(t,1,!1,n,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){W[e]=new V(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){W[e]=new V(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"].forEach((function(e){W[e]=new V(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){W[e]=new V(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){W[e]=new V(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){W[e]=new V(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){W[e]=new V(e,5,!1,e.toLowerCase(),null,!1,!1)}));var B=/[\-\:]([a-z])/g,q=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(B,q);W[t]=new V(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(B,q);W[t]=new V(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(B,q);W[t]=new V(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){W[e]=new V(e,1,!1,e.toLowerCase(),null,!1,!1)}));W.xlinkHref=new V("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){W[e]=new V(e,1,!1,e.toLowerCase(),null,!0,!0)}));var Y=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*\:/i,G=!1;function K(e){!G&&Y.test(e)&&(G=!0,o("A future version of React will block javascript: URLs as a security precaution. Use event handlers instead if you can. If you need to generate unsafe HTML try using dangerouslySetInnerHTML instead. React was passed %s.",JSON.stringify(e)))}function Q(e,t,n,r){if(r.mustUseProperty)return e[r.propertyName];N(n,t),r.sanitizeURL&&K(""+n);var a=r.attributeName,o=null;if(4===r.type){if(e.hasAttribute(a)){var i=e.getAttribute(a);return""===i||($(t,n,r,!1)?i:i===""+n?n:i)}}else if(e.hasAttribute(a)){if($(t,n,r,!1))return e.getAttribute(a);if(3===r.type)return n;o=e.getAttribute(a)}return $(t,n,r,!1)?null===o?n:o:o===""+n?n:o}function X(e,t,n,r){if(z(t)){if(!e.hasAttribute(t))return void 0===n?void 0:null;var a=e.getAttribute(t);return N(n,t),a===""+n?n:a}}function Z(e,t,n,r){var a=j(t);if(!H(t,a,r))if($(t,n,a,r)&&(n=null),r||null===a){if(z(t)){var o=t;null===n?e.removeAttribute(o):(N(n,t),e.setAttribute(o,""+n))}}else if(a.mustUseProperty){var i=a.propertyName;if(null===n){var l=a.type;e[i]=3!==l&&""}else e[i]=n}else{var s=a.attributeName,u=a.attributeNamespace;if(null===n)e.removeAttribute(s);else{var c,d=a.type;3===d||4===d&&!0===n?c="":(N(n,s),c=""+n,a.sanitizeURL&&K(c.toString())),u?e.setAttributeNS(u,s,c):e.setAttribute(s,c)}}}var J=Symbol.for("react.element"),ee=Symbol.for("react.portal"),te=Symbol.for("react.fragment"),ne=Symbol.for("react.strict_mode"),re=Symbol.for("react.profiler"),ae=Symbol.for("react.provider"),oe=Symbol.for("react.context"),ie=Symbol.for("react.forward_ref"),le=Symbol.for("react.suspense"),se=Symbol.for("react.suspense_list"),ue=Symbol.for("react.memo"),ce=Symbol.for("react.lazy"),de=(Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode"),Symbol.for("react.offscreen")),fe=(Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker"),Symbol.iterator);function pe(e){if(null===e||"object"!=typeof e)return null;var t=fe&&e[fe]||e["@@iterator"];return"function"==typeof t?t:null}var he,me,ve,ge,ye,be,we,Se=Object.assign,Ee=0;function _e(){}_e.__reactDisabledLog=!0;var ke,Te=n.ReactCurrentDispatcher;function xe(e,t,n){if(void 0===ke)try{throw Error()}catch(e){var r=e.stack.trim().match(/\n( *(at )?)/);ke=r&&r[1]||""}return"\n"+ke+e}var Ce,De=!1,Re="function"==typeof WeakMap?WeakMap:Map;function Ne(e,t){if(!e||De)return"";var n,r=Ce.get(e);if(void 0!==r)return r;De=!0;var a,i=Error.prepareStackTrace;Error.prepareStackTrace=void 0,a=Te.current,Te.current=null,function(){if(0===Ee){he=console.log,me=console.info,ve=console.warn,ge=console.error,ye=console.group,be=console.groupCollapsed,we=console.groupEnd;var e={configurable:!0,enumerable:!0,value:_e,writable:!0};Object.defineProperties(console,{info:e,log:e,warn:e,error:e,group:e,groupCollapsed:e,groupEnd:e})}Ee++}();try{if(t){var l=function(){throw Error()};if(Object.defineProperty(l.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(l,[])}catch(e){n=e}Reflect.construct(e,[],l)}else{try{l.call()}catch(e){n=e}e.call(l.prototype)}}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var s=t.stack.split("\n"),u=n.stack.split("\n"),c=s.length-1,d=u.length-1;c>=1&&d>=0&&s[c]!==u[d];)d--;for(;c>=1&&d>=0;c--,d--)if(s[c]!==u[d]){if(1!==c||1!==d)do{if(c--,--d<0||s[c]!==u[d]){var f="\n"+s[c].replace(" at new "," at ");return e.displayName&&f.includes("<anonymous>")&&(f=f.replace("<anonymous>",e.displayName)),"function"==typeof e&&Ce.set(e,f),f}}while(c>=1&&d>=0);break}}}finally{De=!1,Te.current=a,function(){if(0==--Ee){var e={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:Se({},e,{value:he}),info:Se({},e,{value:me}),warn:Se({},e,{value:ve}),error:Se({},e,{value:ge}),group:Se({},e,{value:ye}),groupCollapsed:Se({},e,{value:be}),groupEnd:Se({},e,{value:we})})}Ee<0&&o("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}(),Error.prepareStackTrace=i}var p=e?e.displayName||e.name:"",h=p?xe(p):"";return"function"==typeof e&&Ce.set(e,h),h}function Pe(e,t,n){return Ne(e,!1)}function Ie(e,t,n){if(null==e)return"";if("function"==typeof e)return Ne(e,function(e){var t=e.prototype;return!(!t||!t.isReactComponent)}(e));if("string"==typeof e)return xe(e);switch(e){case le:return xe("Suspense");case se:return xe("SuspenseList")}if("object"==typeof e)switch(e.$$typeof){case ie:return Pe(e.render);case ue:return Ie(e.type,t,n);case ce:var r=e,a=r._payload,o=r._init;try{return Ie(o(a),t,n)}catch(e){}}return""}function Oe(e){switch(e._debugOwner&&e._debugOwner.type,e._debugSource,e.tag){case 5:return xe(e.type);case 16:return xe("Lazy");case c:return xe("Suspense");case m:return xe("SuspenseList");case 0:case 2:case f:return Pe(e.type);case s:return Pe(e.type.render);case 1:return Ne(e.type,!0);default:return""}}function Me(e){try{var t="",n=e;do{t+=Oe(n),n=n.return}while(n);return t}catch(e){return"\nError generating stack: "+e.message+"\n"+e.stack}}function Ae(e){return e.displayName||"Context"}function Fe(e){if(null==e)return null;if("number"==typeof e.tag&&o("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),"function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case te:return"Fragment";case ee:return"Portal";case re:return"Profiler";case ne:return"StrictMode";case le:return"Suspense";case se:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case oe:return Ae(e)+".Consumer";case ae:return Ae(e._context)+".Provider";case ie:return function(e,t,n){var r=e.displayName;if(r)return r;var a=t.displayName||t.name||"";return""!==a?n+"("+a+")":n}(e,e.render,"ForwardRef");case ue:var t=e.displayName||null;return null!==t?t:Fe(e.type)||"Memo";case ce:var n=e,r=n._payload,a=n._init;try{return Fe(a(r))}catch(e){return null}}return null}function Le(e){return e.displayName||"Context"}function ze(e){var t,n,r,a,o=e.tag,i=e.type;switch(o){case 24:return"Cache";case 9:return Le(i)+".Consumer";case l:return Le(i._context)+".Provider";case 18:return"DehydratedFragment";case s:return t=i,n=i.render,r="ForwardRef",a=n.displayName||n.name||"",t.displayName||(""!==a?r+"("+a+")":r);case 7:return"Fragment";case 5:return i;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Fe(i);case 8:return i===ne?"StrictMode":"Mode";case g:return"Offscreen";case u:return"Profiler";case v:return"Scope";case c:return"Suspense";case m:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case p:case 2:case d:case f:if("function"==typeof i)return i.displayName||i.name||null;if("string"==typeof i)return i}return null}Ce=new Re;var He=n.ReactDebugCurrentFrame,Ue=null,$e=!1;function je(){if(null===Ue)return null;var e=Ue._debugOwner;return null!=e?ze(e):null}function Ve(){return null===Ue?"":Me(Ue)}function We(){He.getCurrentStack=null,Ue=null,$e=!1}function Be(e){He.getCurrentStack=null===e?null:Ve,Ue=e,$e=!1}function qe(e){$e=e}function Ye(e){return""+e}function Ge(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return I(e),e;default:return""}}var Ke={button:!0,checkbox:!0,image:!0,hidden:!0,radio:!0,reset:!0,submit:!0};function Qe(e,t){Ke[t.type]||t.onChange||t.onInput||t.readOnly||t.disabled||null==t.value||o("You provided a `value` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultValue`. Otherwise, set either `onChange` or `readOnly`."),t.onChange||t.readOnly||t.disabled||null==t.checked||o("You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.")}function Xe(e){var t=e.type,n=e.nodeName;return n&&"input"===n.toLowerCase()&&("checkbox"===t||"radio"===t)}function Ze(e){return e._valueTracker}function Je(e){Ze(e)||(e._valueTracker=function(e){var t=Xe(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);I(e[t]);var 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;Object.defineProperty(e,t,{configurable:!0,get:function(){return a.call(this)},set:function(e){I(e),r=""+e,o.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable});var i={getValue:function(){return r},setValue:function(e){I(e),r=""+e},stopTracking:function(){!function(e){e._valueTracker=null}(e),delete e[t]}};return i}}(e))}function et(e){if(!e)return!1;var t=Ze(e);if(!t)return!0;var n=t.getValue(),r=function(e){var t="";return e?t=Xe(e)?e.checked?"true":"false":e.value:t}(e);return r!==n&&(t.setValue(r),!0)}function tt(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}}var nt=!1,rt=!1,at=!1,ot=!1;function it(e){return"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}function lt(e,t){var n=e,r=t.checked;return Se({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:n._wrapperState.initialChecked})}function st(e,t){Qe(0,t),void 0===t.checked||void 0===t.defaultChecked||rt||(o("%s contains an input of type %s with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",je()||"A component",t.type),rt=!0),void 0===t.value||void 0===t.defaultValue||nt||(o("%s contains an input of type %s with both value and defaultValue props. Input elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components",je()||"A component",t.type),nt=!0);var n=e,r=null==t.defaultValue?"":t.defaultValue;n._wrapperState={initialChecked:null!=t.checked?t.checked:t.defaultChecked,initialValue:Ge(null!=t.value?t.value:r),controlled:it(t)}}function ut(e,t){var n=e,r=t.checked;null!=r&&Z(n,"checked",r,!1)}function ct(e,t){var n=e,r=it(t);n._wrapperState.controlled||!r||ot||(o("A component is changing an uncontrolled input to be controlled. This is likely caused by the value changing from undefined to a defined value, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),ot=!0),!n._wrapperState.controlled||r||at||(o("A component is changing a controlled input to be uncontrolled. This is likely caused by the value changing from a defined to undefined, which should not happen. Decide between using a controlled or uncontrolled input element for the lifetime of the component. More info: https://reactjs.org/link/controlled-components"),at=!0),ut(e,t);var a=Ge(t.value),i=t.type;if(null!=a)"number"===i?(0===a&&""===n.value||n.value!=a)&&(n.value=Ye(a)):n.value!==Ye(a)&&(n.value=Ye(a));else if("submit"===i||"reset"===i)return void n.removeAttribute("value");t.hasOwnProperty("value")?pt(n,t.type,a):t.hasOwnProperty("defaultValue")&&pt(n,t.type,Ge(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(n.defaultChecked=!!t.defaultChecked)}function dt(e,t,n){var r=e;if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(("submit"===a||"reset"===a)&&(void 0===t.value||null===t.value))return;var o=Ye(r._wrapperState.initialValue);n||o!==r.value&&(r.value=o),r.defaultValue=o}var i=r.name;""!==i&&(r.name=""),r.defaultChecked=!r.defaultChecked,r.defaultChecked=!!r._wrapperState.initialChecked,""!==i&&(r.name=i)}function ft(e,t){var n=e;ct(n,t),function(e,t){var n=t.name;if("radio"===t.type&&null!=n){for(var r=e;r.parentNode;)r=r.parentNode;N(n,"name");for(var a=r.querySelectorAll("input[name="+JSON.stringify(""+n)+'][type="radio"]'),o=0;o<a.length;o++){var i=a[o];if(i!==e&&i.form===e.form){var l=Nu(i);if(!l)throw new Error("ReactDOMInput: Mixing React and non-React radio inputs with the same `name` is not supported.");et(i),ct(i,l)}}}}(n,t)}function pt(e,t,n){"number"===t&&tt(e.ownerDocument)===e||(null==n?e.defaultValue=Ye(e._wrapperState.initialValue):e.defaultValue!==Ye(n)&&(e.defaultValue=Ye(n)))}var ht=!1,mt=!1,vt=!1;function gt(t,n){null==n.value&&("object"==typeof n.children&&null!==n.children?e.Children.forEach(n.children,(function(e){null!=e&&"string"!=typeof e&&"number"!=typeof e&&(mt||(mt=!0,o("Cannot infer the option value of complex children. Pass a `value` prop or use a plain string as children to <option>.")))})):null!=n.dangerouslySetInnerHTML&&(vt||(vt=!0,o("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.")))),null==n.selected||ht||(o("Use the `defaultValue` or `value` props on <select> instead of setting `selected` on <option>."),ht=!0)}var yt,bt=Array.isArray;function wt(e){return bt(e)}function St(){var e=je();return e?"\n\nCheck the render method of `"+e+"`.":""}yt=!1;var Et=["value","defaultValue"];function _t(e,t,n,r){var a=e.options;if(t){for(var o=n,i={},l=0;l<o.length;l++)i["$"+o[l]]=!0;for(var s=0;s<a.length;s++){var u=i.hasOwnProperty("$"+a[s].value);a[s].selected!==u&&(a[s].selected=u),u&&r&&(a[s].defaultSelected=!0)}}else{for(var c=Ye(Ge(n)),d=null,f=0;f<a.length;f++){if(a[f].value===c)return a[f].selected=!0,void(r&&(a[f].defaultSelected=!0));null!==d||a[f].disabled||(d=a[f])}null!==d&&(d.selected=!0)}}function kt(e,t){return Se({},t,{value:void 0})}function Tt(e,t){var n=e;!function(e){Qe(0,e);for(var t=0;t<Et.length;t++){var n=Et[t];if(null!=e[n]){var r=wt(e[n]);e.multiple&&!r?o("The `%s` prop supplied to <select> must be an array if `multiple` is true.%s",n,St()):!e.multiple&&r&&o("The `%s` prop supplied to <select> must be a scalar value if `multiple` is false.%s",n,St())}}}(t),n._wrapperState={wasMultiple:!!t.multiple},void 0===t.value||void 0===t.defaultValue||yt||(o("Select elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled select element and remove one of these props. More info: https://reactjs.org/link/controlled-components"),yt=!0)}var xt=!1;function Ct(e,t){var n=e;if(null!=t.dangerouslySetInnerHTML)throw new Error("`dangerouslySetInnerHTML` does not make sense on <textarea>.");return Se({},t,{value:void 0,defaultValue:void 0,children:Ye(n._wrapperState.initialValue)})}function Dt(e,t){var n=e;Qe(0,t),void 0===t.value||void 0===t.defaultValue||xt||(o("%s contains a textarea with both value and defaultValue props. Textarea elements must be either controlled or uncontrolled (specify either the value prop, or the defaultValue prop, but not both). Decide between using a controlled or uncontrolled textarea and remove one of these props. More info: https://reactjs.org/link/controlled-components",je()||"A component"),xt=!0);var r=t.value;if(null==r){var a=t.children,i=t.defaultValue;if(null!=a){if(o("Use the `defaultValue` or `value` props instead of setting children on <textarea>."),null!=i)throw new Error("If you supply `defaultValue` on a <textarea>, do not pass children.");if(wt(a)){if(a.length>1)throw new Error("<textarea> can only have at most one child.");a=a[0]}i=a}null==i&&(i=""),r=i}n._wrapperState={initialValue:Ge(r)}}function Rt(e,t){var n=e,r=Ge(t.value),a=Ge(t.defaultValue);if(null!=r){var o=Ye(r);o!==n.value&&(n.value=o),null==t.defaultValue&&n.defaultValue!==o&&(n.defaultValue=o)}null!=a&&(n.defaultValue=Ye(a))}function Nt(e,t){var n=e,r=n.textContent;r===n._wrapperState.initialValue&&""!==r&&null!==r&&(n.value=r)}var Pt="http://www.w3.org/1999/xhtml",It="http://www.w3.org/2000/svg";function Ot(e){switch(e){case"svg":return It;case"math":return"http://www.w3.org/1998/Math/MathML";default:return Pt}}function Mt(e,t){return null==e||e===Pt?Ot(t):e===It&&"foreignObject"===t?Pt:e}var At,Ft,Lt=(Ft=function(e,t){if(e.namespaceURI!==It||"innerHTML"in e)e.innerHTML=t;else{(At=At||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>";for(var n=At.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return Ft(e,t,n,r)}))}:Ft),zt=function(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t},Ht={animation:["animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationTimingFunction"],background:["backgroundAttachment","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize"],backgroundPosition:["backgroundPositionX","backgroundPositionY"],border:["borderBottomColor","borderBottomStyle","borderBottomWidth","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRightColor","borderRightStyle","borderRightWidth","borderTopColor","borderTopStyle","borderTopWidth"],borderBlockEnd:["borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth"],borderBlockStart:["borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth"],borderBottom:["borderBottomColor","borderBottomStyle","borderBottomWidth"],borderColor:["borderBottomColor","borderLeftColor","borderRightColor","borderTopColor"],borderImage:["borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth"],borderInlineEnd:["borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth"],borderInlineStart:["borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth"],borderLeft:["borderLeftColor","borderLeftStyle","borderLeftWidth"],borderRadius:["borderBottomLeftRadius","borderBottomRightRadius","borderTopLeftRadius","borderTopRightRadius"],borderRight:["borderRightColor","borderRightStyle","borderRightWidth"],borderStyle:["borderBottomStyle","borderLeftStyle","borderRightStyle","borderTopStyle"],borderTop:["borderTopColor","borderTopStyle","borderTopWidth"],borderWidth:["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth"],columnRule:["columnRuleColor","columnRuleStyle","columnRuleWidth"],columns:["columnCount","columnWidth"],flex:["flexBasis","flexGrow","flexShrink"],flexFlow:["flexDirection","flexWrap"],font:["fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontWeight","lineHeight"],fontVariant:["fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantLigatures","fontVariantNumeric","fontVariantPosition"],gap:["columnGap","rowGap"],grid:["gridAutoColumns","gridAutoFlow","gridAutoRows","gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],gridArea:["gridColumnEnd","gridColumnStart","gridRowEnd","gridRowStart"],gridColumn:["gridColumnEnd","gridColumnStart"],gridColumnGap:["columnGap"],gridGap:["columnGap","rowGap"],gridRow:["gridRowEnd","gridRowStart"],gridRowGap:["rowGap"],gridTemplate:["gridTemplateAreas","gridTemplateColumns","gridTemplateRows"],listStyle:["listStyleImage","listStylePosition","listStyleType"],margin:["marginBottom","marginLeft","marginRight","marginTop"],marker:["markerEnd","markerMid","markerStart"],mask:["maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPositionX","maskPositionY","maskRepeat","maskSize"],maskPosition:["maskPositionX","maskPositionY"],outline:["outlineColor","outlineStyle","outlineWidth"],overflow:["overflowX","overflowY"],padding:["paddingBottom","paddingLeft","paddingRight","paddingTop"],placeContent:["alignContent","justifyContent"],placeItems:["alignItems","justifyItems"],placeSelf:["alignSelf","justifySelf"],textDecoration:["textDecorationColor","textDecorationLine","textDecorationStyle"],textEmphasis:["textEmphasisColor","textEmphasisStyle"],transition:["transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction"],wordWrap:["overflowWrap"]},Ut={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};var $t=["Webkit","ms","Moz","O"];function jt(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||Ut.hasOwnProperty(e)&&Ut[e]?(function(e,t){if(D(e))o("The provided `%s` CSS property is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(e)}(t,e),(""+t).trim()):t+"px"}Object.keys(Ut).forEach((function(e){$t.forEach((function(t){Ut[function(e,t){return e+t.charAt(0).toUpperCase()+t.substring(1)}(t,e)]=Ut[e]}))}));var Vt=/([A-Z])/g,Wt=/^ms-/;var Bt=/^(?:webkit|moz|o)[A-Z]/,qt=/^-ms-/,Yt=/-(.)/g,Gt=/;\s*$/,Kt={},Qt={},Xt=!1,Zt=!1,Jt=function(e){Kt.hasOwnProperty(e)&&Kt[e]||(Kt[e]=!0,o("Unsupported style property %s. Did you mean %s?",e,e.replace(qt,"ms-").replace(Yt,(function(e,t){return t.toUpperCase()}))))},en=function(e,t){e.indexOf("-")>-1?Jt(e):Bt.test(e)?function(e){Kt.hasOwnProperty(e)&&Kt[e]||(Kt[e]=!0,o("Unsupported vendor-prefixed style property %s. Did you mean %s?",e,e.charAt(0).toUpperCase()+e.slice(1)))}(e):Gt.test(t)&&function(e,t){Qt.hasOwnProperty(t)&&Qt[t]||(Qt[t]=!0,o('Style property values shouldn\'t contain a semicolon. Try "%s: %s" instead.',e,t.replace(Gt,"")))}(e,t),"number"==typeof t&&(isNaN(t)?function(e,t){Xt||(Xt=!0,o("`NaN` is an invalid value for the `%s` css style property.",e))}(e):isFinite(t)||function(e,t){Zt||(Zt=!0,o("`Infinity` is an invalid value for the `%s` css style property.",e))}(e))};function tn(e){var t="",n="";for(var r in e)if(e.hasOwnProperty(r)){var a=e[r];if(null!=a){var o=0===r.indexOf("--");t+=n+(o?r:r.replace(Vt,"-$1").toLowerCase().replace(Wt,"-ms-"))+":",t+=jt(r,a,o),n=";"}}return t||null}function nn(e,t){var n=e.style;for(var r in t)if(t.hasOwnProperty(r)){var a=0===r.indexOf("--");a||en(r,t[r]);var o=jt(r,t[r],a);"float"===r&&(r="cssFloat"),a?n.setProperty(r,o):n[r]=o}}function rn(e){var t={};for(var n in e)for(var r=Ht[n]||[n],a=0;a<r.length;a++)t[r[a]]=n;return t}var an=Se({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 on(e,t){if(t){if(an[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw new Error(e+" is a void element tag and must neither have `children` nor use `dangerouslySetInnerHTML`.");if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw new Error("Can only set one of `children` or `props.dangerouslySetInnerHTML`.");if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw new Error("`props.dangerouslySetInnerHTML` must be in the form `{__html: ...}`. Please visit https://reactjs.org/link/dangerously-set-inner-html for more information.")}if(!t.suppressContentEditableWarning&&t.contentEditable&&null!=t.children&&o("A component is `contentEditable` and contains `children` managed by React. It is now your responsibility to guarantee that none of those nodes are unexpectedly modified or duplicated. This is probably not intentional."),null!=t.style&&"object"!=typeof t.style)throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.")}}function ln(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 sn={accept:"accept",acceptcharset:"acceptCharset","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",alt:"alt",as:"as",async:"async",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",challenge:"challenge",charset:"charSet",checked:"checked",children:"children",cite:"cite",class:"className",classid:"classID",classname:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlslist:"controlsList",coords:"coords",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",data:"data",datetime:"dateTime",default:"default",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",defer:"defer",dir:"dir",disabled:"disabled",disablepictureinpicture:"disablePictureInPicture",disableremoteplayback:"disableRemotePlayback",download:"download",draggable:"draggable",enctype:"encType",enterkeyhint:"enterKeyHint",for:"htmlFor",form:"form",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",id:"id",imagesizes:"imageSizes",imagesrcset:"imageSrcSet",innerhtml:"innerHTML",inputmode:"inputMode",integrity:"integrity",is:"is",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginwidth:"marginWidth",marginheight:"marginHeight",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nomodule:"noModule",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",accentheight:"accentHeight","accent-height":"accentHeight",accumulate:"accumulate",additive:"additive",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",alphabetic:"alphabetic",amplitude:"amplitude",arabicform:"arabicForm","arabic-form":"arabicForm",ascent:"ascent",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",azimuth:"azimuth",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",bbox:"bbox",begin:"begin",bias:"bias",by:"by",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clip:"clip",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",color:"color",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",cursor:"cursor",cx:"cx",cy:"cy",d:"d",datatype:"datatype",decelerate:"decelerate",descent:"descent",diffuseconstant:"diffuseConstant",direction:"direction",display:"display",divisor:"divisor",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",dur:"dur",dx:"dx",dy:"dy",edgemode:"edgeMode",elevation:"elevation",enablebackground:"enableBackground","enable-background":"enableBackground",end:"end",exponent:"exponent",externalresourcesrequired:"externalResourcesRequired",fill:"fill",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filter:"filter",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",focusable:"focusable",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",format:"format",from:"from",fx:"fx",fy:"fy",g1:"g1",g2:"g2",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",hanging:"hanging",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",ideographic:"ideographic",imagerendering:"imageRendering","image-rendering":"imageRendering",in2:"in2",in:"in",inlist:"inlist",intercept:"intercept",k1:"k1",k2:"k2",k3:"k3",k4:"k4",k:"k",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",kerning:"kerning",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",local:"local",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",mask:"mask",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",mathematical:"mathematical",mode:"mode",numoctaves:"numOctaves",offset:"offset",opacity:"opacity",operator:"operator",order:"order",orient:"orient",orientation:"orientation",origin:"origin",overflow:"overflow",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder",panose1:"panose1","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",points:"points",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",prefix:"prefix",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",property:"property",r:"r",radius:"radius",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",resource:"resource",restart:"restart",result:"result",results:"results",rotate:"rotate",rx:"rx",ry:"ry",scale:"scale",security:"security",seed:"seed",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",slope:"slope",spacing:"spacing",specularconstant:"specularConstant",specularexponent:"specularExponent",speed:"speed",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stemh:"stemh",stemv:"stemv",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",string:"string",stroke:"stroke",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",to:"to",transform:"transform",typeof:"typeof",u1:"u1",u2:"u2",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicode:"unicode",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",values:"values",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",version:"version",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",visibility:"visibility",vmathematical:"vMathematical","v-mathematical":"vMathematical",vocab:"vocab",widths:"widths",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",x1:"x1",x2:"x2",x:"x",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang",xmlns:"xmlns","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",y1:"y1",y2:"y2",y:"y",ychannelselector:"yChannelSelector",z:"z",zoomandpan:"zoomAndPan"},un={"aria-current":0,"aria-description":0,"aria-details":0,"aria-disabled":0,"aria-hidden":0,"aria-invalid":0,"aria-keyshortcuts":0,"aria-label":0,"aria-roledescription":0,"aria-autocomplete":0,"aria-checked":0,"aria-expanded":0,"aria-haspopup":0,"aria-level":0,"aria-modal":0,"aria-multiline":0,"aria-multiselectable":0,"aria-orientation":0,"aria-placeholder":0,"aria-pressed":0,"aria-readonly":0,"aria-required":0,"aria-selected":0,"aria-sort":0,"aria-valuemax":0,"aria-valuemin":0,"aria-valuenow":0,"aria-valuetext":0,"aria-atomic":0,"aria-busy":0,"aria-live":0,"aria-relevant":0,"aria-dropeffect":0,"aria-grabbed":0,"aria-activedescendant":0,"aria-colcount":0,"aria-colindex":0,"aria-colspan":0,"aria-controls":0,"aria-describedby":0,"aria-errormessage":0,"aria-flowto":0,"aria-labelledby":0,"aria-owns":0,"aria-posinset":0,"aria-rowcount":0,"aria-rowindex":0,"aria-rowspan":0,"aria-setsize":0},cn={},dn=new RegExp("^(aria)-["+M+"]*$"),fn=new RegExp("^(aria)[A-Z]["+M+"]*$");function pn(e,t){if(x.call(cn,t)&&cn[t])return!0;if(fn.test(t)){var n="aria-"+t.slice(4).toLowerCase(),r=un.hasOwnProperty(n)?n:null;if(null==r)return o("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.",t),cn[t]=!0,!0;if(t!==r)return o("Invalid ARIA attribute `%s`. Did you mean `%s`?",t,r),cn[t]=!0,!0}if(dn.test(t)){var a=t.toLowerCase(),i=un.hasOwnProperty(a)?a:null;if(null==i)return cn[t]=!0,!1;if(t!==i)return o("Unknown ARIA attribute `%s`. Did you mean `%s`?",t,i),cn[t]=!0,!0}return!0}function hn(e,t){ln(e,t)||function(e,t){var n=[];for(var r in t)pn(0,r)||n.push(r);var a=n.map((function(e){return"`"+e+"`"})).join(", ");1===n.length?o("Invalid aria prop %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",a,e):n.length>1&&o("Invalid aria props %s on <%s> tag. For details, see https://reactjs.org/link/invalid-aria-props",a,e)}(e,t)}var mn=!1;var vn,gn={},yn=/^on./,bn=/^on[^A-Z]/,wn=new RegExp("^(aria)-["+M+"]*$"),Sn=new RegExp("^(aria)[A-Z]["+M+"]*$");vn=function(e,t,n,r){if(x.call(gn,t)&&gn[t])return!0;var a=t.toLowerCase();if("onfocusin"===a||"onfocusout"===a)return o("React uses onFocus and onBlur instead of onFocusIn and onFocusOut. All React events are normalized to bubble, so onFocusIn and onFocusOut are not needed/supported by React."),gn[t]=!0,!0;if(null!=r){var i=r.registrationNameDependencies,l=r.possibleRegistrationNames;if(i.hasOwnProperty(t))return!0;var s=l.hasOwnProperty(a)?l[a]:null;if(null!=s)return o("Invalid event handler property `%s`. Did you mean `%s`?",t,s),gn[t]=!0,!0;if(yn.test(t))return o("Unknown event handler property `%s`. It will be ignored.",t),gn[t]=!0,!0}else if(yn.test(t))return bn.test(t)&&o("Invalid event handler property `%s`. React events use the camelCase naming convention, for example `onClick`.",t),gn[t]=!0,!0;if(wn.test(t)||Sn.test(t))return!0;if("innerhtml"===a)return o("Directly setting property `innerHTML` is not permitted. For more information, lookup documentation on `dangerouslySetInnerHTML`."),gn[t]=!0,!0;if("aria"===a)return o("The `aria` attribute is reserved for future use in React. Pass individual `aria-` attributes instead."),gn[t]=!0,!0;if("is"===a&&null!=n&&"string"!=typeof n)return o("Received a `%s` for a string attribute `is`. If this is expected, cast the value to a string.",typeof n),gn[t]=!0,!0;if("number"==typeof n&&isNaN(n))return o("Received NaN for the `%s` attribute. If this is expected, cast the value to a string.",t),gn[t]=!0,!0;var u=j(t),c=null!==u&&0===u.type;if(sn.hasOwnProperty(a)){var d=sn[a];if(d!==t)return o("Invalid DOM property `%s`. Did you mean `%s`?",t,d),gn[t]=!0,!0}else if(!c&&t!==a)return o("React does not recognize the `%s` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `%s` instead. If you accidentally passed it from a parent component, remove it from the DOM element.",t,a),gn[t]=!0,!0;return"boolean"==typeof n&&U(t,n,u,!1)?(n?o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.',n,t,t,n,t):o('Received `%s` for a non-boolean attribute `%s`.\n\nIf you want to write it to the DOM, pass a string instead: %s="%s" or %s={value.toString()}.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.',n,t,t,n,t,t,t),gn[t]=!0,!0):!!c||(U(t,n,u,!1)?(gn[t]=!0,!1):("false"!==n&&"true"!==n||null===u||3!==u.type||(o("Received the string `%s` for the boolean attribute `%s`. %s Did you mean %s={%s}?",n,t,"false"===n?"The browser will interpret it as a truthy value.":'Although this works, it will not work as expected if you pass the string "false".',t,n),gn[t]=!0),!0))};function En(e,t,n){ln(e,t)||function(e,t,n){var r=[];for(var a in t)vn(0,a,t[a],n)||r.push(a);var i=r.map((function(e){return"`"+e+"`"})).join(", ");1===r.length?o("Invalid value for prop %s on <%s> tag. Either remove it from the element, or pass a string or number value to keep it in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e):r.length>1&&o("Invalid values for props %s on <%s> tag. Either remove them from the element, or pass a string or number value to keep them in the DOM. For details, see https://reactjs.org/link/attribute-behavior ",i,e)}(e,t,n)}var _n=null;function kn(e){var t=e.target||e.srcElement||window;return t.correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var Tn=null,xn=null,Cn=null;function Dn(e){var t=Du(e);if(t){if("function"!=typeof Tn)throw new Error("setRestoreImplementation() needs to be called to handle a target for controlled events. This error is likely caused by a bug in React. Please file an issue.");var n=t.stateNode;if(n){var r=Nu(n);Tn(t.stateNode,t.type,r)}}}function Rn(e){xn?Cn?Cn.push(e):Cn=[e]:xn=e}function Nn(){if(xn){var e=xn,t=Cn;if(xn=null,Cn=null,Dn(e),t)for(var n=0;n<t.length;n++)Dn(t[n])}}var Pn=function(e,t){return e(t)},In=function(){},On=!1;function Mn(){(null!==xn||null!==Cn)&&(In(),Nn())}function An(e,t,n){if(On)return e(t,n);On=!0;try{return Pn(e,t,n)}finally{On=!1,Mn()}}function Fn(e,t){var n=e.stateNode;if(null===n)return null;var r=Nu(n);if(null===r)return null;var a=r[t];if(function(e,t,n){switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":return!(!n.disabled||(r=t,"button"!==r&&"input"!==r&&"select"!==r&&"textarea"!==r));default:return!1}var r}(t,e.type,r))return null;if(a&&"function"!=typeof a)throw new Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof a+"` type.");return a}var Ln=!1;if(T)try{var zn={};Object.defineProperty(zn,"passive",{get:function(){Ln=!0}}),window.addEventListener("test",zn,zn),window.removeEventListener("test",zn,zn)}catch(e){Ln=!1}function Hn(e,t,n,r,a,o,i,l,s){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Un=Hn;if("undefined"!=typeof window&&"function"==typeof window.dispatchEvent&&"undefined"!=typeof document&&"function"==typeof document.createEvent){var $n=document.createElement("react");Un=function(e,t,n,r,a,o,i,l,s){if("undefined"==typeof document||null===document)throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");var u=document.createEvent("Event"),c=!1,d=!0,f=window.event,p=Object.getOwnPropertyDescriptor(window,"event");function h(){$n.removeEventListener(S,g,!1),void 0!==window.event&&window.hasOwnProperty("event")&&(window.event=f)}var m,v=Array.prototype.slice.call(arguments,3);function g(){c=!0,h(),t.apply(n,v),d=!1}var y=!1,b=!1;function w(e){if(m=e.error,y=!0,null===m&&0===e.colno&&0===e.lineno&&(b=!0),e.defaultPrevented&&null!=m&&"object"==typeof m)try{m._suppressLogging=!0}catch(e){}}var S="react-"+(e||"invokeguardedcallback");if(window.addEventListener("error",w),$n.addEventListener(S,g,!1),u.initEvent(S,!1,!1),$n.dispatchEvent(u),p&&Object.defineProperty(window,"event",p),c&&d&&(y?b&&(m=new Error("A cross-origin error was thrown. React doesn't have access to the actual error object in development. See https://reactjs.org/link/crossorigin-error for more information.")):m=new Error("An error was thrown inside one of your components, but React doesn't know what it was. This is likely due to browser flakiness. React does its best to preserve the \"Pause on exceptions\" behavior of the DevTools, which requires some DEV-mode only tricks. It's possible that these don't work in your browser. Try triggering the error in production mode, or switching to a modern browser. If you suspect that this is actually an issue with React, please file an issue."),this.onError(m)),window.removeEventListener("error",w),!c)return h(),Hn.apply(this,arguments)}}var jn=Un,Vn=!1,Wn=null,Bn=!1,qn=null,Yn={onError:function(e){Vn=!0,Wn=e}};function Gn(e,t,n,r,a,o,i,l,s){Vn=!1,Wn=null,jn.apply(Yn,arguments)}function Kn(){if(Vn){var e=Wn;return Vn=!1,Wn=null,e}throw new Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.")}function Qn(e){return e._reactInternals}var Xn=16,Zn=128,Jn=256,er=512,tr=1024,nr=2048,rr=4096,ar=8192,or=16384,ir=32768,lr=65536,sr=131072,ur=1048576,cr=2097152,dr=4194304,fr=16777216,pr=33554432,hr=1028,mr=12854,vr=8772,gr=2064,yr=14680064,br=n.ReactCurrentOwner;function wr(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{var r=t;do{0!=(4098&(t=r).flags)&&(n=t.return),r=t.return}while(r)}return 3===t.tag?n:null}function Sr(e){if(e.tag===c){var t=e.memoizedState;if(null===t){var n=e.alternate;null!==n&&(t=n.memoizedState)}if(null!==t)return t.dehydrated}return null}function Er(e){return 3===e.tag?e.stateNode.containerInfo:null}function _r(e){if(wr(e)!==e)throw new Error("Unable to find node on an unmounted component.")}function kr(e){var t=e.alternate;if(!t){var n=wr(e);if(null===n)throw new Error("Unable to find node on an unmounted component.");return n!==e?null:e}for(var r=e,a=t;;){var o=r.return;if(null===o)break;var i=o.alternate;if(null===i){var l=o.return;if(null!==l){r=a=l;continue}break}if(o.child===i.child){for(var s=o.child;s;){if(s===r)return _r(o),e;if(s===a)return _r(o),t;s=s.sibling}throw new Error("Unable to find node on an unmounted component.")}if(r.return!==a.return)r=o,a=i;else{for(var u=!1,c=o.child;c;){if(c===r){u=!0,r=o,a=i;break}if(c===a){u=!0,a=o,r=i;break}c=c.sibling}if(!u){for(c=i.child;c;){if(c===r){u=!0,r=i,a=o;break}if(c===a){u=!0,a=i,r=o;break}c=c.sibling}if(!u)throw new Error("Child was not found in either parent set. This indicates a bug in React related to the return pointer. Please file an issue.")}}if(r.alternate!==a)throw new Error("Return fibers should always be each others' alternates. This error is likely caused by a bug in React. Please file an issue.")}if(3!==r.tag)throw new Error("Unable to find node on an unmounted component.");return r.stateNode.current===r?e:t}function Tr(e){var t=kr(e);return null!==t?xr(t):null}function xr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){var n=xr(t);if(null!==n)return n;t=t.sibling}return null}function Cr(e){var t=kr(e);return null!==t?Dr(t):null}function Dr(e){if(5===e.tag||6===e.tag)return e;for(var t=e.child;null!==t;){if(4!==t.tag){var n=Dr(t);if(null!==n)return n}t=t.sibling}return null}var Rr=t.unstable_scheduleCallback,Nr=t.unstable_cancelCallback,Pr=t.unstable_shouldYield,Ir=t.unstable_requestPaint,Or=t.unstable_now,Mr=t.unstable_getCurrentPriorityLevel,Ar=t.unstable_ImmediatePriority,Fr=t.unstable_UserBlockingPriority,Lr=t.unstable_NormalPriority,zr=t.unstable_LowPriority,Hr=t.unstable_IdlePriority,Ur=t.unstable_yieldValue,$r=t.unstable_setDisableYieldValue,jr=null,Vr=null,Wr=null,Br=!1,qr="undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__;function Yr(e){if("function"==typeof Ur&&($r(e),r=e),Vr&&"function"==typeof Vr.setStrictMode)try{Vr.setStrictMode(jr,e)}catch(e){Br||(Br=!0,o("React instrumentation encountered an error: %s",e))}}function Gr(e){Wr=e}function Kr(){for(var e=new Map,t=1,n=0;n<da;n++){var r=za(t);e.set(t,r),t*=2}return e}function Qr(){null!==Wr&&"function"==typeof Wr.markCommitStopped&&Wr.markCommitStopped()}function Xr(e){null!==Wr&&"function"==typeof Wr.markComponentRenderStarted&&Wr.markComponentRenderStarted(e)}function Zr(){null!==Wr&&"function"==typeof Wr.markComponentRenderStopped&&Wr.markComponentRenderStopped()}function Jr(e){null!==Wr&&"function"==typeof Wr.markComponentLayoutEffectMountStarted&&Wr.markComponentLayoutEffectMountStarted(e)}function ea(e){null!==Wr&&"function"==typeof Wr.markComponentLayoutEffectUnmountStarted&&Wr.markComponentLayoutEffectUnmountStarted(e)}function ta(){null!==Wr&&"function"==typeof Wr.markComponentLayoutEffectUnmountStopped&&Wr.markComponentLayoutEffectUnmountStopped()}function na(e,t,n){null!==Wr&&"function"==typeof Wr.markComponentErrored&&Wr.markComponentErrored(e,t,n)}function ra(e,t,n){null!==Wr&&"function"==typeof Wr.markComponentSuspended&&Wr.markComponentSuspended(e,t,n)}function aa(e){null!==Wr&&"function"==typeof Wr.markRenderStarted&&Wr.markRenderStarted(e)}function oa(){null!==Wr&&"function"==typeof Wr.markRenderStopped&&Wr.markRenderStopped()}function ia(e,t){null!==Wr&&"function"==typeof Wr.markStateUpdateScheduled&&Wr.markStateUpdateScheduled(e,t)}var la=16,sa=Math.clz32?Math.clz32:function(e){var t=e>>>0;if(0===t)return 32;return 31-(ua(t)/ca|0)|0},ua=Math.log,ca=Math.LN2;var da=31,fa=16,pa=4194240,ha=1024,ma=2048,va=4096,ga=8192,ya=16384,ba=32768,wa=65536,Sa=131072,Ea=262144,_a=524288,ka=1048576,Ta=2097152,xa=130023424,Ca=4194304,Da=8388608,Ra=16777216,Na=33554432,Pa=67108864,Ia=Ca,Oa=134217728,Ma=268435455,Aa=268435456,Fa=536870912,La=1073741824;function za(e){return 1&e?"Sync":2&e?"InputContinuousHydration":4&e?"InputContinuous":8&e?"DefaultHydration":e&fa?"Default":32&e?"TransitionHydration":e&pa?"Transition":e&xa?"Retry":e&Oa?"SelectiveHydration":e&Aa?"IdleHydration":e&Fa?"Idle":e&La?"Offscreen":void 0}var Ha=-1,Ua=64,$a=Ca;function ja(e){switch(Xa(e)){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case fa:return fa;case 32:return 32;case 64:case 128:case 256:case 512:case ha:case ma:case va:case ga:case ya:case ba:case wa:case Sa:case Ea:case _a:case ka:case Ta:return e&pa;case Ca:case Da:case Ra:case Na:case Pa:return e&xa;case Oa:return Oa;case Aa:return Aa;case Fa:return Fa;case La:return La;default:return o("Should have found matching lanes. This is a bug in React."),e}}function Va(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,a=e.suspendedLanes,o=e.pingedLanes,i=n&Ma;if(0!==i){var l=i&~a;if(0!==l)r=ja(l);else{var s=i&o;0!==s&&(r=ja(s))}}else{var u=n&~a;0!==u?r=ja(u):0!==o&&(r=ja(o))}if(0===r)return 0;if(0!==t&&t!==r&&0==(t&a)){var c=Xa(r),d=Xa(t);if(c>=d||c===fa&&0!=(d&pa))return t}0!=(4&r)&&(r|=n&fa);var f=e.entangledLanes;if(0!==f)for(var p=e.entanglements,h=r&f;h>0;){var m=Ja(h),v=1<<m;r|=p[m],h&=~v}return r}function Wa(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case fa:case 32:case 64:case 128:case 256:case 512:case ha:case ma:case va:case ga:case ya:case ba:case wa:case Sa:case Ea:case _a:case ka:case Ta:return t+5e3;case Ca:case Da:case Ra:case Na:case Pa:case Oa:case Aa:case Fa:case La:return Ha;default:return o("Should have found matching lanes. This is a bug in React."),Ha}}function Ba(e){var t=-1073741825&e.pendingLanes;return 0!==t?t:t&La?La:0}function qa(e){return 0!=(e&Ma)}function Ya(e){return(e&xa)===e}function Ga(e,t){return 0!=(30&t)}function Ka(e){return 0!=(e&pa)}function Qa(){var e=Ua;return 0==((Ua<<=1)&pa)&&(Ua=64),e}function Xa(e){return e&-e}function Za(e){return Xa(e)}function Ja(e){return 31-sa(e)}function eo(e){return Ja(e)}function to(e,t){return 0!=(e&t)}function no(e,t){return(e&t)===t}function ro(e,t){return e|t}function ao(e,t){return e&~t}function oo(e,t){return e&t}function io(e){for(var t=[],n=0;n<da;n++)t.push(e);return t}function lo(e,t,n){e.pendingLanes|=t,t!==Fa&&(e.suspendedLanes=0,e.pingedLanes=0),e.eventTimes[eo(t)]=n}function so(e,t,n){e.pingedLanes|=e.suspendedLanes&t}function uo(e,t){for(var n=e.entangledLanes|=t,r=e.entanglements,a=n;a;){var o=Ja(a),i=1<<o;i&t|r[o]&t&&(r[o]|=t),a&=~i}}function co(e,t,n){if(qr)for(var r=e.pendingUpdatersLaneMap;n>0;){var a=eo(n),o=1<<a;r[a].add(t),n&=~o}}function fo(e,t){if(qr)for(var n=e.pendingUpdatersLaneMap,r=e.memoizedUpdaters;t>0;){var a=eo(t),o=1<<a,i=n[a];i.size>0&&(i.forEach((function(e){var t=e.alternate;null!==t&&r.has(t)||r.add(e)})),i.clear()),t&=~o}}var po,ho,mo,vo,go,yo=1,bo=4,wo=fa,So=Fa,Eo=0;function _o(){return Eo}function ko(e){Eo=e}function To(e,t){return 0!==e&&e<t}function xo(e){var t=Xa(e);return To(yo,t)?To(bo,t)?qa(t)?wo:So:bo:yo}function Co(e){return e.current.memoizedState.isDehydrated}function Do(e){po(e)}var Ro=!1,No=[],Po=null,Io=null,Oo=null,Mo=new Map,Ao=new Map,Fo=[],Lo=["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"];function zo(e,t){switch(e){case"focusin":case"focusout":Po=null;break;case"dragenter":case"dragleave":Io=null;break;case"mouseover":case"mouseout":Oo=null;break;case"pointerover":case"pointerout":var n=t.pointerId;Mo.delete(n);break;case"gotpointercapture":case"lostpointercapture":var r=t.pointerId;Ao.delete(r)}}function Ho(e,t,n,r,a,o){if(null===e||e.nativeEvent!==o){var i=function(e,t,n,r,a){return{blockedOn:e,domEventName:t,eventSystemFlags:n,nativeEvent:a,targetContainers:[r]}}(t,n,r,a,o);if(null!==t){var l=Du(t);null!==l&&ho(l)}return i}e.eventSystemFlags|=r;var s=e.targetContainers;return null!==a&&-1===s.indexOf(a)&&s.push(a),e}function Uo(e){var t=Cu(e.target);if(null!==t){var n=wr(t);if(null!==n){var r=n.tag;if(r===c){var a=Sr(n);if(null!==a)return e.blockedOn=a,void go(e.priority,(function(){mo(n)}))}else if(3===r){if(Co(n.stateNode))return void(e.blockedOn=Er(n))}}}e.blockedOn=null}function $o(e){if(null!==e.blockedOn)return!1;for(var t,n=e.targetContainers;n.length>0;){var r=n[0],a=Jo(e.domEventName,e.eventSystemFlags,r,e.nativeEvent);if(null!==a){var i=Du(a);return null!==i&&ho(i),e.blockedOn=a,!1}var l=e.nativeEvent,s=new l.constructor(l.type,l);t=s,null!==_n&&o("Expected currently replaying event to be null. This error is likely caused by a bug in React. Please file an issue."),_n=t,l.target.dispatchEvent(s),null===_n&&o("Expected currently replaying event to not be null. This error is likely caused by a bug in React. Please file an issue."),_n=null,n.shift()}return!0}function jo(e,t,n){$o(e)&&n.delete(t)}function Vo(){Ro=!1,null!==Po&&$o(Po)&&(Po=null),null!==Io&&$o(Io)&&(Io=null),null!==Oo&&$o(Oo)&&(Oo=null),Mo.forEach(jo),Ao.forEach(jo)}function Wo(e,n){e.blockedOn===n&&(e.blockedOn=null,Ro||(Ro=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Vo)))}function Bo(e){if(No.length>0){Wo(No[0],e);for(var t=1;t<No.length;t++){var n=No[t];n.blockedOn===e&&(n.blockedOn=null)}}null!==Po&&Wo(Po,e),null!==Io&&Wo(Io,e),null!==Oo&&Wo(Oo,e);var r=function(t){return Wo(t,e)};Mo.forEach(r),Ao.forEach(r);for(var a=0;a<Fo.length;a++){var o=Fo[a];o.blockedOn===e&&(o.blockedOn=null)}for(;Fo.length>0;){var i=Fo[0];if(null!==i.blockedOn)break;Uo(i),null===i.blockedOn&&Fo.shift()}}var qo=n.ReactCurrentBatchConfig,Yo=!0;function Go(e){Yo=!!e}function Ko(e,t,n,r){var a=_o(),o=qo.transition;qo.transition=null;try{ko(yo),Xo(e,t,n,r)}finally{ko(a),qo.transition=o}}function Qo(e,t,n,r){var a=_o(),o=qo.transition;qo.transition=null;try{ko(bo),Xo(e,t,n,r)}finally{ko(a),qo.transition=o}}function Xo(e,t,n,r){Yo&&function(e,t,n,r){var a=Jo(e,t,n,r);if(null===a)return rs(e,t,r,Zo,n),void zo(e,r);if(function(e,t,n,r,a){switch(t){case"focusin":return Po=Ho(Po,e,t,n,r,a),!0;case"dragenter":return Io=Ho(Io,e,t,n,r,a),!0;case"mouseover":return Oo=Ho(Oo,e,t,n,r,a),!0;case"pointerover":var o=a,i=o.pointerId;return Mo.set(i,Ho(Mo.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":var l=a,s=l.pointerId;return Ao.set(s,Ho(Ao.get(s)||null,e,t,n,r,l)),!0}return!1}(a,e,t,n,r))return void r.stopPropagation();if(zo(e,r),4&t&&function(e){return Lo.indexOf(e)>-1}(e)){for(;null!==a;){var o=Du(a);null!==o&&Do(o);var i=Jo(e,t,n,r);if(null===i&&rs(e,t,r,Zo,n),i===a)break;a=i}return void(null!==a&&r.stopPropagation())}rs(e,t,r,null,n)}(e,t,n,r)}var Zo=null;function Jo(e,t,n,r){Zo=null;var a=Cu(kn(r));if(null!==a){var o=wr(a);if(null===o)a=null;else{var i=o.tag;if(i===c){var l=Sr(o);if(null!==l)return l;a=null}else if(3===i){if(Co(o.stateNode))return Er(o);a=null}else o!==a&&(a=null)}}return Zo=a,null}function ei(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 yo;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 bo;case"message":switch(Mr()){case Ar:return yo;case Fr:return bo;case Lr:case zr:return wo;case Hr:return So;default:return wo}default:return wo}}var ti=null,ni=null,ri=null;function ai(){if(ri)return ri;var e,t,n=ni,r=n.length,a=oi(),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++);var l=t>1?1-t:void 0;return ri=a.slice(e,l)}function oi(){return"value"in ti?ti.value:ti.textContent}function ii(e){var t,n=e.keyCode;return"charCode"in e?0===(t=e.charCode)&&13===n&&(t=13):t=n,10===t&&(t=13),t>=32||13===t?t:0}function li(){return!0}function si(){return!1}function ui(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)if(e.hasOwnProperty(i)){var l=e[i];this[i]=l?l(a):a[i]}var s=null!=a.defaultPrevented?a.defaultPrevented:!1===a.returnValue;return this.isDefaultPrevented=s?li:si,this.isPropagationStopped=si,this}return Se(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=li)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=li)},persist:function(){},isPersistent:li}),t}var ci,di,fi,pi={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},hi=ui(pi),mi=Se({},pi,{view:0,detail:0}),vi=ui(mi);var gi=Se({},mi,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Ri,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:(function(e){e!==fi&&(fi&&"mousemove"===e.type?(ci=e.screenX-fi.screenX,di=e.screenY-fi.screenY):(ci=0,di=0),fi=e)}(e),ci)},movementY:function(e){return"movementY"in e?e.movementY:di}}),yi=ui(gi),bi=ui(Se({},gi,{dataTransfer:0})),wi=ui(Se({},mi,{relatedTarget:0})),Si=ui(Se({},pi,{animationName:0,elapsedTime:0,pseudoElement:0})),Ei=ui(Se({},pi,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),_i=ui(Se({},pi,{data:0})),ki=_i,Ti={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xi={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"};var Ci={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Di(e){var t=this.nativeEvent;if(t.getModifierState)return t.getModifierState(e);var n=Ci[e];return!!n&&!!t[n]}function Ri(e){return Di}var Ni=ui(Se({},mi,{key:function(e){if(e.key){var t=Ti[e.key]||e.key;if("Unidentified"!==t)return t}if("keypress"===e.type){var n=ii(e);return 13===n?"Enter":String.fromCharCode(n)}return"keydown"===e.type||"keyup"===e.type?xi[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Ri,charCode:function(e){return"keypress"===e.type?ii(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?ii(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),Pi=ui(Se({},gi,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Ii=ui(Se({},mi,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Ri})),Oi=ui(Se({},pi,{propertyName:0,elapsedTime:0,pseudoElement:0})),Mi=ui(Se({},gi,{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})),Ai=[9,13,27,32],Fi=T&&"CompositionEvent"in window,Li=null;T&&"documentMode"in document&&(Li=document.documentMode);var zi=T&&"TextEvent"in window&&!Li,Hi=T&&(!Fi||Li&&Li>8&&Li<=11),Ui=String.fromCharCode(32);var $i=!1;function ji(e,t){switch(e){case"keyup":return-1!==Ai.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vi(e){var t=e.detail;return"object"==typeof t&&"data"in t?t.data:null}function Wi(e){return"ko"===e.locale}var Bi=!1;function qi(e,t,n,r,a){var o,i;if(Fi?o=function(e){switch(e){case"compositionstart":return"onCompositionStart";case"compositionend":return"onCompositionEnd";case"compositionupdate":return"onCompositionUpdate"}}(t):Bi?ji(t,r)&&(o="onCompositionEnd"):function(e,t){return"keydown"===e&&229===t.keyCode}(t,r)&&(o="onCompositionStart"),!o)return null;Hi&&!Wi(r)&&(Bi||"onCompositionStart"!==o?"onCompositionEnd"===o&&Bi&&(i=ai()):Bi=function(e){return ti=e,ni=oi(),!0}(a));var l=os(n,o);if(l.length>0){var s=new _i(o,t,null,r,a);if(e.push({event:s,listeners:l}),i)s.data=i;else{var u=Vi(r);null!==u&&(s.data=u)}}}function Yi(e,t){if(Bi){if("compositionend"===e||!Fi&&ji(e,t)){var n=ai();return ti=null,ni=null,ri=null,Bi=!1,n}return null}switch(e){case"paste":default:return null;case"keypress":if(!function(e){return(e.ctrlKey||e.altKey||e.metaKey)&&!(e.ctrlKey&&e.altKey)}(t)){if(t.char&&t.char.length>1)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Hi&&!Wi(t)?null:t.data}}function Gi(e,t,n,r,a){var o;if(!(o=zi?function(e,t){switch(e){case"compositionend":return Vi(t);case"keypress":return 32!==t.which?null:($i=!0,Ui);case"textInput":var n=t.data;return n===Ui&&$i?null:n;default:return null}}(t,r):Yi(t,r)))return null;var i=os(n,"onBeforeInput");if(i.length>0){var l=new ki("onBeforeInput","beforeinput",null,r,a);e.push({event:l,listeners:i}),l.data=o}}var Ki={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 Qi(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ki[e.type]:"textarea"===t}
38
38
  /**
39
39
  * Checks if an event is supported in the current execution environment.
40
40
  *
@@ -47,29 +47,29 @@
47
47
  * @return {boolean} True if the event is supported.
48
48
  * @internal
49
49
  * @license Modernizr 3.0.0pre (Custom Build) | MIT
50
- */function Xi(e,t,n,r){Rn(r);var o=as(t,"onChange");if(o.length>0){var a=new hi("onChange","change",null,n,r);e.push({event:a,listeners:o})}}var Zi=null,Ji=null;function el(e){Ql(e,0)}function tl(e){if(et(Ru(e)))return e}function nl(e,t){if("change"===e)return t}var rl=!1;function ol(){Zi&&(Zi.detachEvent("onpropertychange",al),Zi=null,Ji=null)}function al(e){"value"===e.propertyName&&tl(Ji)&&function(e){var t=[];Xi(t,Ji,e,_n(e)),An(el,t)}(e)}function il(e,t,n){"focusin"===e?(ol(),function(e,t){Ji=t,(Zi=e).attachEvent("onpropertychange",al)}(t,n)):"focusout"===e&&ol()}function ll(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return tl(Ji)}function sl(e,t){if("click"===e)return tl(t)}function ul(e,t){if("input"===e||"change"===e)return tl(t)}function cl(e,t,n,r,o,a,i){var l,s,u,c,d,f,p=n?Ru(n):window;if("select"===(c=(u=p).nodeName&&u.nodeName.toLowerCase())||"input"===c&&"file"===u.type?l=nl:Qi(p)?rl?l=ul:(l=ll,s=il):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(p)&&(l=sl),l){var h=l(t,n);if(h)return void Xi(e,h,r,o)}s&&s(t,p,n),"focusout"===t&&(f=(d=p)._wrapperState)&&f.controlled&&"number"===d.type&&pt(d,"number",d.value)}function dl(e,t,n,r,o,a,i){var l="mouseover"===t||"pointerover"===t,s="mouseout"===t||"pointerout"===t;if(l&&r!==kn){var u=r.relatedTarget||r.fromElement;if(u&&(Cu(u)||xu(u)))return}if(s||l){var c,d,f;if(o.window===o)c=o;else{var p=o.ownerDocument;c=p?p.defaultView||p.parentWindow:window}if(s){var h=r.relatedTarget||r.toElement;if(d=n,null!==(f=h?Cu(h):null))(f!==wr(f)||5!==f.tag&&6!==f.tag)&&(f=null)}else d=null,f=n;if(d!==f){var v=yi,m="onMouseLeave",g="onMouseEnter",y="mouse";"pointerout"!==t&&"pointerover"!==t||(v=Ii,m="onPointerLeave",g="onPointerEnter",y="pointer");var b=null==d?c:Ru(d),w=null==f?c:Ru(f),E=new v(m,y+"leave",d,r,o);E.target=b,E.relatedTarget=w;var S=null;if(Cu(o)===n){var k=new v(g,y+"enter",f,r,o);k.target=w,k.relatedTarget=b,S=k}!function(e,t,n,r,o){var a=r&&o?function(e,t){for(var n=e,r=t,o=0,a=n;a;a=is(a))o++;for(var i=0,l=r;l;l=is(l))i++;for(;o-i>0;)n=is(n),o--;for(;i-o>0;)r=is(r),i--;var s=o;for(;s--;){if(n===r||null!==r&&n===r.alternate)return n;n=is(n),r=is(r)}return null}(r,o):null;null!==r&&ls(e,t,r,a,!1);null!==o&&null!==n&&ls(e,n,o,a,!0)}(e,E,S,d,f)}}}T&&(rl=function(e){if(!T)return!1;var t="on"+e,n=t in document;if(!n){var r=document.createElement("div");r.setAttribute(t,"return;"),n="function"==typeof r[t]}return n}("input")&&(!document.documentMode||document.documentMode>9));var fl="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function pl(e,t){if(fl(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 o=0;o<n.length;o++){var a=n[o];if(!x.call(t,a)||!fl(e[a],t[a]))return!1}return!0}function hl(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function vl(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function ml(e,t){for(var n=hl(e),r=0,o=0;n;){if(3===n.nodeType){if(o=r+n.textContent.length,r<=t&&o>=t)return{node:n,offset:t-r};r=o}n=hl(vl(n))}}function gl(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var o=r.anchorNode,a=r.anchorOffset,i=r.focusNode,l=r.focusOffset;try{o.nodeType,i.nodeType}catch(e){return null}return function(e,t,n,r,o){var a=0,i=-1,l=-1,s=0,u=0,c=e,d=null;e:for(;;){for(var f=null;c!==t||0!==n&&3!==c.nodeType||(i=a+n),c!==r||0!==o&&3!==c.nodeType||(l=a+o),3===c.nodeType&&(a+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break e;if(d===t&&++s===n&&(i=a),d===r&&++u===o&&(l=a),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}if(-1===i||-1===l)return null;return{start:i,end:l}}(e,o,a,i,l)}function yl(e){return e&&3===e.nodeType}function bl(e,t){return!(!e||!t)&&(e===t||!yl(e)&&(yl(t)?bl(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function wl(e){return e&&e.ownerDocument&&bl(e.ownerDocument.documentElement,e)}function El(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}function Sl(){for(var e=window,t=tt();t instanceof e.HTMLIFrameElement;){if(!El(t))return t;t=tt((e=t.contentWindow).document)}return t}function kl(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 _l(e){var t=Sl(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&wl(n)){null!==r&&kl(n)&&function(e,t){var n=t.start,r=t.end;void 0===r&&(r=n);"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var o=r.getSelection(),a=e.textContent.length,i=Math.min(t.start,a),l=void 0===t.end?i:Math.min(t.end,a);if(!o.extend&&i>l){var s=l;l=i,i=s}var u=ml(e,i),c=ml(e,l);if(u&&c){if(1===o.rangeCount&&o.anchorNode===u.node&&o.anchorOffset===u.offset&&o.focusNode===c.node&&o.focusOffset===c.offset)return;var d=n.createRange();d.setStart(u.node,u.offset),o.removeAllRanges(),i>l?(o.addRange(d),o.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),o.addRange(d))}}}(e,t)}(n,r);for(var o=[],a=n;a=a.parentNode;)1===a.nodeType&&o.push({element:a,left:a.scrollLeft,top:a.scrollTop});"function"==typeof n.focus&&n.focus();for(var i=0;i<o.length;i++){var l=o[i];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}function Tl(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:gl(e))||{start:0,end:0}}var xl=T&&"documentMode"in document&&document.documentMode<=11;var Cl=null,Dl=null,Rl=null,Pl=!1;function Il(e,t,n){var r,o=(r=n).window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!Pl&&null!=Cl&&Cl===tt(o)){var a=function(e){if("selectionStart"in e&&kl(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(Cl);if(!Rl||!pl(Rl,a)){Rl=a;var i=as(Dl,"onSelect");if(i.length>0){var l=new hi("onSelect","select",null,t,n);e.push({event:l,listeners:i}),l.target=Cl}}}}function Ml(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Nl={animationend:Ml("Animation","AnimationEnd"),animationiteration:Ml("Animation","AnimationIteration"),animationstart:Ml("Animation","AnimationStart"),transitionend:Ml("Transition","TransitionEnd")},Ol={},Al={};function Ll(e){if(Ol[e])return Ol[e];if(!Nl[e])return e;var t=Nl[e];for(var n in t)if(t.hasOwnProperty(n)&&n in Al)return Ol[e]=t[n];return e}T&&(Al=document.createElement("div").style,"AnimationEvent"in window||(delete Nl.animationend.animation,delete Nl.animationiteration.animation,delete Nl.animationstart.animation),"TransitionEvent"in window||delete Nl.transitionend.transition);var zl=Ll("animationend"),Hl=Ll("animationiteration"),Fl=Ll("animationstart"),Ul=Ll("transitionend"),jl=new Map,Vl=["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"];function Wl(e,t){jl.set(e,t),k(t,[e])}function Bl(e,t,n,r,o,a,i){var l=jl.get(t);if(void 0!==l){var s=hi,u=t;switch(t){case"keypress":if(0===ii(r))return;case"keydown":case"keyup":s=Pi;break;case"focusin":u="focus",s=wi;break;case"focusout":u="blur",s=wi;break;case"beforeblur":case"afterblur":s=wi;break;case"click":if(2===r.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=yi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=bi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Mi;break;case zl:case Hl:case Fl:s=Ei;break;case Ul:s=Ni;break;case"scroll":s=mi;break;case"wheel":s=Oi;break;case"copy":case"cut":case"paste":s=Si;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Ii}var c=0!=(4&a),d=!c&&"scroll"===t,f=function(e,t,n,r,o,a){var i=null!==t?t+"Capture":null,l=r?i:t,s=[],u=e,c=null;for(;null!==u;){var d=u,f=d.stateNode;if(5===d.tag&&null!==f&&(c=f,null!==l)){var p=Ln(u,l);null!=p&&s.push(os(u,p,c))}if(o)break;u=u.return}return s}(n,l,r.type,c,d);if(f.length>0){var p=new s(l,u,null,r,o);e.push({event:p,listeners:f})}}}function $l(e,t,n,r,o,a,i){Bl(e,t,n,r,o,a),0==(7&a)&&(dl(e,t,n,r,o),cl(e,t,n,r,o),function(e,t,n,r,o,a,i){var l=n?Ru(n):window;switch(t){case"focusin":(Qi(l)||"true"===l.contentEditable)&&(Cl=l,Dl=n,Rl=null);break;case"focusout":Cl=null,Dl=null,Rl=null;break;case"mousedown":Pl=!0;break;case"contextmenu":case"mouseup":case"dragend":Pl=!1,Il(e,r,o);break;case"selectionchange":if(xl)break;case"keydown":case"keyup":Il(e,r,o)}}(e,t,n,r,o),function(e,t,n,r,o,a,i){qi(e,t,n,r,o),Yi(e,t,n,r,o)}(e,t,n,r,o))}!function(){for(var e=0;e<Vl.length;e++){var t=Vl[e];Wl(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}Wl(zl,"onAnimationEnd"),Wl(Hl,"onAnimationIteration"),Wl(Fl,"onAnimationStart"),Wl("dblclick","onDoubleClick"),Wl("focusin","onFocus"),Wl("focusout","onBlur"),Wl(Ul,"onTransitionEnd")}(),_("onMouseEnter",["mouseout","mouseover"]),_("onMouseLeave",["mouseout","mouseover"]),_("onPointerEnter",["pointerout","pointerover"]),_("onPointerLeave",["pointerout","pointerover"]),k("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),k("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),k("onBeforeInput",["compositionend","keypress","textInput","paste"]),k("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),k("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),k("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var ql=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Gl=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(ql));function Yl(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,i,l,s){if(Yn.apply(this,arguments),Wn){var u=Kn();$n||($n=!0,qn=u)}}(r,t,void 0,e),e.currentTarget=null}function Kl(e,t,n){var r;if(n)for(var o=t.length-1;o>=0;o--){var a=t[o],i=a.instance,l=a.currentTarget,s=a.listener;if(i!==r&&e.isPropagationStopped())return;Yl(e,s,l),r=i}else for(var u=0;u<t.length;u++){var c=t[u],d=c.instance,f=c.currentTarget,p=c.listener;if(d!==r&&e.isPropagationStopped())return;Yl(e,p,f),r=d}}function Ql(e,t){for(var n=0!=(4&t),r=0;r<e.length;r++){var o=e[r];Kl(o.event,o.listeners,n)}!function(){if($n){var e=qn;throw $n=!1,qn=null,e}}()}function Xl(e,t){Gl.has(e)||a('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=function(e){var t=e[wu];void 0===t&&(t=e[wu]=new Set);return t}(t),r=function(e,t){return e+"__"+(t?"capture":"bubble")}(e,false);n.has(r)||(ts(t,e,2,false),n.add(r))}function Zl(e,t,n){Gl.has(e)&&!t&&a('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=4),ts(n,e,r,t)}var Jl="_reactListening"+Math.random().toString(36).slice(2);function es(e){if(!e[Jl]){e[Jl]=!0,w.forEach((function(t){"selectionchange"!==t&&(Gl.has(t)||Zl(t,!1,e),Zl(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null!==t&&(t[Jl]||(t[Jl]=!0,Zl("selectionchange",!1,t)))}}function ts(e,t,n,r,o){var a=function(e,t,n){var r;switch(ei(t)){case ya:r=Ka;break;case ba:r=Qa;break;default:r=Xa}return r.bind(null,t,n,e)}(e,t,n),i=void 0;zn&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0)),r?void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{capture:!0,passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,a):void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{passive:r})}(e,t,a,i):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,a)}function ns(e,t){return e===t||8===e.nodeType&&e.parentNode===t}function rs(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)){var i=o;if(null!==r){var l=r;e:for(;;){if(null===l)return;var s=l.tag;if(3===s||4===s){var u=l.stateNode.containerInfo;if(ns(u,i))break;if(4===s)for(var c=l.return;null!==c;){var d=c.tag;if(3===d||4===d)if(ns(c.stateNode.containerInfo,i))return;c=c.return}for(;null!==u;){var f=Cu(u);if(null===f)return;var p=f.tag;if(5===p||6===p){l=a=f;continue e}u=u.parentNode}}l=l.return}}}An((function(){return function(e,t,n,r,o){var a=[];$l(a,e,r,n,_n(n),t),Ql(a,t)}(e,t,n,a)}))}function os(e,t,n){return{instance:e,listener:t,currentTarget:n}}function as(e,t){for(var n=t+"Capture",r=[],o=e;null!==o;){var a=o,i=a.stateNode;if(5===a.tag&&null!==i){var l=i,s=Ln(o,n);null!=s&&r.unshift(os(o,s,l));var u=Ln(o,t);null!=u&&r.push(os(o,u,l))}o=o.return}return r}function is(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function ls(e,t,n,r,o){for(var a=t._reactName,i=[],l=n;null!==l&&l!==r;){var s=l,u=s.alternate,c=s.stateNode,d=s.tag;if(null!==u&&u===r)break;if(5===d&&null!==c){var f=c;if(o){var p=Ln(l,a);null!=p&&i.unshift(os(l,p,f))}else if(!o){var h=Ln(l,a);null!=h&&i.push(os(l,h,f))}}l=l.return}0!==i.length&&e.push({event:t,listeners:i})}var ss,us,cs,ds,fs,ps,hs,vs=!1,ms="dangerouslySetInnerHTML",gs="suppressContentEditableWarning",ys="suppressHydrationWarning",bs="autoFocus",ws="children",Es="style";ss={dialog:!0,webview:!0},us=function(e,t){hn(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||vn||(vn=!0,"select"===e&&t.multiple?a("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):a("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),Sn(e,t,{registrationNameDependencies:E,possibleRegistrationNames:S})},ps=T&&!document.documentMode,cs=function(e,t,n){if(!vs){var r=_s(n),o=_s(t);o!==r&&(vs=!0,a("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(o),JSON.stringify(r)))}},ds=function(e){if(!vs){vs=!0;var t=[];e.forEach((function(e){t.push(e)})),a("Extra attributes from the server: %s",t)}},fs=function(e,t){!1===t?a("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):a("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},hs=function(e,t){var n=e.namespaceURI===It?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Ss=/\r\n?/g,ks=/\u0000|\uFFFD/g;function _s(e){return function(e){if(D(e))a("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",C(e)),R(e)}(e),("string"==typeof e?e:""+e).replace(Ss,"\n").replace(ks,"")}function Ts(e,t,n,r){var o=_s(t),i=_s(e);if(i!==o&&(r&&(vs||(vs=!0,a('Text content did not match. Server: "%s" Client: "%s"',i,o))),n))throw new Error("Text content does not match server-rendered HTML.")}function xs(e){return 9===e.nodeType?e:e.ownerDocument}function Cs(){}function Ds(e){e.onclick=Cs}function Rs(e,t,n,r){var o,a=ln(t,n);switch(us(t,n),t){case"dialog":Xl("cancel",e),Xl("close",e),o=n;break;case"iframe":case"object":case"embed":Xl("load",e),o=n;break;case"video":case"audio":for(var i=0;i<ql.length;i++)Xl(ql[i],e);o=n;break;case"source":Xl("error",e),o=n;break;case"img":case"image":case"link":Xl("error",e),Xl("load",e),o=n;break;case"details":Xl("toggle",e),o=n;break;case"input":st(e,n),o=lt(e,n),Xl("invalid",e);break;case"option":gt(0,n),o=n;break;case"select":Tt(e,n),o=_t(0,n),Xl("invalid",e);break;case"textarea":Dt(e,n),o=Ct(e,n),Xl("invalid",e);break;default:o=n}switch(an(t,o),function(e,t,n,r,o){for(var a in r)if(r.hasOwnProperty(a)){var i=r[a];if(a===Es)i&&Object.freeze(i),nn(t,i);else if(a===ms){var l=i?i.__html:void 0;null!=l&&zt(t,l)}else a===ws?"string"==typeof i?("textarea"!==e||""!==i)&&Ht(t,i):"number"==typeof i&&Ht(t,""+i):a===gs||a===ys||a===bs||(E.hasOwnProperty(a)?null!=i&&("function"!=typeof i&&fs(a,i),"onScroll"===a&&Xl("scroll",t)):null!=i&&Z(t,a,i,o))}}(t,e,0,o,a),t){case"input":Je(e),dt(e,n,!1);break;case"textarea":Je(e),Pt(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",Ge(Ye(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?kt(n,!!t.multiple,r,!1):null!=t.defaultValue&&kt(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof o.onClick&&Ds(e)}}function Ps(e,t,n,r,o){us(t,r);var i,l,s,u,c=null;switch(t){case"input":i=lt(e,n),l=lt(e,r),c=[];break;case"select":i=_t(0,n),l=_t(0,r),c=[];break;case"textarea":i=Ct(e,n),l=Ct(e,r),c=[];break;default:l=r,"function"!=typeof(i=n).onClick&&"function"==typeof l.onClick&&Ds(e)}an(t,l);var d=null;for(s in i)if(!l.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if(s===Es){var f=i[s];for(u in f)f.hasOwnProperty(u)&&(d||(d={}),d[u]="")}else s===ms||s===ws||s===gs||s===ys||s===bs||(E.hasOwnProperty(s)?c||(c=[]):(c=c||[]).push(s,null));for(s in l){var p=l[s],h=null!=i?i[s]:void 0;if(l.hasOwnProperty(s)&&p!==h&&(null!=p||null!=h))if(s===Es)if(p&&Object.freeze(p),h){for(u in h)!h.hasOwnProperty(u)||p&&p.hasOwnProperty(u)||(d||(d={}),d[u]="");for(u in p)p.hasOwnProperty(u)&&h[u]!==p[u]&&(d||(d={}),d[u]=p[u])}else d||(c||(c=[]),c.push(s,d)),d=p;else if(s===ms){var v=p?p.__html:void 0,m=h?h.__html:void 0;null!=v&&m!==v&&(c=c||[]).push(s,v)}else s===ws?"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(s,""+p):s===gs||s===ys||(E.hasOwnProperty(s)?(null!=p&&("function"!=typeof p&&fs(s,p),"onScroll"===s&&Xl("scroll",e)),c||h===p||(c=[])):(c=c||[]).push(s,p))}return d&&(!function(e,t){if(t){var n,r=rn(e),o=rn(t),i={};for(var l in r){var s=r[l],u=o[l];if(u&&s!==u){var c=s+","+u;if(i[c])continue;i[c]=!0,a("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(n=e[s])||"boolean"==typeof n||""===n?"Removing":"Updating",s,u)}}}}(d,l.style),(c=c||[]).push(Es,d)),c}function Is(e,t,n,r,o){"input"===n&&"radio"===o.type&&null!=o.name&&ut(e,o);ln(n,r);switch(function(e,t,n,r){for(var o=0;o<t.length;o+=2){var a=t[o],i=t[o+1];a===Es?nn(e,i):a===ms?zt(e,i):a===ws?Ht(e,i):Z(e,a,i,r)}}(e,t,0,ln(n,o)),n){case"input":ct(e,o);break;case"textarea":Rt(e,o);break;case"select":!function(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var o=t.value;null!=o?kt(n,!!t.multiple,o,!1):r!==!!t.multiple&&(null!=t.defaultValue?kt(n,!!t.multiple,t.defaultValue,!0):kt(n,!!t.multiple,t.multiple?[]:"",!1))}(e,o)}}function Ms(e,t){vs||(vs=!0,a("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Ns(e,t){vs||(vs=!0,a('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function Os(e,t,n){vs||(vs=!0,a("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function As(e,t){""!==t&&(vs||(vs=!0,a('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}var Ls,zs,Hs=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Fs=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Us=Fs.concat(["button"]),js=["dd","dt","li","option","optgroup","p","rp","rt"],Vs={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};zs=function(e,t){var n=Ee({},e||Vs),r={tag:t};return-1!==Fs.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==Us.indexOf(t)&&(n.pTagInButtonScope=null),-1!==Hs.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,"form"===t&&(n.formTag=r),"a"===t&&(n.aTagInScope=r),"button"===t&&(n.buttonTagInScope=r),"nobr"===t&&(n.nobrTagInScope=r),"p"===t&&(n.pTagInButtonScope=r),"li"===t&&(n.listItemTagAutoclosing=r),"dd"!==t&&"dt"!==t||(n.dlItemTagAutoclosing=r),n};var Ws={};Ls=function(e,t,n){var r=(n=n||Vs).current,o=r&&r.tag;null!=t&&(null!=e&&a("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===js.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,o)?null:r,l=i?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),s=i||l;if(s){var u=s.tag,c=!!i+"|"+e+"|"+u;if(!Ws[c]){Ws[c]=!0;var d=e,f="";if("#text"===e?/\S/.test(t)?d="Text nodes":(d="Whitespace text nodes",f=" Make sure you don't have any extra whitespace between tags on each line of your source code."):d="<"+e+">",i){var p="";"table"===u&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),a("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,u,f,p)}else a("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",d,u)}}};var Bs="$",$s="/$",qs="$?",Gs="$!",Ys=null,Ks=null;function Qs(e){var t;Ys=Ga,t=Sl(),Ks={focusedElem:t,selectionRange:kl(t)?Tl(t):null};return Ya(!1),null}function Xs(e,t,n,r,o){var i=r;if(Ls(e,null,i.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var l=""+t.children,s=zs(i.ancestorInfo,e);Ls(null,l,s)}var u=function(e,t,n,r){var o,i,l=xs(n),s=r;if(s===It&&(s=Nt(e)),s===It){if((o=ln(e,t))||e===e.toLowerCase()||a("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var u=l.createElement("div");u.innerHTML="<script><\/script>";var c=u.firstChild;i=u.removeChild(c)}else if("string"==typeof t.is)i=l.createElement(e,{is:t.is});else if(i=l.createElement(e),"select"===e){var d=i;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else i=l.createElementNS(s,e);return s===It&&(o||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(i)||x.call(ss,e)||(ss[e]=!0,a("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),i}(e,t,n,i.namespace);return ku(o,u),Iu(u,t),u}function Zs(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}function Js(e,t,n,r){Ls(null,e,n.ancestorInfo);var o=function(e,t){return xs(t).createTextNode(e)}(e,t);return ku(r,o),o}var eu="function"==typeof setTimeout?setTimeout:void 0,tu="function"==typeof clearTimeout?clearTimeout:void 0,nu="function"==typeof Promise?Promise:void 0,ru="function"==typeof queueMicrotask?queueMicrotask:void 0!==nu?function(e){return nu.resolve(null).then(e).catch(ou)}:eu;function ou(e){setTimeout((function(){throw e}))}function au(e){Ht(e,"")}function iu(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType){var a=o.data;if(a===$s){if(0===r)return e.removeChild(o),void $a(t);r--}else a!==Bs&&a!==qs&&a!==Gs||r++}n=o}while(n);$a(t)}function lu(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function su(e,t){var n=t.style,r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=Vt("display",r)}function uu(e,t){e.nodeValue=t}function cu(e){return e.data===qs}function du(e){return e.data===Gs}function fu(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){var n=e.data;if(n===Bs||n===Gs||n===qs)break;if(n===$s)return null}}return e}function pu(e){return fu(e.nextSibling)}function hu(e,t,n,r,o,a,i){return ku(a,e),Iu(e,n),function(e,t,n,r,o,a,i){var l,s;switch(l=ln(t,n),us(t,n),t){case"dialog":Xl("cancel",e),Xl("close",e);break;case"iframe":case"object":case"embed":Xl("load",e);break;case"video":case"audio":for(var u=0;u<ql.length;u++)Xl(ql[u],e);break;case"source":Xl("error",e);break;case"img":case"image":case"link":Xl("error",e),Xl("load",e);break;case"details":Xl("toggle",e);break;case"input":st(e,n),Xl("invalid",e);break;case"option":gt(0,n);break;case"select":Tt(e,n),Xl("invalid",e);break;case"textarea":Dt(e,n),Xl("invalid",e)}an(t,n),s=new Set;for(var c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":case"checked":case"selected":break;default:s.add(c[d].name)}var f,p=null;for(var h in n)if(n.hasOwnProperty(h)){var v=n[h];if(h===ws)"string"==typeof v?e.textContent!==v&&(!0!==n.suppressHydrationWarning&&Ts(e.textContent,v,a,i),p=[ws,v]):"number"==typeof v&&e.textContent!==""+v&&(!0!==n.suppressHydrationWarning&&Ts(e.textContent,v,a,i),p=[ws,""+v]);else if(E.hasOwnProperty(h))null!=v&&("function"!=typeof v&&fs(h,v),"onScroll"===h&&Xl("scroll",e));else if(i&&"boolean"==typeof l){var m=void 0,g=V(h);if(!0===n.suppressHydrationWarning);else if(h===gs||h===ys||"value"===h||"checked"===h||"selected"===h);else if(h===ms){var y=e.innerHTML,b=v?v.__html:void 0;if(null!=b){var w=hs(e,b);w!==y&&cs(h,y,w)}}else if(h===Es){if(s.delete(h),ps){var S=tn(v);S!==(m=e.getAttribute("style"))&&cs(h,m,S)}}else if(l)s.delete(h.toLowerCase()),v!==(m=X(e,h,v))&&cs(h,m,v);else if(!F(h,g,l)&&!j(h,v,g,l)){var k=!1;if(null!==g)s.delete(g.attributeName),m=Q(e,h,v,g);else{var _=r;if(_===It&&(_=Nt(t)),_===It)s.delete(h.toLowerCase());else{var T=(f=void 0,f=h.toLowerCase(),sn.hasOwnProperty(f)&&sn[f]||null);null!==T&&T!==h&&(k=!0,s.delete(T)),s.delete(h)}m=X(e,h,v)}v===m||k||cs(h,m,v)}}}switch(i&&s.size>0&&!0!==n.suppressHydrationWarning&&ds(s),t){case"input":Je(e),dt(e,n,!0);break;case"textarea":Je(e),Pt(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&Ds(e)}return p}(e,t,n,o.namespace,0,0!=(1&a.mode),i)}function vu(e){for(var t=e.previousSibling,n=0;t;){if(8===t.nodeType){var r=t.data;if(r===Bs||r===Gs||r===qs){if(0===n)return t;n--}else r===$s&&n++}t=t.previousSibling}return null}var mu=Math.random().toString(36).slice(2),gu="__reactFiber$"+mu,yu="__reactProps$"+mu,bu="__reactContainer$"+mu,wu="__reactEvents$"+mu,Eu="__reactListeners$"+mu,Su="__reactHandles$"+mu;function ku(e,t){t[gu]=e}function _u(e,t){t[bu]=e}function Tu(e){e[bu]=null}function xu(e){return!!e[bu]}function Cu(e){var t=e[gu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[bu]||n[gu]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var o=vu(e);null!==o;){var a=o[gu];if(a)return a;o=vu(o)}return t}n=(e=n).parentNode}return null}function Du(e){var t=e[gu]||e[bu];return t&&(5===t.tag||6===t.tag||t.tag===c||3===t.tag)?t:null}function Ru(e){if(5===e.tag||6===e.tag)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Pu(e){return e[yu]||null}function Iu(e,t){e[yu]=t}var Mu={},Nu=n.ReactDebugCurrentFrame;function Ou(e){if(e){var t=e._owner,n=Me(e.type,e._source,t?t.type:null);Nu.setExtraStackFrame(n)}else Nu.setExtraStackFrame(null)}function Au(e,t,n,r,o){var i=Function.call.bind(x);for(var l in e)if(i(e,l)){var s=void 0;try{if("function"!=typeof e[l]){var u=Error((r||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}s=e[l](t,l,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(Ou(o),a("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,l,typeof s),Ou(null)),s instanceof Error&&!(s.message in Mu)&&(Mu[s.message]=!0,Ou(o),a("Failed %s type: %s",n,s.message),Ou(null))}}var Lu,zu=[];Lu=[];var Hu,Fu=-1;function Uu(e){return{current:e}}function ju(e,t){Fu<0?a("Unexpected pop."):(t!==Lu[Fu]&&a("Unexpected Fiber popped."),e.current=zu[Fu],zu[Fu]=null,Lu[Fu]=null,Fu--)}function Vu(e,t,n){Fu++,zu[Fu]=e.current,Lu[Fu]=n,e.current=t}Hu={};var Wu={};Object.freeze(Wu);var Bu=Uu(Wu),$u=Uu(!1),qu=Wu;function Gu(e,t,n){return n&&Xu(t)?qu:Bu.current}function Yu(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function Ku(e,t){var n=e.type.contextTypes;if(!n)return Wu;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o={};for(var a in n)o[a]=t[a];return Au(n,o,"context",He(e)||"Unknown"),r&&Yu(e,t,o),o}function Qu(){return $u.current}function Xu(e){var t=e.childContextTypes;return null!=t}function Zu(e){ju($u,e),ju(Bu,e)}function Ju(e){ju($u,e),ju(Bu,e)}function ec(e,t,n){if(Bu.current!==Wu)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");Vu(Bu,t,e),Vu($u,n,e)}function tc(e,t,n){var r=e.stateNode,o=t.childContextTypes;if("function"!=typeof r.getChildContext){var i=He(e)||"Unknown";return Hu[i]||(Hu[i]=!0,a("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i)),n}var l=r.getChildContext();for(var s in l)if(!(s in o))throw new Error((He(e)||"Unknown")+'.getChildContext(): key "'+s+'" is not defined in childContextTypes.');return Au(o,l,"child context",He(e)||"Unknown"),Ee({},n,l)}function nc(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Wu;return qu=Bu.current,Vu(Bu,n,e),Vu($u,$u.current,e),!0}function rc(e,t,n){var r=e.stateNode;if(!r)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var o=tc(e,t,qu);r.__reactInternalMemoizedMergedChildContext=o,ju($u,e),ju(Bu,e),Vu(Bu,o,e),Vu($u,n,e)}else ju($u,e),Vu($u,n,e)}function oc(e){if(!function(e){return wr(e)===e}(e)||1!==e.tag)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case 3:return t.stateNode.context;case 1:if(Xu(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var ac=null,ic=!1,lc=!1;function sc(e){null===ac?ac=[e]:ac.push(e)}function uc(){ic&&cc()}function cc(){if(!lc&&null!==ac){lc=!0;var e=0,t=ka();try{var n=ac;for(_a(ya);e<n.length;e++){var r=n[e];do{r=r(true)}while(null!==r)}ac=null,ic=!1}catch(t){throw null!==ac&&(ac=ac.slice(e+1)),Rr(Ar,cc),t}finally{_a(t),lc=!1}}return null}var dc=[],fc=0,pc=null,hc=0,vc=[],mc=0,gc=null,yc=1,bc="";function wc(){var e=bc;return(yc&~function(e){return 1<<_c(e)-1}(yc)).toString(32)+e}function Ec(e,t){xc(),dc[fc++]=hc,dc[fc++]=pc,pc=e,hc=t}function Sc(e,t,n){xc(),vc[mc++]=yc,vc[mc++]=bc,vc[mc++]=gc,gc=e;var r=yc,o=bc,a=_c(r)-1,i=r&~(1<<a),l=n+1,s=_c(t)+a;if(s>30){var u=a-a%5,c=(i&(1<<u)-1).toString(32),d=i>>u,f=a-u,p=_c(t)+f;yc=1<<p|(l<<f|d),bc=c+o}else{yc=1<<s|(l<<a|i),bc=o}}function kc(e){if(xc(),null!==e.return){Ec(e,1),Sc(e,1,0)}}function _c(e){return 32-so(e)}function Tc(e){for(;e===pc;)pc=dc[--fc],dc[fc]=null,hc=dc[--fc],dc[fc]=null;for(;e===gc;)gc=vc[--mc],vc[mc]=null,bc=vc[--mc],vc[mc]=null,yc=vc[--mc],vc[mc]=null}function xc(){Zc()||a("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Cc=null,Dc=null,Rc=!1,Pc=!1,Ic=null;function Mc(){Rc&&a("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Nc(){Pc=!0}function Oc(e){var t=e.stateNode.containerInfo;return Dc=fu(t.firstChild),Cc=e,Rc=!0,Ic=null,Pc=!1,!0}function Ac(e,t,n){return Dc=fu(t.nextSibling),Cc=e,Rc=!0,Ic=null,Pc=!1,null!==n&&function(e,t){xc(),vc[mc++]=yc,vc[mc++]=bc,vc[mc++]=gc,yc=t.id,bc=t.overflow,gc=e}(e,n),!0}function Lc(e,t){switch(e.tag){case 3:!function(e,t){1===t.nodeType?Ms(e,t):8===t.nodeType||Ns(e,t)}(e.stateNode.containerInfo,t);break;case 5:var n=0!=(1&e.mode);!function(e,t,n,r,o){(o||!0!==t.suppressHydrationWarning)&&(1===r.nodeType?Ms(n,r):8===r.nodeType||Ns(n,r))}(e.type,e.memoizedProps,e.stateNode,t,n);break;case c:var r=e.memoizedState;null!==r.dehydrated&&function(e,t){var n=e.parentNode;null!==n&&(1===t.nodeType?Ms(n,t):8===t.nodeType||Ns(n,t))}(r.dehydrated,t)}}function zc(e,t){Lc(e,t);var n,r=((n=db(5,null,null,0)).elementType="DELETED",n);r.stateNode=t,r.return=e;var o=e.deletions;null===o?(e.deletions=[r],e.flags|=Xn):o.push(r)}function Hc(e,t){if(!Pc)switch(e.tag){case 3:var n=e.stateNode.containerInfo;switch(t.tag){case 5:var r=t.type;t.pendingProps,function(e,t,n){Os(e,t)}(n,r);break;case 6:!function(e,t){As(e,t)}(n,t.pendingProps)}break;case 5:e.type;var o=e.memoizedProps,a=e.stateNode;switch(t.tag){case 5:var i=t.type;t.pendingProps;!function(e,t,n,r,o,a){(a||!0!==t.suppressHydrationWarning)&&Os(n,r)}(0,o,a,i,0,0!=(1&e.mode));break;case 6:!function(e,t,n,r,o){(o||!0!==t.suppressHydrationWarning)&&As(n,r)}(0,o,a,t.pendingProps,0!=(1&e.mode))}break;case c:var l=e.memoizedState.dehydrated;if(null!==l)switch(t.tag){case 5:var s=t.type;t.pendingProps,function(e,t,n){var r=e.parentNode;null!==r&&Os(r,t)}(l,s);break;case 6:!function(e,t){var n=e.parentNode;null!==n&&As(n,t)}(l,t.pendingProps)}break;default:return}}function Fc(e,t){t.flags=-4097&t.flags|2,Hc(e,t)}function Uc(e,t){switch(e.tag){case 5:var n=e.type;e.pendingProps;var r=function(e,t,n){return 1!==e.nodeType||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n);return null!==r&&(e.stateNode=r,Cc=e,Dc=fu(r.firstChild),!0);case 6:var o=function(e,t){return""===t||3!==e.nodeType?null:e}(t,e.pendingProps);return null!==o&&(e.stateNode=o,Cc=e,Dc=null,!0);case c:var a=function(e){return 8!==e.nodeType?null:e}(t);if(null!==a){var i={dehydrated:a,treeContext:(xc(),null!==gc?{id:yc,overflow:bc}:null),retryLane:Ho};e.memoizedState=i;var l=function(e){var t=db(h,null,null,0);return t.stateNode=e,t}(a);return l.return=e,e.child=l,Cc=e,Dc=null,!0}return!1;default:return!1}}function jc(e){return 0!=(1&e.mode)&&0==(e.flags&Zn)}function Vc(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Wc(e){if(Rc){var t=Dc;if(!t)return jc(e)&&(Hc(Cc,e),Vc()),Fc(Cc,e),Rc=!1,void(Cc=e);var n=t;if(!Uc(e,t)){jc(e)&&(Hc(Cc,e),Vc()),t=pu(n);var r=Cc;if(!t||!Uc(e,t))return Fc(Cc,e),Rc=!1,void(Cc=e);zc(r,n)}}}function Bc(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n,r){return ku(n,e),n.mode,function(e,t,n){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var o=Cc;if(null!==o)switch(o.tag){case 3:o.stateNode.containerInfo;!function(e,t,n,r){Ts(t.nodeValue,n,r,!0)}(0,t,n,0!=(1&o.mode));break;case 5:o.type;var a=o.memoizedProps;o.stateNode;!function(e,t,n,r,o,a){!0!==t.suppressHydrationWarning&&Ts(r.nodeValue,o,a,!0)}(0,a,0,t,n,0!=(1&o.mode))}}return r}function $c(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");!function(e,t){ku(t,e)}(n,e)}function qc(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(8===t.nodeType){var r=t.data;if(r===$s){if(0===n)return pu(t);n--}else r!==Bs&&r!==Gs&&r!==qs||n++}t=t.nextSibling}return null}(n)}function Gc(e){for(var t=e.return;null!==t&&5!==t.tag&&3!==t.tag&&t.tag!==c;)t=t.return;Cc=t}function Yc(e){if(e!==Cc)return!1;if(!Rc)return Gc(e),Rc=!0,!1;if(3!==e.tag&&(5!==e.tag||"head"!==(n=e.type)&&"body"!==n&&!Zs(e.type,e.memoizedProps))){var t=Dc;if(t)if(jc(e))Kc(e),Vc();else for(;t;)zc(e,t),t=pu(t)}var n;return Gc(e),Dc=e.tag===c?qc(e):Cc?pu(e.stateNode):null,!0}function Kc(e){for(var t=Dc;t;)Lc(e,t),t=pu(t)}function Qc(){Cc=null,Dc=null,Rc=!1,Pc=!1}function Xc(){null!==Ic&&(ly(Ic),Ic=null)}function Zc(){return Rc}function Jc(e){null===Ic?Ic=[e]:Ic.push(e)}var ed=n.ReactCurrentBatchConfig;var td={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},nd=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t.sort().join(", ")},rd=[],od=[],ad=[],id=[],ld=[],sd=[],ud=new Set;td.recordUnsafeLifecycleWarnings=function(e,t){ud.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&rd.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillMount&&od.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&ad.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&id.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&ld.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillUpdate&&sd.push(e))},td.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;rd.length>0&&(rd.forEach((function(t){e.add(He(t)||"Component"),ud.add(t.type)})),rd=[]);var t=new Set;od.length>0&&(od.forEach((function(e){t.add(He(e)||"Component"),ud.add(e.type)})),od=[]);var n=new Set;ad.length>0&&(ad.forEach((function(e){n.add(He(e)||"Component"),ud.add(e.type)})),ad=[]);var r=new Set;id.length>0&&(id.forEach((function(e){r.add(He(e)||"Component"),ud.add(e.type)})),id=[]);var i=new Set;ld.length>0&&(ld.forEach((function(e){i.add(He(e)||"Component"),ud.add(e.type)})),ld=[]);var l=new Set;(sd.length>0&&(sd.forEach((function(e){l.add(He(e)||"Component"),ud.add(e.type)})),sd=[]),t.size>0)&&a("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",nd(t));r.size>0&&a("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s",nd(r));l.size>0&&a("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",nd(l));e.size>0&&o("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",nd(e));n.size>0&&o("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",nd(n));i.size>0&&o("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",nd(i))};var cd=new Map,dd=new Set;function fd(e,t){if(e&&e.defaultProps){var n=Ee({},t),r=e.defaultProps;for(var o in r)void 0===n[o]&&(n[o]=r[o]);return n}return t}td.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)8&n.mode&&(t=n),n=n.return;return t}(e);if(null!==n){if(!dd.has(e.type)){var r=cd.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],cd.set(n,r)),r.push(e))}}else a("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},td.flushLegacyContextWarning=function(){cd.forEach((function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach((function(e){r.add(He(e)||"Component"),dd.add(e.type)}));var o=nd(r);try{$e(n),a("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",o)}finally{Be()}}}))},td.discardPendingWarnings=function(){rd=[],od=[],ad=[],id=[],ld=[],sd=[],cd=new Map};var pd,hd=Uu(null);pd={};var vd=null,md=null,gd=null,yd=!1;function bd(){vd=null,md=null,gd=null,yd=!1}function wd(){yd=!0}function Ed(){yd=!1}function Sd(e,t,n){Vu(hd,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==pd&&a("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=pd}function kd(e,t){var n=hd.current;ju(hd,t),e._currentValue=n}function _d(e,t,n){for(var r=e;null!==r;){var o=r.alternate;if(ra(r.childLanes,t)?null===o||ra(o.childLanes,t)||(o.childLanes=oa(o.childLanes,t)):(r.childLanes=oa(r.childLanes,t),null!==o&&(o.childLanes=oa(o.childLanes,t))),r===n)break;r=r.return}r!==n&&a("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Td(e,t,n){!function(e,t,n){var r=e.child;null!==r&&(r.return=e);for(;null!==r;){var o=void 0,a=r.dependencies;if(null!==a){o=r.child;for(var i=a.firstContext;null!==i;){if(i.context===t){if(1===r.tag){var s=Jo(n),u=jd(Uo,s);u.tag=zd;var c=r.updateQueue;if(null===c);else{var d=c.shared,f=d.pending;null===f?u.next=u:(u.next=f.next,f.next=u),d.pending=u}}r.lanes=oa(r.lanes,n);var p=r.alternate;null!==p&&(p.lanes=oa(p.lanes,n)),_d(r.return,n,e),a.lanes=oa(a.lanes,n);break}i=i.next}}else if(r.tag===l)o=r.type===e.type?null:r.child;else if(r.tag===h){var v=r.return;if(null===v)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");v.lanes=oa(v.lanes,n);var m=v.alternate;null!==m&&(m.lanes=oa(m.lanes,n)),_d(v,n,e),o=r.sibling}else o=r.child;if(null!==o)o.return=r;else for(o=r;null!==o;){if(o===e){o=null;break}var g=o.sibling;if(null!==g){g.return=o.return,o=g;break}o=o.return}r=o}}(e,t,n)}function xd(e,t){vd=e,md=null,gd=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(na(n.lanes,t)&&Gv(),n.firstContext=null))}function Cd(e){yd&&a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(gd===e);else{var n={context:e,memoizedValue:t,next:null};if(null===md){if(null===vd)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");md=n,vd.dependencies={lanes:0,firstContext:n}}else md=md.next=n}return t}var Dd=null;function Rd(e){null===Dd?Dd=[e]:Dd.push(e)}function Pd(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Rd(t)):(n.next=o.next,o.next=n),t.interleaved=n,Od(e,r)}function Id(e,t,n,r){var o=t.interleaved;null===o?(n.next=n,Rd(t)):(n.next=o.next,o.next=n),t.interleaved=n}function Md(e,t){return Od(e,t)}var Nd=Od;function Od(e,t){e.lanes=oa(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=oa(n.lanes,t)),null===n&&0!=(4098&e.flags)&&Uy(e);for(var r=e,o=e.return;null!==o;)o.childLanes=oa(o.childLanes,t),null!==(n=o.alternate)?n.childLanes=oa(n.childLanes,t):0!=(4098&o.flags)&&Uy(e),r=o,o=o.return;return 3===r.tag?r.stateNode:null}var Ad,Ld,zd=2,Hd=!1;function Fd(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null};e.updateQueue=t}function Ud(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var o={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects};t.updateQueue=o}}function jd(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Vd(e,t,n){var r=e.updateQueue;if(null===r)return null;var o=r.shared;if(Ld!==o||Ad||(a("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Ad=!0),0!=(2&yg)){var i=o.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),o.pending=t,Nd(e,n)}return function(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Rd(t)):(n.next=o.next,o.next=n),t.interleaved=n,Od(e,r)}(e,o,t,n)}function Wd(e,t,n){var r=t.updateQueue;if(null!==r){var o=r.shared;if(Qo(n)){var a=o.lanes,i=oa(a=ia(a,e.pendingLanes),n);o.lanes=i,ca(e,i)}}}function Bd(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r){var o=r.updateQueue;if(n===o){var a=null,i=null,l=n.firstBaseUpdate;if(null!==l){var s=l;do{var u={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};null===i?a=i=u:(i.next=u,i=u),s=s.next}while(null!==s);null===i?a=i=t:(i.next=t,i=t)}else a=i=t;return n={baseState:o.baseState,firstBaseUpdate:a,lastBaseUpdate:i,shared:o.shared,effects:o.effects},void(e.updateQueue=n)}}var c=n.lastBaseUpdate;null===c?n.firstBaseUpdate=t:c.next=t,n.lastBaseUpdate=t}function $d(e,t,n,r,o,a){switch(n.tag){case 1:var i=n.payload;if("function"==typeof i){wd();var l=i.call(a,r,o);if(8&e.mode){Gr(!0);try{i.call(a,r,o)}finally{Gr(!1)}}return Ed(),l}return i;case 3:e.flags=-65537&e.flags|Zn;case 0:var s,u=n.payload;if("function"==typeof u){if(wd(),s=u.call(a,r,o),8&e.mode){Gr(!0);try{u.call(a,r,o)}finally{Gr(!1)}}Ed()}else s=u;return null==s?r:Ee({},r,s);case zd:return Hd=!0,r}return r}function qd(e,t,n,r){var o=e.updateQueue;Hd=!1,Ld=o.shared;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?a=u:i.next=u,i=s;var c=e.alternate;if(null!==c){var d=c.updateQueue,f=d.lastBaseUpdate;f!==i&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=s)}}if(null!==a){for(var p=o.baseState,h=0,v=null,m=null,g=null,y=a;;){var b=y.lane,w=y.eventTime;if(ra(r,b)){if(null!==g){var E={eventTime:w,lane:0,tag:y.tag,payload:y.payload,callback:y.callback,next:null};g=g.next=E}if(p=$d(e,0,y,p,t,n),null!==y.callback&&0!==y.lane){e.flags|=64;var S=o.effects;null===S?o.effects=[y]:S.push(y)}}else{var k={eventTime:w,lane:b,tag:y.tag,payload:y.payload,callback:y.callback,next:null};null===g?(m=g=k,v=p):g=g.next=k,h=oa(h,b)}if(null===(y=y.next)){if(null===(l=o.shared.pending))break;var _=l,T=_.next;_.next=null,y=T,o.lastBaseUpdate=_,o.shared.pending=null}}null===g&&(v=p),o.baseState=v,o.firstBaseUpdate=m,o.lastBaseUpdate=g;var x=o.shared.interleaved;if(null!==x){var C=x;do{h=oa(h,C.lane),C=C.next}while(C!==x)}else null===a&&(o.shared.lanes=0);by(h),e.lanes=h,e.memoizedState=p}Ld=null}function Gd(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Yd(){Hd=!1}function Kd(){return Hd}function Qd(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.callback;null!==i&&(a.callback=null,Gd(i,n))}}Ad=!1,Ld=null;var Xd,Zd,Jd,ef,tf,nf,rf,of,af,lf,sf={},uf=(new e.Component).refs;Xd=new Set,Zd=new Set,Jd=new Set,ef=new Set,of=new Set,tf=new Set,af=new Set,lf=new Set;var cf=new Set;function df(e,t,n,r){var o=e.memoizedState,a=n(r,o);if(8&e.mode){Gr(!0);try{a=n(r,o)}finally{Gr(!1)}}nf(t,a);var i=null==a?o:Ee({},o,a);(e.memoizedState=i,0===e.lanes)&&(e.updateQueue.baseState=i)}rf=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;cf.has(n)||(cf.add(n),a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},nf=function(e,t){if(void 0===t){var n=Le(e)||"Component";tf.has(n)||(tf.add(n),a("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(sf,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(sf);var ff,pf,hf,vf,mf,gf={isMounted:function(e){var t=br.current;if(null!==t&&1===t.tag){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||a("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",He(n)||"A component"),r._warnedAboutRefsInRender=!0}var o=Qn(e);return!!o&&wr(o)===o},enqueueSetState:function(e,t,n){var r=Qn(e),o=ey(),a=ty(r),i=jd(o,a);i.payload=t,null!=n&&(rf(n,"setState"),i.callback=n);var l=Vd(r,i,a);null!==l&&(ry(l,r,a,o),Wd(l,r,a)),io(r,a)},enqueueReplaceState:function(e,t,n){var r=Qn(e),o=ey(),a=ty(r),i=jd(o,a);i.tag=1,i.payload=t,null!=n&&(rf(n,"replaceState"),i.callback=n);var l=Vd(r,i,a);null!==l&&(ry(l,r,a,o),Wd(l,r,a)),io(r,a)},enqueueForceUpdate:function(e,t){var n=Qn(e),r=ey(),o=ty(n),a=jd(r,o);a.tag=zd,null!=t&&(rf(t,"forceUpdate"),a.callback=t);var i=Vd(n,a,o);null!==i&&(ry(i,n,o,r),Wd(i,n,o)),function(e,t){null!==Br&&"function"==typeof Br.markForceUpdateScheduled&&Br.markForceUpdateScheduled(e,t)}(n,o)}};function yf(e,t,n,r,o,i,l){var s=e.stateNode;if("function"==typeof s.shouldComponentUpdate){var u=s.shouldComponentUpdate(r,i,l);if(8&e.mode){Gr(!0);try{u=s.shouldComponentUpdate(r,i,l)}finally{Gr(!1)}}return void 0===u&&a("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Le(t)||"Component"),u}return!t.prototype||!t.prototype.isPureReactComponent||(!pl(n,r)||!pl(o,i))}function bf(e,t){var n;t.updater=gf,e.stateNode=t,n=e,t._reactInternals=n,t._reactInternalInstance=sf}function wf(e,t,n){var r=!1,o=Wu,i=Wu,l=t.contextType;if("contextType"in t&&(!(null===l||void 0!==l&&l.$$typeof===ae&&void 0===l._context)&&!lf.has(t))){lf.add(t);var s="";s=void 0===l?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof l?" However, it is set to a "+typeof l+".":l.$$typeof===oe?" Did you accidentally pass the Context.Provider instead?":void 0!==l._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",a("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Le(t)||"Component",s)}if("object"==typeof l&&null!==l)i=Cd(l);else{o=Gu(0,t,!0);var u=t.contextTypes;i=(r=null!=u)?Ku(e,o):Wu}var c=new t(n,i);if(8&e.mode){Gr(!0);try{c=new t(n,i)}finally{Gr(!1)}}var d=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if(bf(e,c),"function"==typeof t.getDerivedStateFromProps&&null===d){var f=Le(t)||"Component";Zd.has(f)||(Zd.add(f),a("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",f,null===c.state?"null":"undefined",f))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof c.getSnapshotBeforeUpdate){var p=null,h=null,v=null;if("function"==typeof c.componentWillMount&&!0!==c.componentWillMount.__suppressDeprecationWarning?p="componentWillMount":"function"==typeof c.UNSAFE_componentWillMount&&(p="UNSAFE_componentWillMount"),"function"==typeof c.componentWillReceiveProps&&!0!==c.componentWillReceiveProps.__suppressDeprecationWarning?h="componentWillReceiveProps":"function"==typeof c.UNSAFE_componentWillReceiveProps&&(h="UNSAFE_componentWillReceiveProps"),"function"==typeof c.componentWillUpdate&&!0!==c.componentWillUpdate.__suppressDeprecationWarning?v="componentWillUpdate":"function"==typeof c.UNSAFE_componentWillUpdate&&(v="UNSAFE_componentWillUpdate"),null!==p||null!==h||null!==v){var m=Le(t)||"Component",g="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ef.has(m)||(ef.add(m),a("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles",m,g,null!==p?"\n "+p:"",null!==h?"\n "+h:"",null!==v?"\n "+v:""))}}return r&&Yu(e,o,i),c}function Ef(e,t,n,r){var o=t.state;if("function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==o){var i=He(e)||"Component";Xd.has(i)||(Xd.add(i),a("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i)),gf.enqueueReplaceState(t,t.state,null)}}function Sf(e,t,n,r){!function(e,t,n){var r=e.stateNode,o=Le(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?a("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",o):a("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",o)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||a("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",o),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&a("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",o),r.propTypes&&a("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",o),r.contextType&&a("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",o),r.contextTypes&&a("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",o),t.contextType&&t.contextTypes&&!af.has(t)&&(af.add(t),a("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",o)),"function"==typeof r.componentShouldUpdate&&a("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",o),t.prototype&&t.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&a("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Le(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&a("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",o),"function"==typeof r.componentDidReceiveProps&&a("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",o),"function"==typeof r.componentWillRecieveProps&&a("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",o),"function"==typeof r.UNSAFE_componentWillRecieveProps&&a("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",o);var i=r.props!==n;void 0!==r.props&&i&&a("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",o,o),r.defaultProps&&a("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",o,o),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||Jd.has(t)||(Jd.add(t),a("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Le(t))),"function"==typeof r.getDerivedStateFromProps&&a("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof r.getDerivedStateFromError&&a("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",o),"function"==typeof t.getSnapshotBeforeUpdate&&a("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",o);var l=r.state;l&&("object"!=typeof l||wt(l))&&a("%s.state: must be set to an object or null",o),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&a("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",o)}(e,t,n);var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=uf,Fd(e);var i=t.contextType;if("object"==typeof i&&null!==i)o.context=Cd(i);else{var l=Gu(0,t,!0);o.context=Ku(e,l)}if(o.state===n){var s=Le(t)||"Component";of.has(s)||(of.add(s),a("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",s))}8&e.mode&&td.recordLegacyContextWarning(e,o),td.recordUnsafeLifecycleWarnings(e,o),o.state=e.memoizedState;var u=t.getDerivedStateFromProps;if("function"==typeof u&&(df(e,t,u,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(!function(e,t){var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),n!==t.state&&(a("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",He(e)||"Component"),gf.enqueueReplaceState(t,t.state,null))}(e,o),qd(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount){var c=4;c|=dr,0!=(e.mode&lo)&&(c|=fr),e.flags|=c}}var kf;function _f(e,t,n){var r=n.ref;if(null!==r&&"function"!=typeof r&&"object"!=typeof r){if(8&e.mode&&(!n._owner||!n._self||n._owner.stateNode===n._self)){var o=He(e)||"Component";hf[o]||(a('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',r),hf[o]=!0)}if(n._owner){var i,l=n._owner;if(l){var s=l;if(1!==s.tag)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");i=s.stateNode}if(!i)throw new Error("Missing owner for string ref "+r+". This error is likely caused by a bug in React. Please file an issue.");var u=i;!function(e,t){if(D(e))a("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(e)}(r,"ref");var c=""+r;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===c)return t.ref;var d=function(e){var t=u.refs;t===uf&&(t=u.refs={}),null===e?delete t[c]:t[c]=e};return d._stringRef=c,d}if("string"!=typeof r)throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+r+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.")}return r}function Tf(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function xf(e){var t=He(e)||"Component";mf[t]||(mf[t]=!0,a("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function Cf(e){var t=e._payload;return(0,e._init)(t)}function Df(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=Xn):r.push(n)}}function n(n,r){if(!e)return null;for(var o=r;null!==o;)t(n,o),o=o.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function o(e,t){var n=pb(e,t);return n.index=0,n.sibling=null,n}function i(t,n,r){if(t.index=r,!e)return t.flags|=ur,n;var o=t.alternate;if(null!==o){var a=o.index;return a<n?(t.flags|=2,n):a}return t.flags|=2,n}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){if(null===t||6!==t.tag){var a=bb(n,e.mode,r);return a.return=e,a}var i=o(t,n);return i.return=e,i}function u(e,t,n,r){var a=n.type;if(a===te)return d(e,t,n.props.children,r,n.key);if(null!==t&&(t.elementType===a||tb(t,n)||"object"==typeof a&&null!==a&&a.$$typeof===ce&&Cf(a)===t.type)){var i=o(t,n.props);return i.ref=_f(e,t,n),i.return=e,i._debugSource=n._source,i._debugOwner=n._owner,i}var l=mb(n,e.mode,r);return l.ref=_f(e,t,n),l.return=e,l}function c(e,t,n,r){if(null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var a=wb(n,e.mode,r);return a.return=e,a}var i=o(t,n.children||[]);return i.return=e,i}function d(e,t,n,r,a){if(null===t||7!==t.tag){var i=gb(n,e.mode,r,a);return i.return=e,i}var l=o(t,n);return l.return=e,l}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t){var r=bb(""+t,e.mode,n);return r.return=e,r}if("object"==typeof t&&null!==t){switch(t.$$typeof){case J:var o=mb(t,e.mode,n);return o.ref=_f(e,null,t),o.return=e,o;case ee:var a=wb(t,e.mode,n);return a.return=e,a;case ce:var i=t._payload;return f(e,(0,t._init)(i),n)}if(wt(t)||pe(t)){var l=gb(t,e.mode,n,null);return l.return=e,l}Tf(0,t)}return"function"==typeof t&&xf(e),null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case J:return n.key===o?u(e,t,n,r):null;case ee:return n.key===o?c(e,t,n,r):null;case ce:var a=n._payload;return p(e,t,(0,n._init)(a),r)}if(wt(n)||pe(n))return null!==o?null:d(e,t,n,r,null);Tf(0,n)}return"function"==typeof n&&xf(e),null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case J:return u(t,e.get(null===r.key?n:r.key)||null,r,o);case ee:return c(t,e.get(null===r.key?n:r.key)||null,r,o);case ce:var a=r._payload;return h(e,t,n,(0,r._init)(a),o)}if(wt(r)||pe(r))return d(t,e.get(n)||null,r,o,null);Tf(0,r)}return"function"==typeof r&&xf(t),null}function v(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case J:case ee:kf(e,n);var r=e.key;if("string"!=typeof r)break;if(null===t){(t=new Set).add(r);break}if(!t.has(r)){t.add(r);break}a("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",r);break;case ce:var o=e._payload;v((0,e._init)(o),t,n)}return t}return function s(u,c,d,m){if("object"==typeof d&&null!==d&&d.type===te&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case J:return l(function(e,r,a,i){for(var l=a.key,s=r;null!==s;){if(s.key===l){var u=a.type;if(u===te){if(7===s.tag){n(e,s.sibling);var c=o(s,a.props.children);return c.return=e,c._debugSource=a._source,c._debugOwner=a._owner,c}}else if(s.elementType===u||tb(s,a)||"object"==typeof u&&null!==u&&u.$$typeof===ce&&Cf(u)===s.type){n(e,s.sibling);var d=o(s,a.props);return d.ref=_f(e,s,a),d.return=e,d._debugSource=a._source,d._debugOwner=a._owner,d}n(e,s);break}t(e,s),s=s.sibling}if(a.type===te){var f=gb(a.props.children,e.mode,i,a.key);return f.return=e,f}var p=mb(a,e.mode,i);return p.ref=_f(e,r,a),p.return=e,p}(u,c,d,m));case ee:return l(function(e,r,a,i){for(var l=a.key,s=r;null!==s;){if(s.key===l){if(4===s.tag&&s.stateNode.containerInfo===a.containerInfo&&s.stateNode.implementation===a.implementation){n(e,s.sibling);var u=o(s,a.children||[]);return u.return=e,u}n(e,s);break}t(e,s),s=s.sibling}var c=wb(a,e.mode,i);return c.return=e,c}(u,c,d,m));case ce:var g=d._payload;return s(u,c,(0,d._init)(g),m)}if(wt(d))return function(o,a,l,s){for(var u=null,c=0;c<l.length;c++)u=v(l[c],u,o);for(var d=null,m=null,g=a,y=0,b=0,w=null;null!==g&&b<l.length;b++){g.index>b?(w=g,g=null):w=g.sibling;var E=p(o,g,l[b],s);if(null===E){null===g&&(g=w);break}e&&g&&null===E.alternate&&t(o,g),y=i(E,y,b),null===m?d=E:m.sibling=E,m=E,g=w}if(b===l.length)return n(o,g),Zc()&&Ec(o,b),d;if(null===g){for(;b<l.length;b++){var S=f(o,l[b],s);null!==S&&(y=i(S,y,b),null===m?d=S:m.sibling=S,m=S)}return Zc()&&Ec(o,b),d}for(var k=r(0,g);b<l.length;b++){var _=h(k,o,b,l[b],s);null!==_&&(e&&null!==_.alternate&&k.delete(null===_.key?b:_.key),y=i(_,y,b),null===m?d=_:m.sibling=_,m=_)}return e&&k.forEach((function(e){return t(o,e)})),Zc()&&Ec(o,b),d}(u,c,d,m);if(pe(d))return function(o,l,s,u){var c=pe(s);if("function"!=typeof c)throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===s[Symbol.toStringTag]&&(pf||a("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),pf=!0),s.entries===c&&(ff||a("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ff=!0);var d=c.call(s);if(d)for(var m=null,g=d.next();!g.done;g=d.next())m=v(g.value,m,o);var y=c.call(s);if(null==y)throw new Error("An iterable object provided no iterator.");for(var b=null,w=null,E=l,S=0,k=0,_=null,T=y.next();null!==E&&!T.done;k++,T=y.next()){E.index>k?(_=E,E=null):_=E.sibling;var x=p(o,E,T.value,u);if(null===x){null===E&&(E=_);break}e&&E&&null===x.alternate&&t(o,E),S=i(x,S,k),null===w?b=x:w.sibling=x,w=x,E=_}if(T.done)return n(o,E),Zc()&&Ec(o,k),b;if(null===E){for(;!T.done;k++,T=y.next()){var C=f(o,T.value,u);null!==C&&(S=i(C,S,k),null===w?b=C:w.sibling=C,w=C)}return Zc()&&Ec(o,k),b}for(var D=r(0,E);!T.done;k++,T=y.next()){var R=h(D,o,k,T.value,u);null!==R&&(e&&null!==R.alternate&&D.delete(null===R.key?k:R.key),S=i(R,S,k),null===w?b=R:w.sibling=R,w=R)}return e&&D.forEach((function(e){return t(o,e)})),Zc()&&Ec(o,k),b}(u,c,d,m);Tf(0,d)}return"string"==typeof d&&""!==d||"number"==typeof d?l(function(e,t,r,a){if(null!==t&&6===t.tag){n(e,t.sibling);var i=o(t,r);return i.return=e,i}n(e,t);var l=bb(r,e.mode,a);return l.return=e,l}(u,c,""+d,m)):("function"==typeof d&&xf(u),n(u,c))}}ff=!1,pf=!1,hf={},vf={},mf={},kf=function(e,t){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=He(t)||"Component";vf[n]||(vf[n]=!0,a('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var Rf=Df(!0),Pf=Df(!1);function If(e,t){for(var n=e.child;null!==n;)hb(n,t),n=n.sibling}var Mf={},Nf=Uu(Mf),Of=Uu(Mf),Af=Uu(Mf);function Lf(e){if(e===Mf)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function zf(){return Lf(Af.current)}function Hf(e,t){Vu(Af,t,e),Vu(Of,e,e),Vu(Nf,Mf,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case 9:case 11:t=9===r?"#document":"#fragment";var o=e.documentElement;n=o?o.namespaceURI:Ot(null,"");break;default:var a=8===r?e.parentNode:e;n=Ot(a.namespaceURI||null,t=a.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:zs(null,i)}}(t);ju(Nf,e),Vu(Nf,n,e)}function Ff(e){ju(Nf,e),ju(Of,e),ju(Af,e)}function Uf(){return Lf(Nf.current)}function jf(e){Lf(Af.current);var t,n,r,o=Lf(Nf.current),a=(t=o,n=e.type,{namespace:Ot((r=t).namespace,n),ancestorInfo:zs(r.ancestorInfo,n)});o!==a&&(Vu(Of,e,e),Vu(Nf,a,e))}function Vf(e){Of.current===e&&(ju(Nf,e),ju(Of,e))}var Wf=Uu(0);function Bf(e,t){return 0!=(e&t)}function $f(e){return 1&e}function qf(e,t){return 1&e|t}function Gf(e,t){Vu(Wf,t,e)}function Yf(e){ju(Wf,e)}function Kf(e,t){var n=e.memoizedState;return null!==n?null!==n.dehydrated:(e.memoizedProps,!0)}function Qf(e){for(var t=e;null!==t;){if(t.tag===c){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||cu(r)||du(r))return t}}else if(t.tag===v&&void 0!==t.memoizedProps.revealOrder){if(0!=(t.flags&Zn))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;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 Xf=[];function Zf(){for(var e=0;e<Xf.length;e++){Xf[e]._workInProgressVersionPrimary=null}Xf.length=0}function Jf(e,t){var n=(0,t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)}var ep,tp,np=n.ReactCurrentDispatcher,rp=n.ReactCurrentBatchConfig;ep=new Set;var op=0,ap=null,ip=null,lp=null,sp=!1,up=!1,cp=0,dp=0,fp=null,pp=null,hp=-1,vp=!1;function mp(){var e=fp;null===pp?pp=[e]:pp.push(e)}function gp(){var e=fp;null!==pp&&(hp++,pp[hp]!==e&&function(e){var t=He(ap);if(!ep.has(t)&&(ep.add(t),null!==pp)){for(var n="",r=30,o=0;o<=hp;o++){for(var i=pp[o],l=o===hp?e:i,s=o+1+". "+i;s.length<r;)s+=" ";n+=s+=l+"\n"}a("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e))}function yp(e){null==e||wt(e)||a("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",fp,typeof e)}function bp(){throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.")}function wp(e,t){if(vp)return!1;if(null===t)return a("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",fp),!1;e.length!==t.length&&a("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",fp,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!fl(e[n],t[n]))return!1;return!0}function Ep(e,t,n,r,o,i){op=i,ap=t,pp=null!==e?e._debugHookTypes:null,hp=-1,vp=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=0,null!==e&&null!==e.memoizedState?np.current=Ch:np.current=null!==pp?xh:Th;var l=n(r,o);if(up){var s=0;do{if(up=!1,cp=0,s>=25)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");s+=1,vp=!1,ip=null,lp=null,t.updateQueue=null,hp=-1,np.current=Dh,l=n(r,o)}while(up)}np.current=_h,t._debugHookTypes=pp;var u=null!==ip&&null!==ip.next;if(op=0,ap=null,ip=null,lp=null,fp=null,pp=null,hp=-1,null!==e&&(e.flags&yr)!=(t.flags&yr)&&0!=(1&e.mode)&&a("Internal React error: Expected static flag was missing. Please notify the React team."),sp=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return l}function Sp(){var e=0!==cp;return cp=0,e}function kp(e,t,n){t.updateQueue=e.updateQueue,0!=(t.mode&lo)?t.flags&=-50333701:t.flags&=-2053,e.lanes=aa(e.lanes,n)}function _p(){if(np.current=_h,sp){for(var e=ap.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}sp=!1}op=0,ap=null,ip=null,lp=null,pp=null,hp=-1,fp=null,vh=!1,up=!1,cp=0}function Tp(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===lp?ap.memoizedState=lp=e:lp=lp.next=e,lp}function xp(){var e,t;if(null===ip){var n=ap.alternate;e=null!==n?n.memoizedState:null}else e=ip.next;if(null!==(t=null===lp?ap.memoizedState:lp.next))t=(lp=t).next,ip=e;else{if(null===e)throw new Error("Rendered more hooks than during the previous render.");var r={memoizedState:(ip=e).memoizedState,baseState:ip.baseState,baseQueue:ip.baseQueue,queue:ip.queue,next:null};null===lp?ap.memoizedState=lp=r:lp=lp.next=r}return lp}function Cp(e,t){return"function"==typeof t?t(e):t}function Dp(e,t,n){var r,o=Tp();r=void 0!==n?n(t):t,o.memoizedState=o.baseState=r;var a={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};o.queue=a;var i=a.dispatch=yh.bind(null,ap,a);return[o.memoizedState,i]}function Rp(e,t,n){var r=xp(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var i=ip,l=i.baseQueue,s=o.pending;if(null!==s){if(null!==l){var u=l.next,c=s.next;l.next=c,s.next=u}i.baseQueue!==l&&a("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=l=s,o.pending=null}if(null!==l){var d=l.next,f=i.baseState,p=null,h=null,v=null,m=d;do{var g=m.lane;if(ra(op,g)){if(null!==v){var y={lane:0,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null};v=v.next=y}if(m.hasEagerState)f=m.eagerState;else f=e(f,m.action)}else{var b={lane:g,action:m.action,hasEagerState:m.hasEagerState,eagerState:m.eagerState,next:null};null===v?(h=v=b,p=f):v=v.next=b,ap.lanes=oa(ap.lanes,g),by(g)}m=m.next}while(null!==m&&m!==d);null===v?p=f:v.next=h,fl(f,r.memoizedState)||Gv(),r.memoizedState=f,r.baseState=p,r.baseQueue=v,o.lastRenderedState=f}var w=o.interleaved;if(null!==w){var E=w;do{var S=E.lane;ap.lanes=oa(ap.lanes,S),by(S),E=E.next}while(E!==w)}else null===l&&(o.lanes=0);var k=o.dispatch;return[r.memoizedState,k]}function Pp(e,t,n){var r=xp(),o=r.queue;if(null===o)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");o.lastRenderedReducer=e;var a=o.dispatch,i=o.pending,l=r.memoizedState;if(null!==i){o.pending=null;var s=i.next,u=s;do{l=e(l,u.action),u=u.next}while(u!==s);fl(l,r.memoizedState)||Gv(),r.memoizedState=l,null===r.baseQueue&&(r.baseState=l),o.lastRenderedState=l}return[l,a]}function Ip(e,t,n){var r,o=ap,i=Tp();if(Zc()){if(void 0===n)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=n(),tp||r!==n()&&(a("The result of getServerSnapshot should be cached to avoid an infinite loop"),tp=!0)}else{if(r=t(),!tp){var l=t();fl(r,l)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),tp=!0)}var s=Jg();if(null===s)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ko(0,op)||Np(o,t,r)}i.memoizedState=r;var u={value:r,getSnapshot:t};return i.queue=u,qp(Ap.bind(null,o,u,e),[e]),o.flags|=nr,jp(9,Op.bind(null,o,u,r,t),void 0,null),r}function Mp(e,t,n){var r=ap,o=xp(),i=t();if(!tp){var l=t();fl(i,l)||(a("The result of getSnapshot should be cached to avoid an infinite loop"),tp=!0)}var s=o.memoizedState,u=!fl(s,i);u&&(o.memoizedState=i,Gv());var c=o.queue;if(Gp(Ap.bind(null,r,c,e),[e]),c.getSnapshot!==t||u||null!==lp&&1&lp.memoizedState.tag){r.flags|=nr,jp(9,Op.bind(null,r,c,i,t),void 0,null);var d=Jg();if(null===d)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ko(0,op)||Np(r,t,i)}return i}function Np(e,t,n){e.flags|=ar;var r={getSnapshot:t,value:n},o=ap.updateQueue;if(null===o)o={lastEffect:null,stores:null},ap.updateQueue=o,o.stores=[r];else{var a=o.stores;null===a?o.stores=[r]:a.push(r)}}function Op(e,t,n,r){t.value=n,t.getSnapshot=r,Lp(t)&&zp(e)}function Ap(e,t,n){return n((function(){Lp(t)&&zp(e)}))}function Lp(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!fl(n,r)}catch(e){return!0}}function zp(e){var t=Md(e,1);null!==t&&ry(t,e,1,Uo)}function Hp(e){var t=Tp();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Cp,lastRenderedState:e};t.queue=n;var r=n.dispatch=bh.bind(null,ap,n);return[t.memoizedState,r]}function Fp(e){return Rp(Cp)}function Up(e){return Pp(Cp)}function jp(e,t,n,r){var o={tag:e,create:t,destroy:n,deps:r,next:null},a=ap.updateQueue;if(null===a)a={lastEffect:null,stores:null},ap.updateQueue=a,a.lastEffect=o.next=o;else{var i=a.lastEffect;if(null===i)a.lastEffect=o.next=o;else{var l=i.next;i.next=o,o.next=l,a.lastEffect=o}}return o}function Vp(e){var t={current:e};return Tp().memoizedState=t,t}function Wp(e){return xp().memoizedState}function Bp(e,t,n,r){var o=Tp(),a=void 0===r?null:r;ap.flags|=e,o.memoizedState=jp(1|t,n,void 0,a)}function $p(e,t,n,r){var o=xp(),a=void 0===r?null:r,i=void 0;if(null!==ip){var l=ip.memoizedState;if(i=l.destroy,null!==a)if(wp(a,l.deps))return void(o.memoizedState=jp(t,n,i,a))}ap.flags|=e,o.memoizedState=jp(1|t,n,i,a)}function qp(e,t){return 0!=(ap.mode&lo)?Bp(41945088,8,e,t):Bp(8390656,8,e,t)}function Gp(e,t){return $p(nr,8,e,t)}function Yp(e,t){return Bp(4,2,e,t)}function Kp(e,t){return $p(4,2,e,t)}function Qp(e,t){var n=4;return n|=dr,0!=(ap.mode&lo)&&(n|=fr),Bp(n,4,e,t)}function Xp(e,t){return $p(4,4,e,t)}function Zp(e,t){if("function"==typeof t){var n=t,r=e();return n(r),function(){n(null)}}if(null!=t){var o=t;o.hasOwnProperty("current")||a("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(o).join(", ")+"}");var i=e();return o.current=i,function(){o.current=null}}}function Jp(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null,o=4;return o|=dr,0!=(ap.mode&lo)&&(o|=fr),Bp(o,4,Zp.bind(null,t,e),r)}function eh(e,t,n){"function"!=typeof t&&a("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return $p(4,4,Zp.bind(null,t,e),r)}function th(e,t){}var nh=th;function rh(e,t){var n=void 0===t?null:t;return Tp().memoizedState=[e,n],e}function oh(e,t){var n=xp(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&wp(r,o[1])))return o[0];return n.memoizedState=[e,r],e}function ah(e,t){var n=Tp(),r=void 0===t?null:t,o=e();return n.memoizedState=[o,r],o}function ih(e,t){var n=xp(),r=void 0===t?null:t,o=n.memoizedState;if(null!==o&&(null!==r&&wp(r,o[1])))return o[0];var a=e();return n.memoizedState=[a,r],a}function lh(e){return Tp().memoizedState=e,e}function sh(e){return ch(xp(),ip.memoizedState,e)}function uh(e){var t=xp();return null===ip?(t.memoizedState=e,e):ch(t,ip.memoizedState,e)}function ch(e,t,n){if(!(0==(21&op))){if(!fl(n,t)){var r=Xo();ap.lanes=oa(ap.lanes,r),by(r),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,Gv()),e.memoizedState=n,n}function dh(e,t,n){var r,a,i=ka();_a((a=ba,0!==(r=i)&&r<a?r:a)),e(!0);var l=rp.transition;rp.transition={};var s=rp.transition;rp.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(_a(i),rp.transition=l,null===l&&s._updatedFibers)s._updatedFibers.size>10&&o("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),s._updatedFibers.clear()}}function fh(){var e=Hp(!1),t=e[0],n=e[1],r=dh.bind(null,n);return Tp().memoizedState=r,[t,r]}function ph(){return[Fp()[0],xp().memoizedState]}function hh(){return[Up()[0],xp().memoizedState]}var vh=!1;function mh(){var e,t=Tp(),n=Jg().identifierPrefix;if(Zc()){e=":"+n+"R"+wc();var r=cp++;r>0&&(e+="H"+r.toString(32)),e+=":"}else{e=":"+n+"r"+(dp++).toString(32)+":"}return t.memoizedState=e,e}function gh(){return xp().memoizedState}function yh(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=ty(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(wh(e))Eh(t,o);else{var i=Pd(e,t,o,r);if(null!==i){var l=ey();ry(i,e,r,l),Sh(i,t,r)}}kh(e,r)}function bh(e,t,n){"function"==typeof arguments[3]&&a("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=ty(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(wh(e))Eh(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)){var l=t.lastRenderedReducer;if(null!==l){var s;s=np.current,np.current=Ph;try{var u=t.lastRenderedState,c=l(u,n);if(o.hasEagerState=!0,o.eagerState=c,fl(c,u))return void Id(0,t,o)}catch(e){}finally{np.current=s}}}var d=Pd(e,t,o,r);if(null!==d){var f=ey();ry(d,e,r,f),Sh(d,t,r)}}kh(e,r)}function wh(e){var t=e.alternate;return e===ap||null!==t&&t===ap}function Eh(e,t){up=sp=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Sh(e,t,n){if(Qo(n)){var r=t.lanes,o=oa(r=ia(r,e.pendingLanes),n);t.lanes=o,ca(e,o)}}function kh(e,t,n){io(e,t)}var _h={readContext:Cd,useCallback:bp,useContext:bp,useEffect:bp,useImperativeHandle:bp,useInsertionEffect:bp,useLayoutEffect:bp,useMemo:bp,useReducer:bp,useRef:bp,useState:bp,useDebugValue:bp,useDeferredValue:bp,useTransition:bp,useMutableSource:bp,useSyncExternalStore:bp,useId:bp,unstable_isNewReconciler:b},Th=null,xh=null,Ch=null,Dh=null,Rh=null,Ph=null,Ih=null,Mh=function(){a("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Nh=function(){a("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Th={readContext:function(e){return Cd(e)},useCallback:function(e,t){return fp="useCallback",mp(),yp(t),rh(e,t)},useContext:function(e){return fp="useContext",mp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",mp(),yp(t),qp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",mp(),yp(n),Jp(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",mp(),yp(t),Yp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",mp(),yp(t),Qp(e,t)},useMemo:function(e,t){fp="useMemo",mp(),yp(t);var n=np.current;np.current=Rh;try{return ah(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",mp();var r=np.current;np.current=Rh;try{return Dp(e,t,n)}finally{np.current=r}},useRef:function(e){return fp="useRef",mp(),Vp(e)},useState:function(e){fp="useState",mp();var t=np.current;np.current=Rh;try{return Hp(e)}finally{np.current=t}},useDebugValue:function(e,t){fp="useDebugValue",mp()},useDeferredValue:function(e){return fp="useDeferredValue",mp(),lh(e)},useTransition:function(){return fp="useTransition",mp(),fh()},useMutableSource:function(e,t,n){fp="useMutableSource",mp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",mp(),Ip(e,t,n)},useId:function(){return fp="useId",mp(),mh()},unstable_isNewReconciler:b},xh={readContext:function(e){return Cd(e)},useCallback:function(e,t){return fp="useCallback",gp(),rh(e,t)},useContext:function(e){return fp="useContext",gp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",gp(),qp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",gp(),Jp(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",gp(),Yp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",gp(),Qp(e,t)},useMemo:function(e,t){fp="useMemo",gp();var n=np.current;np.current=Rh;try{return ah(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",gp();var r=np.current;np.current=Rh;try{return Dp(e,t,n)}finally{np.current=r}},useRef:function(e){return fp="useRef",gp(),Vp(e)},useState:function(e){fp="useState",gp();var t=np.current;np.current=Rh;try{return Hp(e)}finally{np.current=t}},useDebugValue:function(e,t){fp="useDebugValue",gp()},useDeferredValue:function(e){return fp="useDeferredValue",gp(),lh(e)},useTransition:function(){return fp="useTransition",gp(),fh()},useMutableSource:function(e,t,n){fp="useMutableSource",gp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",gp(),Ip(e,t,n)},useId:function(){return fp="useId",gp(),mh()},unstable_isNewReconciler:b},Ch={readContext:function(e){return Cd(e)},useCallback:function(e,t){return fp="useCallback",gp(),oh(e,t)},useContext:function(e){return fp="useContext",gp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",gp(),Gp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",gp(),eh(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",gp(),Kp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",gp(),Xp(e,t)},useMemo:function(e,t){fp="useMemo",gp();var n=np.current;np.current=Ph;try{return ih(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",gp();var r=np.current;np.current=Ph;try{return Rp(e)}finally{np.current=r}},useRef:function(e){return fp="useRef",gp(),Wp()},useState:function(e){fp="useState",gp();var t=np.current;np.current=Ph;try{return Fp()}finally{np.current=t}},useDebugValue:function(e,t){return fp="useDebugValue",gp(),nh()},useDeferredValue:function(e){return fp="useDeferredValue",gp(),sh(e)},useTransition:function(){return fp="useTransition",gp(),ph()},useMutableSource:function(e,t,n){fp="useMutableSource",gp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",gp(),Mp(e,t)},useId:function(){return fp="useId",gp(),gh()},unstable_isNewReconciler:b},Dh={readContext:function(e){return Cd(e)},useCallback:function(e,t){return fp="useCallback",gp(),oh(e,t)},useContext:function(e){return fp="useContext",gp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",gp(),Gp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",gp(),eh(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",gp(),Kp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",gp(),Xp(e,t)},useMemo:function(e,t){fp="useMemo",gp();var n=np.current;np.current=Ih;try{return ih(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",gp();var r=np.current;np.current=Ih;try{return Pp(e)}finally{np.current=r}},useRef:function(e){return fp="useRef",gp(),Wp()},useState:function(e){fp="useState",gp();var t=np.current;np.current=Ih;try{return Up()}finally{np.current=t}},useDebugValue:function(e,t){return fp="useDebugValue",gp(),nh()},useDeferredValue:function(e){return fp="useDeferredValue",gp(),uh(e)},useTransition:function(){return fp="useTransition",gp(),hh()},useMutableSource:function(e,t,n){fp="useMutableSource",gp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",gp(),Mp(e,t)},useId:function(){return fp="useId",gp(),gh()},unstable_isNewReconciler:b},Rh={readContext:function(e){return Mh(),Cd(e)},useCallback:function(e,t){return fp="useCallback",Nh(),mp(),rh(e,t)},useContext:function(e){return fp="useContext",Nh(),mp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",Nh(),mp(),qp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",Nh(),mp(),Jp(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",Nh(),mp(),Yp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",Nh(),mp(),Qp(e,t)},useMemo:function(e,t){fp="useMemo",Nh(),mp();var n=np.current;np.current=Rh;try{return ah(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",Nh(),mp();var r=np.current;np.current=Rh;try{return Dp(e,t,n)}finally{np.current=r}},useRef:function(e){return fp="useRef",Nh(),mp(),Vp(e)},useState:function(e){fp="useState",Nh(),mp();var t=np.current;np.current=Rh;try{return Hp(e)}finally{np.current=t}},useDebugValue:function(e,t){fp="useDebugValue",Nh(),mp()},useDeferredValue:function(e){return fp="useDeferredValue",Nh(),mp(),lh(e)},useTransition:function(){return fp="useTransition",Nh(),mp(),fh()},useMutableSource:function(e,t,n){fp="useMutableSource",Nh(),mp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",Nh(),mp(),Ip(e,t,n)},useId:function(){return fp="useId",Nh(),mp(),mh()},unstable_isNewReconciler:b},Ph={readContext:function(e){return Mh(),Cd(e)},useCallback:function(e,t){return fp="useCallback",Nh(),gp(),oh(e,t)},useContext:function(e){return fp="useContext",Nh(),gp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",Nh(),gp(),Gp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",Nh(),gp(),eh(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",Nh(),gp(),Kp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",Nh(),gp(),Xp(e,t)},useMemo:function(e,t){fp="useMemo",Nh(),gp();var n=np.current;np.current=Ph;try{return ih(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",Nh(),gp();var r=np.current;np.current=Ph;try{return Rp(e)}finally{np.current=r}},useRef:function(e){return fp="useRef",Nh(),gp(),Wp()},useState:function(e){fp="useState",Nh(),gp();var t=np.current;np.current=Ph;try{return Fp()}finally{np.current=t}},useDebugValue:function(e,t){return fp="useDebugValue",Nh(),gp(),nh()},useDeferredValue:function(e){return fp="useDeferredValue",Nh(),gp(),sh(e)},useTransition:function(){return fp="useTransition",Nh(),gp(),ph()},useMutableSource:function(e,t,n){fp="useMutableSource",Nh(),gp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",Nh(),gp(),Mp(e,t)},useId:function(){return fp="useId",Nh(),gp(),gh()},unstable_isNewReconciler:b},Ih={readContext:function(e){return Mh(),Cd(e)},useCallback:function(e,t){return fp="useCallback",Nh(),gp(),oh(e,t)},useContext:function(e){return fp="useContext",Nh(),gp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",Nh(),gp(),Gp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",Nh(),gp(),eh(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",Nh(),gp(),Kp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",Nh(),gp(),Xp(e,t)},useMemo:function(e,t){fp="useMemo",Nh(),gp();var n=np.current;np.current=Ph;try{return ih(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",Nh(),gp();var r=np.current;np.current=Ph;try{return Pp(e)}finally{np.current=r}},useRef:function(e){return fp="useRef",Nh(),gp(),Wp()},useState:function(e){fp="useState",Nh(),gp();var t=np.current;np.current=Ph;try{return Up()}finally{np.current=t}},useDebugValue:function(e,t){return fp="useDebugValue",Nh(),gp(),nh()},useDeferredValue:function(e){return fp="useDeferredValue",Nh(),gp(),uh(e)},useTransition:function(){return fp="useTransition",Nh(),gp(),hh()},useMutableSource:function(e,t,n){fp="useMutableSource",Nh(),gp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",Nh(),gp(),Mp(e,t)},useId:function(){return fp="useId",Nh(),gp(),gh()},unstable_isNewReconciler:b};var Oh=t.unstable_now,Ah=0,Lh=-1,zh=-1,Hh=-1,Fh=!1,Uh=!1;function jh(){return Fh}function Vh(){return Ah}function Wh(){Ah=Oh()}function Bh(e){zh=Oh(),e.actualStartTime<0&&(e.actualStartTime=Oh())}function $h(e){zh=-1}function qh(e,t){if(zh>=0){var n=Oh()-zh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),zh=-1}}function Gh(e){if(Lh>=0){var t=Oh()-Lh;Lh=-1;for(var n=e.return;null!==n;){switch(n.tag){case 3:return void(n.stateNode.effectDuration+=t);case u:return void(n.stateNode.effectDuration+=t)}n=n.return}}}function Yh(e){if(Hh>=0){var t=Oh()-Hh;Hh=-1;for(var n=e.return;null!==n;){switch(n.tag){case 3:var r=n.stateNode;return void(null!==r&&(r.passiveEffectDuration+=t));case u:var o=n.stateNode;return void(null!==o&&(o.passiveEffectDuration+=t))}n=n.return}}}function Kh(){Lh=Oh()}function Qh(){Hh=Oh()}function Xh(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Zh(e,t){return{value:e,source:t,stack:Oe(t),digest:null}}function Jh(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ev(e,t){try{0;var n=t.value,r=t.source,o=t.stack,a=null!==o?o:"";if(null!=n&&n._suppressLogging){if(1===e.tag)return;console.error(n)}var i=r?He(r):null,l=(i?"The above error occurred in the <"+i+"> component:":"The above error occurred in one of your React components:")+"\n"+a+"\n\n"+(3===e.tag?"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.":"React will try to recreate this component tree from scratch using the error boundary you provided, "+(He(e)||"Anonymous")+".");console.error(l)}catch(e){setTimeout((function(){throw e}))}}var tv="function"==typeof WeakMap?WeakMap:Map;function nv(e,t,n){var r=jd(Uo,n);r.tag=3,r.payload={element:null};var o=t.value;return r.callback=function(){Ry(o),ev(e,t)},r}function rv(e,t,n){var r=jd(Uo,n);r.tag=3;var o=e.type.getDerivedStateFromError;if("function"==typeof o){var i=t.value;r.payload=function(){return o(i)},r.callback=function(){nb(e),ev(e,t)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(r.callback=function(){var n;nb(e),ev(e,t),"function"!=typeof o&&(n=this,null===Hg?Hg=new Set([n]):Hg.add(n));var r=t.value,i=t.stack;this.componentDidCatch(r,{componentStack:null!==i?i:""}),"function"!=typeof o&&(na(e.lanes,1)||a("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",He(e)||"Unknown"))}),r}function ov(e,t,n){var r,o=e.pingCache;if(null===o?(o=e.pingCache=new tv,r=new Set,o.set(t,r)):void 0===(r=o.get(t))&&(r=new Set,o.set(t,r)),!r.has(n)){r.add(n);var a=My.bind(null,e,t,n);qr&&Wy(e,n),t.then(a,a)}}function av(e){var t=e;do{if(t.tag===c&&Kf(t))return t;t=t.return}while(null!==t);return null}function iv(e,t,n,r,o){if(0==(1&e.mode)){if(e===t)e.flags|=lr;else{if(e.flags|=Zn,n.flags|=sr,n.flags&=-52805,1===n.tag)if(null===n.alternate)n.tag=p;else{var a=jd(Uo,1);a.tag=zd,Vd(n,a,1)}n.lanes=oa(n.lanes,1)}return e}return e.flags|=lr,e.lanes=o,e}function lv(e,t,n,r,o){if(n.flags|=ir,qr&&Wy(e,o),null!==r&&"object"==typeof r&&"function"==typeof r.then){var a=r;!function(e,t){var n=e.tag;if(0==(1&e.mode)&&(0===n||n===s||n===f)){var r=e.alternate;r?(e.updateQueue=r.updateQueue,e.memoizedState=r.memoizedState,e.lanes=r.lanes):(e.updateQueue=null,e.memoizedState=null)}}(n),Zc()&&1&n.mode&&Nc();var i=av(t);if(null!==i)return i.flags&=-257,iv(i,t,n,0,o),1&i.mode&&ov(e,a,o),void function(e,t,n,r){var o=e.updateQueue;if(null===o){var a=new Set;a.add(n),e.updateQueue=a}else o.add(n)}(i,0,a);if(0==(1&o))return ov(e,a,o),void wy();r=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.")}else if(Zc()&&1&n.mode){Nc();var l=av(t);if(null!==l)return 0==(l.flags&lr)&&(l.flags|=Jn),iv(l,t,n,0,o),void Jc(Zh(r,n))}!function(e){4!==_g&&(_g=2);null===Rg?Rg=[e]:Rg.push(e)}(r=Zh(r,n));var u=t;do{switch(u.tag){case 3:var c=r;u.flags|=lr;var d=Jo(o);return u.lanes=oa(u.lanes,d),void Bd(u,nv(u,c,d));case 1:var p=r,h=u.type,v=u.stateNode;if(0==(u.flags&Zn)&&("function"==typeof h.getDerivedStateFromError||null!==v&&"function"==typeof v.componentDidCatch&&!Dy(v))){u.flags|=lr;var m=Jo(o);return u.lanes=oa(u.lanes,m),void Bd(u,rv(u,p,m))}}u=u.return}while(null!==u)}var sv,uv,cv,dv,fv,pv,hv,vv,mv=n.ReactCurrentOwner,gv=!1;function yv(e,t,n,r){t.child=null===e?Pf(t,null,n,r):Rf(t,e.child,n,r)}function bv(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&Au(a,r,"prop",Le(n))}var i,l,s=n.render,u=t.ref;if(xd(t,o),Xr(t),mv.current=t,qe(!0),i=Ep(e,t,s,r,u,o),l=Sp(),8&t.mode){Gr(!0);try{i=Ep(e,t,s,r,u,o),l=Sp()}finally{Gr(!1)}}return qe(!1),Zr(),null===e||gv?(Zc()&&l&&kc(t),t.flags|=1,yv(e,t,i,o),t.child):(kp(e,t,o),Kv(e,t,o))}function wv(e,t,n,r,o){if(null===e){var a=n.type;if(function(e){return"function"==typeof e&&!fb(e)&&void 0===e.defaultProps}(a)&&null===n.compare&&void 0===n.defaultProps){var i;return i=Zy(a),t.tag=f,t.type=i,Pv(t,a),Ev(e,t,i,r,o)}var l=a.propTypes;l&&Au(l,r,"prop",Le(a));var s=vb(n.type,null,r,t,t.mode,o);return s.ref=t.ref,s.return=t,t.child=s,s}var u=n.type,c=u.propTypes;c&&Au(c,r,"prop",Le(u));var d=e.child;if(!Qv(e,o)){var p=d.memoizedProps,h=n.compare;if((h=null!==h?h:pl)(p,r)&&e.ref===t.ref)return Kv(e,t,o)}t.flags|=1;var v=pb(d,r);return v.ref=t.ref,v.return=t,t.child=v,v}function Ev(e,t,n,r,o){if(t.type!==t.elementType){var a=t.elementType;if(a.$$typeof===ce){var i=a,l=i._payload,s=i._init;try{a=s(l)}catch(e){a=null}var u=a&&a.propTypes;u&&Au(u,r,"prop",Le(a))}}if(null!==e){var c=e.memoizedProps;if(pl(c,r)&&e.ref===t.ref&&t.type===e.type){if(gv=!1,t.pendingProps=r=c,!Qv(e,o))return t.lanes=e.lanes,Kv(e,t,o);0!=(e.flags&sr)&&(gv=!0)}}return _v(e,t,n,r,o)}function Sv(e,t,n){var r,o=t.pendingProps,a=o.children,i=null!==e?e.memoizedState:null;if("hidden"===o.mode)if(0==(1&t.mode)){var l={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=l,py(t,n)}else{if(!na(n,Ho)){var s;if(null!==i)s=oa(i.baseLanes,n);else s=n;t.lanes=t.childLanes=Ho;var u={baseLanes:s,cachePool:null,transitions:null};return t.memoizedState=u,t.updateQueue=null,py(t,s),null}var c={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=c,py(t,null!==i?i.baseLanes:n)}else null!==i?(r=oa(i.baseLanes,n),t.memoizedState=null):r=n,py(t,r);return yv(e,t,a,n),t.child}function kv(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=er,t.flags|=cr)}function _v(e,t,n,r,o){if(t.type!==t.elementType){var a=n.propTypes;a&&Au(a,r,"prop",Le(n))}var i,l,s;if(i=Ku(t,Gu(0,n,!0)),xd(t,o),Xr(t),mv.current=t,qe(!0),l=Ep(e,t,n,r,i,o),s=Sp(),8&t.mode){Gr(!0);try{l=Ep(e,t,n,r,i,o),s=Sp()}finally{Gr(!1)}}return qe(!1),Zr(),null===e||gv?(Zc()&&s&&kc(t),t.flags|=1,yv(e,t,l,o),t.child):(kp(e,t,o),Kv(e,t,o))}function Tv(e,t,n,r,o){switch(Lb(t)){case!1:var i=t.stateNode,l=new(0,t.type)(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,l,null);break;case!0:t.flags|=Zn,t.flags|=lr;var s=new Error("Simulated error coming from DevTools"),u=Jo(o);t.lanes=oa(t.lanes,u),Bd(t,rv(t,Zh(s,t),u))}if(t.type!==t.elementType){var c=n.propTypes;c&&Au(c,r,"prop",Le(n))}var d,f;Xu(n)?(d=!0,nc(t)):d=!1,xd(t,o),null===t.stateNode?(Yv(e,t),wf(t,n,r),Sf(t,n,r,o),f=!0):f=null===e?function(e,t,n,r){var o=e.stateNode,a=e.memoizedProps;o.props=a;var i=o.context,l=t.contextType,s=Wu;s="object"==typeof l&&null!==l?Cd(l):Ku(e,Gu(0,t,!0));var u=t.getDerivedStateFromProps,c="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;c||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||a===n&&i===s||Ef(e,o,n,s),Yd();var d=e.memoizedState,f=o.state=d;if(qd(e,n,o,r),f=e.memoizedState,a===n&&d===f&&!Qu()&&!Kd()){if("function"==typeof o.componentDidMount){var p=4;p|=dr,0!=(e.mode&lo)&&(p|=fr),e.flags|=p}return!1}"function"==typeof u&&(df(e,t,u,n),f=e.memoizedState);var h=Kd()||yf(e,t,a,n,d,f,s);if(h){if(c||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount){var v=4;v|=dr,0!=(e.mode&lo)&&(v|=fr),e.flags|=v}}else{if("function"==typeof o.componentDidMount){var m=4;m|=dr,0!=(e.mode&lo)&&(m|=fr),e.flags|=m}e.memoizedProps=n,e.memoizedState=f}return o.props=n,o.state=f,o.context=s,h}(t,n,r,o):function(e,t,n,r,o){var a=t.stateNode;Ud(e,t);var i=t.memoizedProps,l=t.type===t.elementType?i:fd(t.type,i);a.props=l;var s=t.pendingProps,u=a.context,c=n.contextType,d=Wu;d="object"==typeof c&&null!==c?Cd(c):Ku(t,Gu(0,n,!0));var f=n.getDerivedStateFromProps,p="function"==typeof f||"function"==typeof a.getSnapshotBeforeUpdate;p||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||i===s&&u===d||Ef(t,a,r,d),Yd();var h=t.memoizedState,v=a.state=h;if(qd(t,r,a,o),v=t.memoizedState,i===s&&h===v&&!Qu()&&!Kd())return"function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=tr)),!1;"function"==typeof f&&(df(t,n,f,r),v=t.memoizedState);var m=Kd()||yf(t,n,l,r,h,v,d)||!1;return m?(p||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,v,d),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,v,d)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=tr)):("function"==typeof a.componentDidUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4)),"function"==typeof a.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=tr)),t.memoizedProps=r,t.memoizedState=v),a.props=r,a.state=v,a.context=d,m}(e,t,n,r,o);var p=xv(e,t,n,f,d,o),h=t.stateNode;return f&&h.props!==r&&(pv||a("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",He(t)||"a component"),pv=!0),p}function xv(e,t,n,r,o,a){kv(e,t);var i=0!=(t.flags&Zn);if(!r&&!i)return o&&rc(t,n,!1),Kv(e,t,a);var l,s=t.stateNode;if(mv.current=t,i&&"function"!=typeof n.getDerivedStateFromError)l=null,$h();else{if(Xr(t),qe(!0),l=s.render(),8&t.mode){Gr(!0);try{s.render()}finally{Gr(!1)}}qe(!1),Zr()}return t.flags|=1,null!==e&&i?function(e,t,n,r){t.child=Rf(t,e.child,null,r),t.child=Rf(t,null,n,r)}(e,t,l,a):yv(e,t,l,a),t.memoizedState=s.state,o&&rc(t,n,!0),t.child}function Cv(e){var t=e.stateNode;t.pendingContext?ec(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ec(e,t.context,!1),Hf(e,t.containerInfo)}function Dv(e,t,n,r,o){return Qc(),Jc(o),t.flags|=Jn,yv(e,t,n,r),t.child}function Rv(e,t,n,r){Yv(e,t);var o=t.pendingProps,a=n,i=a._payload,l=(0,a._init)(i);t.type=l;var u=t.tag=function(e){if("function"==typeof e)return fb(e)?1:0;if(null!=e){var t=e.$$typeof;if(t===ie)return s;if(t===ue)return d}return 2}(l),c=fd(l,o);switch(u){case 0:return Pv(t,l),t.type=l=Zy(l),_v(null,t,l,c,r);case 1:return t.type=l=Jy(l),Tv(null,t,l,c,r);case s:return t.type=l=eb(l),bv(null,t,l,c,r);case d:if(t.type!==t.elementType){var f=l.propTypes;f&&Au(f,c,"prop",Le(l))}return wv(null,t,l,fd(l.type,c),r)}var p="";throw null!==l&&"object"==typeof l&&l.$$typeof===ce&&(p=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+l+". Lazy element type must resolve to a class or function."+p)}function Pv(e,t){if(t&&t.childContextTypes&&a("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=Ve();r&&(n+="\n\nCheck the render method of `"+r+"`.");var o=r||"",i=e._debugSource;i&&(o=i.fileName+":"+i.lineNumber),fv[o]||(fv[o]=!0,a("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if("function"==typeof t.getDerivedStateFromProps){var l=Le(t)||"Unknown";dv[l]||(a("%s: Function components do not support getDerivedStateFromProps.",l),dv[l]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var s=Le(t)||"Unknown";cv[s]||(a("%s: Function components do not support contextType.",s),cv[s]=!0)}}sv={},uv={},cv={},dv={},fv={},pv=!1,hv={},vv={};var Iv={dehydrated:null,treeContext:null,retryLane:0};function Mv(e){return{baseLanes:e,cachePool:null,transitions:null}}function Nv(e,t,n){var r=t.pendingProps;zb(t)&&(t.flags|=Zn);var o=Wf.current,i=!1,l=0!=(t.flags&Zn);if(l||function(e,t,n,r){return(null===t||null!==t.memoizedState)&&Bf(e,2)}(o,e)?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o=o|1),Gf(t,o=$f(o)),null===e){Wc(t);var s=t.memoizedState;if(null!==s){var u=s.dehydrated;if(null!==u)return function(e,t,n){0==(1&e.mode)?(a("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=1):du(t)?e.lanes=8:e.lanes=Ho;return null}(t,u)}var c=r.children,d=r.fallback;if(i){var f=function(e,t,n,r){var o,a,i=e.mode,l=e.child,s={mode:"hidden",children:t};0==(1&i)&&null!==l?((o=l).childLanes=0,o.pendingProps=s,2&e.mode&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=0,o.treeBaseDuration=0),a=gb(n,i,r,null)):(o=Av(s,i),a=gb(n,i,r,null));return o.return=e,a.return=e,o.sibling=a,e.child=o,a}(t,c,d,n);return t.child.memoizedState=Mv(n),t.memoizedState=Iv,f}return Ov(t,c)}var p=e.memoizedState;if(null!==p){var h=p.dehydrated;if(null!==h)return function(e,t,n,r,o,a,i){if(n){if(t.flags&Jn)return t.flags&=-257,zv(e,t,i,Jh(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")));if(null!==t.memoizedState)return t.child=e.child,t.flags|=Zn,null;var l=function(e,t,n,r,o){var a=t.mode,i=Av({mode:"visible",children:n},a),l=gb(r,a,o,null);l.flags|=2,i.return=t,l.return=t,i.sibling=l,t.child=i,0!=(1&t.mode)&&Rf(t,e.child,null,o);return l}(e,t,r.children,r.fallback,i);return t.child.memoizedState=Mv(i),t.memoizedState=Iv,l}if(Mc(),0==(1&t.mode))return zv(e,t,i,null);if(du(o)){var s,u,c,d=function(e){var t,n,r,o=e.nextSibling&&e.nextSibling.dataset;return o&&(t=o.dgst,n=o.msg,r=o.stck),{message:n,digest:t,stack:r}}(o);return s=d.digest,u=d.message,c=d.stack,zv(e,t,i,Jh(u?new Error(u):new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),s,c))}var f=na(i,e.childLanes);if(gv||f){var p=Jg();if(null!==p){var h=function(e,t){var n;switch(Zo(t)){case 4:n=2;break;case po:n=8;break;case 64:case 128:case 256:case 512:case vo:case mo:case go:case yo:case bo:case wo:case Eo:case So:case ko:case _o:case To:case xo:case Do:case Ro:case Po:case Io:case Mo:n=32;break;case zo:n=Lo;break;default:n=0}return 0!=(n&(e.suspendedLanes|t))?0:n}(p,i);if(0!==h&&h!==a.retryLane){a.retryLane=h;var v=Uo;Md(e,h),ry(p,e,h,v)}}return wy(),zv(e,t,i,Jh(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")))}if(cu(o)){t.flags|=Zn,t.child=e.child;var m=Oy.bind(null,e);return y=m,o._reactRetry=y,null}Ac(t,o,a.treeContext);var g=Ov(t,r.children);return g.flags|=rr,g;var y}(e,t,l,r,h,p,n)}if(i){var v=r.fallback,m=function(e,t,n,r,o){var a,i,l=t.mode,s=e.child,u=s.sibling,c={mode:"hidden",children:n};if(0==(1&l)&&t.child!==s){(a=t.child).childLanes=0,a.pendingProps=c,2&t.mode&&(a.actualDuration=0,a.actualStartTime=-1,a.selfBaseDuration=s.selfBaseDuration,a.treeBaseDuration=s.treeBaseDuration),t.deletions=null}else(a=Lv(s,c)).subtreeFlags=s.subtreeFlags&yr;null!==u?i=pb(u,r):(i=gb(r,l,o,null)).flags|=2;return i.return=t,a.return=t,a.sibling=i,t.child=a,i}(e,t,r.children,v,n),g=t.child,y=e.child.memoizedState;return g.memoizedState=null===y?Mv(n):function(e,t){return{baseLanes:oa(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(y,n),g.childLanes=function(e,t){return aa(e.childLanes,t)}(e,n),t.memoizedState=Iv,m}var b=function(e,t,n,r){var o=e.child,a=o.sibling,i=Lv(o,{mode:"visible",children:n});0==(1&t.mode)&&(i.lanes=r);if(i.return=t,i.sibling=null,null!==a){var l=t.deletions;null===l?(t.deletions=[a],t.flags|=Xn):l.push(a)}return t.child=i,i}(e,t,r.children,n);return t.memoizedState=null,b}function Ov(e,t,n){var r=Av({mode:"visible",children:t},e.mode);return r.return=e,e.child=r,r}function Av(e,t,n){return yb(e,t,0,null)}function Lv(e,t){return pb(e,t)}function zv(e,t,n,r){null!==r&&Jc(r),Rf(t,e.child,null,n);var o=Ov(t,t.pendingProps.children);return o.flags|=2,t.memoizedState=null,o}function Hv(e,t,n){e.lanes=oa(e.lanes,t);var r=e.alternate;null!==r&&(r.lanes=oa(r.lanes,t)),_d(e.return,t,n)}function Fv(e,t){var n=wt(e),r=!n&&"function"==typeof pe(e);if(n||r){var o=n?"array":"iterable";return a("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",o,t,o),!1}return!0}function Uv(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function jv(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail,l=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!hv[e])if(hv[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":a('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":a('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:a('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else a('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(o),function(e,t){void 0===e||vv[e]||("collapsed"!==e&&"hidden"!==e?(vv[e]=!0,a('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(vv[e]=!0,a('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(i,o),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(wt(e)){for(var n=0;n<e.length;n++)if(!Fv(e[n],n))return}else{var r=pe(e);if("function"==typeof r){var o=r.call(e);if(o)for(var i=o.next(),l=0;!i.done;i=o.next()){if(!Fv(i.value,l))return;l++}}else a('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(l,o),yv(e,t,l,n);var s=Wf.current;Bf(s,2)?(s=qf(s,2),t.flags|=Zn):(null!==e&&0!=(e.flags&Zn)&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===c)null!==r.memoizedState&&Hv(r,n,e);else if(r.tag===v)Hv(r,n,e);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),s=$f(s));if(Gf(t,s),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":var u,d=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===Qf(r)&&(n=t),t=t.sibling}return n}(t.child);null===d?(u=t.child,t.child=null):(u=d.sibling,d.sibling=null),Uv(t,!1,u,d,i);break;case"backwards":var f=null,p=t.child;for(t.child=null;null!==p;){var h=p.alternate;if(null!==h&&null===Qf(h)){t.child=p;break}var m=p.sibling;p.sibling=f,f=p,p=m}Uv(t,!0,f,null,i);break;case"together":Uv(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}var Vv=!1;var Wv,Bv,$v,qv=!1;function Gv(){gv=!0}function Yv(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Kv(e,t,n){return null!==e&&(t.dependencies=e.dependencies),$h(),by(t.lanes),na(n,t.childLanes)?(function(e,t){if(null!==e&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=pb(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=pb(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child):null}function Qv(e,t){return!!na(e.lanes,t)}function Xv(e,t,n){if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var o=r.child;if(null===o)throw new Error("Expected parent to have a child.");for(;o.sibling!==t;)if(null===(o=o.sibling))throw new Error("Expected to find the previous sibling.");o.sibling=n}var a=r.deletions;return null===a?(r.deletions=[e],r.flags|=Xn):a.push(e),n.flags|=2,n}(e,t,vb(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(null!==e)if(e.memoizedProps!==t.pendingProps||Qu()||t.type!==e.type)gv=!0;else{if(!Qv(e,n)&&0==(t.flags&Zn))return gv=!1,function(e,t,n){switch(t.tag){case 3:Cv(t),t.stateNode,Qc();break;case 5:jf(t);break;case 1:Xu(t.type)&&nc(t);break;case 4:Hf(t,t.stateNode.containerInfo);break;case l:var r=t.memoizedProps.value;Sd(t,t.type._context,r);break;case u:na(n,t.childLanes)&&(t.flags|=4);var o=t.stateNode;o.effectDuration=0,o.passiveEffectDuration=0;break;case c:var a=t.memoizedState;if(null!==a){if(null!==a.dehydrated)return Gf(t,$f(Wf.current)),t.flags|=Zn,null;if(na(n,t.child.childLanes))return Nv(e,t,n);Gf(t,$f(Wf.current));var i=Kv(e,t,n);return null!==i?i.sibling:null}Gf(t,$f(Wf.current));break;case v:var s=0!=(e.flags&Zn),d=na(n,t.childLanes);if(s){if(d)return jv(e,t,n);t.flags|=Zn}var f=t.memoizedState;if(null!==f&&(f.rendering=null,f.tail=null,f.lastEffect=null),Gf(t,Wf.current),d)break;return null;case g:case y:return t.lanes=0,Sv(e,t,n)}return Kv(e,t,n)}(e,t,n);gv=0!=(e.flags&sr)}else if(gv=!1,Zc()&&function(e){return xc(),0!=(e.flags&ur)}(t)){var r=t.index;Sc(t,(xc(),hc),r)}switch(t.lanes=0,t.tag){case 2:return function(e,t,n,r){Yv(e,t);var o,i,l,s=t.pendingProps;if(o=Ku(t,Gu(0,n,!1)),xd(t,r),Xr(t),n.prototype&&"function"==typeof n.prototype.render){var u=Le(n)||"Unknown";sv[u]||(a("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",u,u),sv[u]=!0)}if(8&t.mode&&td.recordLegacyContextWarning(t,null),qe(!0),mv.current=t,i=Ep(null,t,n,s,o,r),l=Sp(),qe(!1),Zr(),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var c=Le(n)||"Unknown";uv[c]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",c,c,c),uv[c]=!0)}if("object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var d=Le(n)||"Unknown";uv[d]||(a("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",d,d,d),uv[d]=!0),t.tag=1,t.memoizedState=null,t.updateQueue=null;var f=!1;return Xu(n)?(f=!0,nc(t)):f=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Fd(t),bf(t,i),Sf(t,n,s,r),xv(null,t,n,!0,f,r)}if(t.tag=0,8&t.mode){Gr(!0);try{i=Ep(null,t,n,s,o,r),l=Sp()}finally{Gr(!1)}}return Zc()&&l&&kc(t),yv(null,t,i,r),Pv(t,n),t.child}(e,t,t.type,n);case 16:return Rv(e,t,t.elementType,n);case 0:var o=t.type,i=t.pendingProps;return _v(e,t,o,t.elementType===o?i:fd(o,i),n);case 1:var h=t.type,b=t.pendingProps;return Tv(e,t,h,t.elementType===h?b:fd(h,b),n);case 3:return function(e,t,n){if(Cv(t),null===e)throw new Error("Should have a current fiber. This is a bug in React.");var r=t.pendingProps,o=t.memoizedState,a=o.element;Ud(e,t),qd(t,r,null,n);var i=t.memoizedState;t.stateNode;var l=i.element;if(o.isDehydrated){var s={element:l,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions};if(t.updateQueue.baseState=s,t.memoizedState=s,t.flags&Jn)return Dv(e,t,l,n,Zh(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t));if(l!==a)return Dv(e,t,l,n,Zh(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t));Oc(t);var u=Pf(t,null,l,n);t.child=u;for(var c=u;c;)c.flags=-3&c.flags|rr,c=c.sibling}else{if(Qc(),l===a)return Kv(e,t,n);yv(e,t,l,n)}return t.child}(e,t,n);case 5:return function(e,t,n){jf(t),null===e&&Wc(t);var r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,i=o.children;return Zs(r,o)?i=null:null!==a&&Zs(r,a)&&(t.flags|=32),kv(e,t),yv(e,t,i,n),t.child}(e,t,n);case 6:return function(e,t){return null===e&&Wc(t),null}(e,t);case c:return Nv(e,t,n);case 4:return function(e,t,n){Hf(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=Rf(t,null,r,n):yv(e,t,r,n),t.child}(e,t,n);case s:var w=t.type,E=t.pendingProps;return bv(e,t,w,t.elementType===w?E:fd(w,E),n);case 7:return function(e,t,n){return yv(e,t,t.pendingProps,n),t.child}(e,t,n);case 8:return function(e,t,n){return yv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case u:return function(e,t,n){t.flags|=4;var r=t.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,yv(e,t,t.pendingProps.children,n),t.child}(e,t,n);case l:return function(e,t,n){var r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value;"value"in o||Vv||(Vv=!0,a("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var s=t.type.propTypes;if(s&&Au(s,o,"prop","Context.Provider"),Sd(t,r,l),null!==i){var u=i.value;if(fl(u,l)){if(i.children===o.children&&!Qu())return Kv(e,t,n)}else Td(t,r,n)}return yv(e,t,o.children,n),t.child}(e,t,n);case 9:return function(e,t,n){var r=t.type;void 0===r._context?r!==r.Consumer&&(qv||(qv=!0,a("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var o=t.pendingProps.children;"function"!=typeof o&&a("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),xd(t,n);var i,l=Cd(r);return Xr(t),mv.current=t,qe(!0),i=o(l),qe(!1),Zr(),t.flags|=1,yv(e,t,i,n),t.child}(e,t,n);case d:var S=t.type,k=fd(S,t.pendingProps);if(t.type!==t.elementType){var _=S.propTypes;_&&Au(_,k,"prop",Le(S))}return wv(e,t,S,k=fd(S.type,k),n);case f:return Ev(e,t,t.type,t.pendingProps,n);case p:var T=t.type,x=t.pendingProps;return function(e,t,n,r,o){var a;return Yv(e,t),t.tag=1,Xu(n)?(a=!0,nc(t)):a=!1,xd(t,o),wf(t,n,r),Sf(t,n,r,o),xv(null,t,n,!0,a,o)}(e,t,T,t.elementType===T?x:fd(T,x),n);case v:return jv(e,t,n);case m:break;case g:return Sv(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Zv(e){e.flags|=4}function Jv(e){e.flags|=er,e.flags|=cr}function em(e,t){if(!Zc())switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var o=e.tail,a=null;null!==o;)null!==o.alternate&&(a=o),o=o.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function tm(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t){if(0!=(2&e.mode)){for(var o=e.selfBaseDuration,a=e.child;null!==a;)n=oa(n,oa(a.lanes,a.childLanes)),r|=a.subtreeFlags&yr,r|=a.flags&yr,o+=a.treeBaseDuration,a=a.sibling;e.treeBaseDuration=o}else for(var i=e.child;null!==i;)n=oa(n,oa(i.lanes,i.childLanes)),r|=i.subtreeFlags&yr,r|=i.flags&yr,i.return=e,i=i.sibling;e.subtreeFlags|=r}else{if(0!=(2&e.mode)){for(var l=e.actualDuration,s=e.selfBaseDuration,u=e.child;null!==u;)n=oa(n,oa(u.lanes,u.childLanes)),r|=u.subtreeFlags,r|=u.flags,l+=u.actualDuration,s+=u.treeBaseDuration,u=u.sibling;e.actualDuration=l,e.treeBaseDuration=s}else for(var c=e.child;null!==c;)n=oa(n,oa(c.lanes,c.childLanes)),r|=c.subtreeFlags,r|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=r}return e.childLanes=n,t}function nm(e,t,n){if(Rc&&null!==Dc&&0!=(1&t.mode)&&0==(t.flags&Zn))return Kc(t),Qc(),t.flags|=98560,!1;var r=Yc(t);if(null!==n&&null!==n.dehydrated){if(null===e){if(!r)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if($c(t),tm(t),0!=(2&t.mode))if(null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}if(Qc(),0==(t.flags&Zn)&&(t.memoizedState=null),t.flags|=4,tm(t),0!=(2&t.mode)&&null!==n){var a=t.child;null!==a&&(t.treeBaseDuration-=a.treeBaseDuration)}return!1}return Xc(),!0}function rm(e,t,n){var r=t.pendingProps;switch(Tc(t),t.tag){case 2:case 16:case f:case 0:case s:case 7:case 8:case u:case 9:case d:return tm(t),null;case 1:return Xu(t.type)&&Zu(t),tm(t),null;case 3:var o=t.stateNode;if(Ff(t),Ju(t),Zf(),o.pendingContext&&(o.context=o.pendingContext,o.pendingContext=null),null===e||null===e.child)if(Yc(t))Zv(t);else if(null!==e)e.memoizedState.isDehydrated&&0==(t.flags&Jn)||(t.flags|=tr,Xc());return tm(t),null;case 5:Vf(t);var a=zf(),i=t.type;if(null!==e&&null!=t.stateNode)Bv(e,t,i,r),e.ref!==t.ref&&Jv(t);else{if(!r){if(null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return tm(t),null}var h=Uf();if(Yc(t))(function(e,t,n){var r=e.stateNode,o=!Pc,a=hu(r,e.type,e.memoizedProps,0,n,e,o);return e.updateQueue=a,null!==a})(t,0,h)&&Zv(t);else{var b=Xs(i,r,a,h,t);Wv(b,t),t.stateNode=b,function(e,t,n,r,o){switch(Rs(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(b,i,r)&&Zv(t)}null!==t.ref&&Jv(t)}return tm(t),null;case 6:var w=r;if(e&&null!=t.stateNode){var E=e.memoizedProps;$v(0,t,E,w)}else{if("string"!=typeof w&&null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var S=zf(),k=Uf();Yc(t)?Bc(t)&&Zv(t):t.stateNode=Js(w,S,k,t)}return tm(t),null;case c:Yf(t);var _=t.memoizedState;if(null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)if(!nm(e,t,_))return t.flags&lr?t:null;if(0!=(t.flags&Zn))return t.lanes=n,0!=(2&t.mode)&&Xh(t),t;var T=null!==_;if(T!==(null!==e&&null!==e.memoizedState))if(T)if(t.child.flags|=or,0!=(1&t.mode))null===e&&(!0!==t.memoizedProps.unstable_avoidThisFallback||!0)||Bf(Wf.current,1)?0===_g&&(_g=3):wy();if(null!==t.updateQueue&&(t.flags|=4),tm(t),0!=(2&t.mode)&&T){var x=t.child;null!==x&&(t.treeBaseDuration-=x.treeBaseDuration)}return null;case 4:return Ff(t),null===e&&es(t.stateNode.containerInfo),tm(t),null;case l:return kd(t.type._context,t),tm(t),null;case p:return Xu(t.type)&&Zu(t),tm(t),null;case v:Yf(t);var C=t.memoizedState;if(null===C)return tm(t),null;var D=0!=(t.flags&Zn),R=C.rendering;if(null===R)if(D)em(C,!1);else{if(!(0===_g&&(null===e||0==(e.flags&Zn))))for(var P=t.child;null!==P;){var I=Qf(P);if(null!==I){D=!0,t.flags|=Zn,em(C,!1);var M=I.updateQueue;return null!==M&&(t.updateQueue=M,t.flags|=4),t.subtreeFlags=0,If(t,n),Gf(t,qf(Wf.current,2)),t.child}P=P.sibling}null!==C.tail&&Nr()>Ag()&&(t.flags|=Zn,D=!0,em(C,!1),t.lanes=No)}else{if(!D){var N=Qf(R);if(null!==N){t.flags|=Zn,D=!0;var O=N.updateQueue;if(null!==O&&(t.updateQueue=O,t.flags|=4),em(C,!0),null===C.tail&&"hidden"===C.tailMode&&!R.alternate&&!Zc())return tm(t),null}else 2*Nr()-C.renderingStartTime>Ag()&&n!==Ho&&(t.flags|=Zn,D=!0,em(C,!1),t.lanes=No)}if(C.isBackwards)R.sibling=t.child,t.child=R;else{var A=C.last;null!==A?A.sibling=R:t.child=R,C.last=R}}if(null!==C.tail){var L=C.tail;C.rendering=L,C.tail=L.sibling,C.renderingStartTime=Nr(),L.sibling=null;var z=Wf.current;return Gf(t,z=D?qf(z,2):$f(z)),L}return tm(t),null;case m:break;case g:case y:hy(t);var H=null!==t.memoizedState;if(null!==e)null!==e.memoizedState!==H&&(t.flags|=or);return H&&0!=(1&t.mode)?na(Sg,Ho)&&(tm(t),6&t.subtreeFlags&&(t.flags|=or)):tm(t),null;case 24:case 25:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function om(e,t,n){switch(Tc(t),t.tag){case 1:Xu(t.type)&&Zu(t);var r=t.flags;return r&lr?(t.flags=-65537&r|Zn,0!=(2&t.mode)&&Xh(t),t):null;case 3:t.stateNode,Ff(t),Ju(t),Zf();var o=t.flags;return 0!=(o&lr)&&0==(o&Zn)?(t.flags=-65537&o|Zn,t):null;case 5:return Vf(t),null;case c:Yf(t);var a=t.memoizedState;if(null!==a&&null!==a.dehydrated){if(null===t.alternate)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qc()}var i=t.flags;return i&lr?(t.flags=-65537&i|Zn,0!=(2&t.mode)&&Xh(t),t):null;case v:return Yf(t),null;case 4:return Ff(t),null;case l:return kd(t.type._context,t),null;case g:case y:return hy(t),null;default:return null}}function am(e,t,n){switch(Tc(t),t.tag){case 1:var r=t.type.childContextTypes;null!=r&&Zu(t);break;case 3:t.stateNode,Ff(t),Ju(t),Zf();break;case 5:Vf(t);break;case 4:Ff(t);break;case c:case v:Yf(t);break;case l:kd(t.type._context,t);break;case g:case y:hy(t)}}Wv=function(e,t,n,r){for(var o,a,i=t.child;null!==i;){if(5===i.tag||6===i.tag)o=e,a=i.stateNode,o.appendChild(a);else if(4===i.tag);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)return;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Bv=function(e,t,n,r,o){var a=e.memoizedProps;if(a!==r){var i=function(e,t,n,r,o,a){var i=a;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var l=""+r.children,s=zs(i.ancestorInfo,t);Ls(null,l,s)}return Ps(e,t,n,r)}(t.stateNode,n,a,r,0,Uf());t.updateQueue=i,i&&Zv(t)}},$v=function(e,t,n,r){n!==r&&Zv(t)};var im;im=new Set;var lm=!1,sm=!1,um="function"==typeof WeakSet?WeakSet:Set,cm=null,dm=null,fm=null;function pm(e,t){try{km(4,e)}catch(n){Iy(e,t,n)}}function hm(e,t,n){try{!function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,2&e.mode)try{Kh(),t.componentWillUnmount()}finally{Gh(e)}else t.componentWillUnmount()}(e,n)}catch(n){Iy(e,t,n)}}function vm(e,t){try{Cm(e)}catch(n){Iy(e,t,n)}}function mm(e,t){var n=e.ref;if(null!==n)if("function"==typeof n){var r;try{if(2&e.mode)try{Kh(),r=n(null)}finally{Gh(e)}else r=n(null)}catch(n){Iy(e,t,n)}"function"==typeof r&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",He(e))}else n.current=null}function gm(e,t,n){try{n()}catch(n){Iy(e,t,n)}}var ym=!1;function bm(e,t){Qs(e.containerInfo),cm=t,function(){for(;null!==cm;){var e=cm,t=e.child;0!=(e.subtreeFlags&hr)&&null!==t?(t.return=e,cm=t):wm()}}();var n=ym;return ym=!1,n}function wm(){for(;null!==cm;){var e=cm;$e(e);try{Em(e)}catch(t){Iy(e,e.return,t)}Be();var t=e.sibling;if(null!==t)return t.return=e.return,void(cm=t);cm=e.return}}function Em(e){var t,n=e.alternate;if(0!=(e.flags&tr)){switch($e(e),e.tag){case 0:case s:case f:break;case 1:if(null!==n){var r=n.memoizedProps,o=n.memoizedState,i=e.stateNode;e.type!==e.elementType||pv||(i.props!==e.memoizedProps&&a("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",He(e)||"instance"),i.state!==e.memoizedState&&a("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",He(e)||"instance"));var l=i.getSnapshotBeforeUpdate(e.elementType===e.type?r:fd(e.type,r),o),u=im;void 0!==l||u.has(e.type)||(u.add(e.type),a("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",He(e))),i.__reactInternalSnapshotBeforeUpdate=l}break;case 3:var c=e.stateNode;1===(t=c.containerInfo).nodeType?t.textContent="":9===t.nodeType&&t.documentElement&&t.removeChild(t.documentElement);break;case 5:case 6:case 4:case p:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}Be()}}function Sm(e,t,n){var r,o=t.updateQueue,a=null!==o?o.lastEffect:null;if(null!==a){var i=a.next,l=i;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,void 0!==s&&(0!=(8&e)?(r=t,null!==Br&&"function"==typeof Br.markComponentPassiveEffectUnmountStarted&&Br.markComponentPassiveEffectUnmountStarted(r)):0!=(4&e)&&eo(t),0!=(2&e)&&Yy(!0),gm(t,n,s),0!=(2&e)&&Yy(!1),0!=(8&e)?null!==Br&&"function"==typeof Br.markComponentPassiveEffectUnmountStopped&&Br.markComponentPassiveEffectUnmountStopped():0!=(4&e)&&to())}l=l.next}while(l!==i)}}function km(e,t){var n,r=t.updateQueue,o=null!==r?r.lastEffect:null;if(null!==o){var i=o.next,l=i;do{if((l.tag&e)===e){0!=(8&e)?(n=t,null!==Br&&"function"==typeof Br.markComponentPassiveEffectMountStarted&&Br.markComponentPassiveEffectMountStarted(n)):0!=(4&e)&&Jr(t);var s=l.create;0!=(2&e)&&Yy(!0),l.destroy=s(),0!=(2&e)&&Yy(!1),0!=(8&e)?null!==Br&&"function"==typeof Br.markComponentPassiveEffectMountStopped&&Br.markComponentPassiveEffectMountStopped():0!=(4&e)&&null!==Br&&"function"==typeof Br.markComponentLayoutEffectMountStopped&&Br.markComponentLayoutEffectMountStopped();var u=l.destroy;if(void 0!==u&&"function"!=typeof u){var c=void 0;a("%s must not return anything besides a function, which is used for clean-up.%s",c=0!=(4&l.tag)?"useLayoutEffect":0!=(2&l.tag)?"useInsertionEffect":"useEffect",null===u?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof u.then?"\n\nIt looks like you wrote "+c+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+c+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching":" You returned: "+u)}}l=l.next}while(l!==i)}}function _m(e,t){if(0!=(4&t.flags)&&t.tag===u){var n=t.stateNode.passiveEffectDuration,r=t.memoizedProps,o=r.id,a=r.onPostCommit,i=Vh(),l=null===t.alternate?"mount":"update";jh()&&(l="nested-update"),"function"==typeof a&&a(o,l,n,i);var s=t.return;e:for(;null!==s;){switch(s.tag){case 3:s.stateNode.passiveEffectDuration+=n;break e;case u:s.stateNode.passiveEffectDuration+=n;break e}s=s.return}}}function Tm(e,t,n,r){if(0!=(n.flags&mr))switch(n.tag){case 0:case s:case f:if(!sm)if(2&n.mode)try{Kh(),km(5,n)}finally{Gh(n)}else km(5,n);break;case 1:var o=n.stateNode;if(4&n.flags&&!sm)if(null===t)if(n.type!==n.elementType||pv||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",He(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",He(n)||"instance")),2&n.mode)try{Kh(),o.componentDidMount()}finally{Gh(n)}else o.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:fd(n.type,t.memoizedProps),l=t.memoizedState;if(n.type!==n.elementType||pv||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",He(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",He(n)||"instance")),2&n.mode)try{Kh(),o.componentDidUpdate(i,l,o.__reactInternalSnapshotBeforeUpdate)}finally{Gh(n)}else o.componentDidUpdate(i,l,o.__reactInternalSnapshotBeforeUpdate)}var d=n.updateQueue;null!==d&&(n.type!==n.elementType||pv||(o.props!==n.memoizedProps&&a("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",He(n)||"instance"),o.state!==n.memoizedState&&a("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",He(n)||"instance")),Qd(0,d,o));break;case 3:var h=n.updateQueue;if(null!==h){var b=null;if(null!==n.child)switch(n.child.tag){case 5:case 1:b=n.child.stateNode}Qd(0,h,b)}break;case 5:var w=n.stateNode;if(null===t&&4&n.flags)!function(e,t,n,r){switch(t){case"button":case"input":case"select":case"textarea":return void(n.autoFocus&&e.focus());case"img":n.src&&(e.src=n.src)}}(w,n.type,n.memoizedProps);break;case 6:case 4:break;case u:var E=n.memoizedProps,S=E.onCommit,k=E.onRender,_=n.stateNode.effectDuration,T=Vh(),x=null===t?"mount":"update";jh()&&(x="nested-update"),"function"==typeof k&&k(n.memoizedProps.id,x,n.actualDuration,n.treeBaseDuration,n.actualStartTime,T),"function"==typeof S&&S(n.memoizedProps.id,x,_,T),D=n,Vg.push(D),Fg||(Fg=!0,$y(zr,(function(){return Cy(),null})));var C=n.return;e:for(;null!==C;){switch(C.tag){case 3:C.stateNode.effectDuration+=_;break e;case u:C.stateNode.effectDuration+=_;break e}C=C.return}break;case c:!function(e,t){if(null===t.memoizedState){var n=t.alternate;if(null!==n){var r=n.memoizedState;if(null!==r){var o=r.dehydrated;null!==o&&function(e){$a(e)}(o)}}}}(0,n);break;case v:case p:case m:case g:case y:case 25:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}var D;sm||n.flags&er&&Cm(n)}function xm(e){switch(e.tag){case 0:case s:case f:if(2&e.mode)try{Kh(),pm(e,e.return)}finally{Gh(e)}else pm(e,e.return);break;case 1:var t=e.stateNode;"function"==typeof t.componentDidMount&&function(e,t,n){try{n.componentDidMount()}catch(n){Iy(e,t,n)}}(e,e.return,t),vm(e,e.return);break;case 5:vm(e,e.return)}}function Cm(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;if(e.tag,n=r,"function"==typeof t){var o;if(2&e.mode)try{Kh(),o=t(n)}finally{Gh(e)}else o=t(n);"function"==typeof o&&a("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",He(e))}else t.hasOwnProperty("current")||a("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",He(e)),t.current=n}}function Dm(e){var t,n=e.alternate;if(null!==n&&(e.alternate=null,Dm(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag){var r=e.stateNode;null!==r&&(delete(t=r)[gu],delete t[yu],delete t[wu],delete t[Eu],delete t[Su])}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Rm(e){return 5===e.tag||3===e.tag||4===e.tag}function Pm(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||Rm(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&t.tag!==h;){if(2&t.flags)continue e;if(null===t.child||4===t.tag)continue e;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}function Im(e){var t=function(e){for(var t=e.return;null!==t;){if(Rm(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e);switch(t.tag){case 5:var n=t.stateNode;32&t.flags&&(au(n),t.flags&=-33),Nm(e,Pm(e),n);break;case 3:case 4:var r=t.stateNode.containerInfo;Mm(e,Pm(e),r);break;default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Mm(e,t,n){var r=e.tag;if(5===r||6===r){var o=e.stateNode;t?function(e,t,n){8===e.nodeType?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(n,o,t):function(e,t){var n;8===e.nodeType?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t),null==e._reactRootContainer&&null===n.onclick&&Ds(n)}(n,o)}else if(4===r);else{var a=e.child;if(null!==a){Mm(a,t,n);for(var i=a.sibling;null!==i;)Mm(i,t,n),i=i.sibling}}}function Nm(e,t,n){var r=e.tag;if(5===r||6===r){var o=e.stateNode;t?function(e,t,n){e.insertBefore(t,n)}(n,o,t):function(e,t){e.appendChild(t)}(n,o)}else if(4===r);else{var a=e.child;if(null!==a){Nm(a,t,n);for(var i=a.sibling;null!==i;)Nm(i,t,n),i=i.sibling}}}var Om=null,Am=!1;function Lm(e,t,n){var r,o,a=t;e:for(;null!==a;){switch(a.tag){case 5:Om=a.stateNode,Am=!1;break e;case 3:case 4:Om=a.stateNode.containerInfo,Am=!0;break e}a=a.return}if(null===Om)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");Hm(e,t,n),Om=null,Am=!1,null!==(o=(r=n).alternate)&&(o.return=null),r.return=null}function zm(e,t,n){for(var r=n.child;null!==r;)Hm(e,t,r),r=r.sibling}function Hm(e,t,n){switch(function(e){if(Wr&&"function"==typeof Wr.onCommitFiberUnmount)try{Wr.onCommitFiberUnmount(Vr,e)}catch(e){$r||($r=!0,a("React instrumentation encountered an error: %s",e))}}(n),n.tag){case 5:sm||mm(n,t);case 6:var r=Om,o=Am;return Om=null,zm(e,t,n),Am=o,void(null!==(Om=r)&&(Am?(k=Om,_=n.stateNode,8===k.nodeType?k.parentNode.removeChild(_):k.removeChild(_)):function(e,t){e.removeChild(t)}(Om,n.stateNode)));case h:return void(null!==Om&&(Am?function(e,t){8===e.nodeType?iu(e.parentNode,t):1===e.nodeType&&iu(e,t),$a(e)}(Om,n.stateNode):iu(Om,n.stateNode)));case 4:var i=Om,l=Am;return Om=n.stateNode.containerInfo,Am=!0,zm(e,t,n),Om=i,void(Am=l);case 0:case s:case d:case f:if(!sm){var u=n.updateQueue;if(null!==u){var c=u.lastEffect;if(null!==c){var p=c.next,v=p;do{var y=v,b=y.destroy,w=y.tag;void 0!==b&&(0!=(2&w)?gm(n,t,b):0!=(4&w)&&(eo(n),2&n.mode?(Kh(),gm(n,t,b),Gh(n)):gm(n,t,b),to())),v=v.next}while(v!==p)}}}return void zm(e,t,n);case 1:if(!sm){mm(n,t);var E=n.stateNode;"function"==typeof E.componentWillUnmount&&hm(n,t,E)}return void zm(e,t,n);case m:return void zm(e,t,n);case g:if(1&n.mode){var S=sm;sm=S||null!==n.memoizedState,zm(e,t,n),sm=S}else zm(e,t,n);break;default:return void zm(e,t,n)}var k,_}function Fm(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new um),t.forEach((function(t){var r=Ay.bind(null,e,t);if(!n.has(t)){if(n.add(t),qr){if(null===dm||null===fm)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Wy(fm,dm)}t.then(r,r)}}))}}function Um(e,t,n){var r=t.deletions;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o];try{Lm(e,t,a)}catch(e){Iy(a,t,e)}}var i=Ue;if(t.subtreeFlags&vr)for(var l=t.child;null!==l;)$e(l),jm(l,e),l=l.sibling;$e(i)}function jm(e,t,n){var r=e.alternate,o=e.flags;switch(e.tag){case 0:case s:case d:case f:if(Um(t,e),Vm(e),4&o){try{Sm(3,e,e.return),km(3,e)}catch(t){Iy(e,e.return,t)}if(2&e.mode){try{Kh(),Sm(5,e,e.return)}catch(t){Iy(e,e.return,t)}Gh(e)}else try{Sm(5,e,e.return)}catch(t){Iy(e,e.return,t)}}return;case 1:return Um(t,e),Vm(e),void(o&er&&null!==r&&mm(r,r.return));case 5:if(Um(t,e),Vm(e),o&er&&null!==r&&mm(r,r.return),32&e.flags){var a=e.stateNode;try{au(a)}catch(t){Iy(e,e.return,t)}}if(4&o){var i=e.stateNode;if(null!=i){var l=e.memoizedProps,u=null!==r?r.memoizedProps:l,p=e.type,h=e.updateQueue;if(e.updateQueue=null,null!==h)try{!function(e,t,n,r,o,a){Is(e,t,n,r,o),Iu(e,o)}(i,h,p,u,l)}catch(t){Iy(e,e.return,t)}}}return;case 6:if(Um(t,e),Vm(e),4&o){if(null===e.stateNode)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var b=e.stateNode,w=e.memoizedProps;null!==r&&r.memoizedProps;try{!function(e,t,n){e.nodeValue=n}(b,0,w)}catch(t){Iy(e,e.return,t)}}return;case 3:if(Um(t,e),Vm(e),4&o)if(null!==r)if(r.memoizedState.isDehydrated)try{$a(t.containerInfo)}catch(t){Iy(e,e.return,t)}return;case 4:return Um(t,e),void Vm(e);case c:Um(t,e),Vm(e);var E=e.child;if(E.flags&or){var S=E.stateNode,k=null!==E.memoizedState;if(S.isHidden=k,k)null!==E.alternate&&null!==E.alternate.memoizedState||(Ig=Nr())}if(4&o){try{!function(e){e.memoizedState}(e)}catch(t){Iy(e,e.return,t)}Fm(e)}return;case g:var _=null!==r&&null!==r.memoizedState;if(1&e.mode){var T=sm;sm=T||_,Um(t,e),sm=T}else Um(t,e);if(Vm(e),o&or){var x=e.stateNode,C=null!==e.memoizedState,D=e;if(x.isHidden=C,C&&!_&&0!=(1&D.mode)){cm=D;for(var R=D.child;null!==R;)cm=R,qm(R),R=R.sibling}!function(e,t){for(var n=null,r=e;;){if(5===r.tag){if(null===n){n=r;try{var o=r.stateNode;t?lu(o):su(r.stateNode,r.memoizedProps)}catch(t){Iy(e,e.return,t)}}}else if(6===r.tag){if(null===n)try{var a=r.stateNode;t?a.nodeValue="":uu(a,r.memoizedProps)}catch(t){Iy(e,e.return,t)}}else if((r.tag!==g&&r.tag!==y||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;n===r&&(n=null),r=r.return}n===r&&(n=null),r.sibling.return=r.return,r=r.sibling}}(D,C)}return;case v:return Um(t,e),Vm(e),void(4&o&&Fm(e));case m:return;default:return Um(t,e),void Vm(e)}}function Vm(e){var t=e.flags;if(2&t){try{Im(e)}catch(t){Iy(e,e.return,t)}e.flags&=-3}t&rr&&(e.flags&=-4097)}function Wm(e,t,n){dm=n,fm=t,cm=e,Bm(e,t,n),dm=null,fm=null}function Bm(e,t,n){for(var r=0!=(1&e.mode);null!==cm;){var o=cm,a=o.child;if(o.tag===g&&r){var i=null!==o.memoizedState||lm;if(i){$m(e,t,n);continue}var l=o.alternate,s=null!==l&&null!==l.memoizedState,u=lm,c=sm;lm=i,(sm=s||sm)&&!c&&(cm=o,Ym(o));for(var d=a;null!==d;)cm=d,Bm(d,t,n),d=d.sibling;cm=o,lm=u,sm=c,$m(e,t,n)}else 0!=(o.subtreeFlags&mr)&&null!==a?(a.return=o,cm=a):$m(e,t,n)}}function $m(e,t,n){for(;null!==cm;){var r=cm;if(0!=(r.flags&mr)){var o=r.alternate;$e(r);try{Tm(0,o,r)}catch(e){Iy(r,r.return,e)}Be()}if(r===e)return void(cm=null);var a=r.sibling;if(null!==a)return a.return=r.return,void(cm=a);cm=r.return}}function qm(e){for(;null!==cm;){var t=cm,n=t.child;switch(t.tag){case 0:case s:case d:case f:if(2&t.mode)try{Kh(),Sm(4,t,t.return)}finally{Gh(t)}else Sm(4,t,t.return);break;case 1:mm(t,t.return);var r=t.stateNode;"function"==typeof r.componentWillUnmount&&hm(t,t.return,r);break;case 5:mm(t,t.return);break;case g:if(null!==t.memoizedState){Gm(e);continue}}null!==n?(n.return=t,cm=n):Gm(e)}}function Gm(e){for(;null!==cm;){var t=cm;if(t===e)return void(cm=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(cm=n);cm=t.return}}function Ym(e){for(;null!==cm;){var t=cm,n=t.child;if(t.tag===g)if(null!==t.memoizedState){Km(e);continue}null!==n?(n.return=t,cm=n):Km(e)}}function Km(e){for(;null!==cm;){var t=cm;$e(t);try{xm(t)}catch(e){Iy(t,t.return,e)}if(Be(),t===e)return void(cm=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(cm=n);cm=t.return}}function Qm(e,t,n,r){cm=t,function(e,t,n,r){for(;null!==cm;){var o=cm,a=o.child;0!=(o.subtreeFlags&gr)&&null!==a?(a.return=o,cm=a):Xm(e,t,n,r)}}(t,e,n,r)}function Xm(e,t,n,r){for(;null!==cm;){var o=cm;if(0!=(o.flags&nr)){$e(o);try{Zm(t,o,n,r)}catch(e){Iy(o,o.return,e)}Be()}if(o===e)return void(cm=null);var a=o.sibling;if(null!==a)return a.return=o.return,void(cm=a);cm=o.return}}function Zm(e,t,n,r){switch(t.tag){case 0:case s:case f:if(2&t.mode){Qh();try{km(9,t)}finally{Yh(t)}}else km(9,t)}}function Jm(e){cm=e,function(){for(;null!==cm;){var e=cm,t=e.child;if(0!=(cm.flags&Xn)){var n=e.deletions;if(null!==n){for(var r=0;r<n.length;r++){var o=n[r];cm=o,ng(o,e)}var a=e.alternate;if(null!==a){var i=a.child;if(null!==i){a.child=null;do{var l=i.sibling;i.sibling=null,i=l}while(null!==i)}}cm=e}}0!=(e.subtreeFlags&gr)&&null!==t?(t.return=e,cm=t):eg()}}()}function eg(){for(;null!==cm;){var e=cm;0!=(e.flags&nr)&&($e(e),tg(e),Be());var t=e.sibling;if(null!==t)return t.return=e.return,void(cm=t);cm=e.return}}function tg(e){switch(e.tag){case 0:case s:case f:2&e.mode?(Qh(),Sm(9,e,e.return),Yh(e)):Sm(9,e,e.return)}}function ng(e,t){for(;null!==cm;){var n=cm;$e(n),og(n,t),Be();var r=n.child;null!==r?(r.return=n,cm=r):rg(e)}}function rg(e){for(;null!==cm;){var t=cm,n=t.sibling,r=t.return;if(Dm(t),t===e)return void(cm=null);if(null!==n)return n.return=r,void(cm=n);cm=r}}function og(e,t){switch(e.tag){case 0:case s:case f:2&e.mode?(Qh(),Sm(8,e,t),Yh(e)):Sm(8,e,t)}}function ag(e){switch(e.tag){case 0:case s:case f:try{km(5,e)}catch(t){Iy(e,e.return,t)}break;case 1:var t=e.stateNode;try{t.componentDidMount()}catch(t){Iy(e,e.return,t)}}}function ig(e){switch(e.tag){case 0:case s:case f:try{km(9,e)}catch(t){Iy(e,e.return,t)}}}function lg(e){switch(e.tag){case 0:case s:case f:try{Sm(5,e,e.return)}catch(t){Iy(e,e.return,t)}break;case 1:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&hm(e,e.return,t)}}function sg(e){switch(e.tag){case 0:case s:case f:try{Sm(9,e,e.return)}catch(t){Iy(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var ug=Symbol.for;ug("selector.component"),ug("selector.has_pseudo_class"),ug("selector.role"),ug("selector.test_id"),ug("selector.text")}var cg=[];var dg=n.ReactCurrentActQueue;function fg(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===dg.current||a("The current testing environment is not configured to support act(...)"),e}var pg=Math.ceil,hg=n.ReactCurrentDispatcher,vg=n.ReactCurrentOwner,mg=n.ReactCurrentBatchConfig,gg=n.ReactCurrentActQueue,yg=0,bg=null,wg=null,Eg=0,Sg=0,kg=Uu(0),_g=0,Tg=null,xg=0,Cg=0,Dg=0,Rg=null,Pg=null,Ig=0,Mg=1/0,Ng=null;function Og(){Mg=Nr()+500}function Ag(){return Mg}var Lg=!1,zg=null,Hg=null,Fg=!1,Ug=null,jg=0,Vg=[],Wg=null,Bg=0,$g=null,qg=!1,Gg=!1,Yg=0,Kg=null,Qg=Uo,Xg=0,Zg=!1;function Jg(){return bg}function ey(){return 0!=(6&yg)?Nr():Qg!==Uo?Qg:Qg=Nr()}function ty(e){if(0==(1&e.mode))return 1;if(0!=(2&yg)&&0!==Eg)return Jo(Eg);if(null!==ed.transition){if(null!==mg.transition){var t=mg.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return 0===Xg&&(Xg=Xo()),Xg}var n,r=ka();return 0!==r?r:void 0===(n=window.event)?wa:ei(n.type)}function ny(e){var t;return 0==(1&e.mode)?1:(t=Vo,0==((Vo<<=1)&Co)&&(Vo=Do),t)}function ry(e,t,n,r){!function(){if(Bg>50)throw Bg=0,$g=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Yg>50&&(Yg=0,Kg=null,a("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),Zg&&a("useInsertionEffect must not schedule updates."),qg&&(Gg=!0),sa(e,n,r),0!=(2&yg)&&e===bg?function(e){if(je&&!vh)switch(e.tag){case 0:case s:case f:var t=wg&&He(wg)||"Unknown",n=t;if(!jy.has(n))jy.add(n),a("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",He(e)||"Unknown",t,t);break;case 1:Vy||(a("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),Vy=!0)}}(t):(qr&&da(e,t,n),function(e){if(1&e.mode){if(!fg())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(0!==yg)return;if(0!==e.tag&&e.tag!==s&&e.tag!==f)return}var t;if(null===gg.current){var n=Ue;try{$e(e),a("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act",He(e))}finally{n?$e(e):Be()}}}(t),e===bg&&(0==(2&yg)&&(Cg=oa(Cg,n)),4===_g&&sy(e,Eg)),oy(e,r),1!==n||0!==yg||0!=(1&t.mode)||gg.isBatchingLegacy||(Og(),uc()))}function oy(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,o=e.pingedLanes,a=e.expirationTimes,i=n;i>0;){var l=ea(i),s=1<<l,u=a[l];u===Uo?0!=(s&r)&&0==(s&o)||(a[l]=$o(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=Bo(e,e===bg?Eg:0);if(0===r)return null!==n&&qy(n),e.callbackNode=null,void(e.callbackPriority=0);var o=Zo(r),i=e.callbackPriority;if(i!==o||null!==gg.current&&n!==By){var l,s;if(null!=n&&qy(n),1===o)0===e.tag?(null!==gg.isBatchingLegacy&&(gg.didScheduleLegacyUpdate=!0),s=uy.bind(null,e),ic=!0,sc(s)):sc(uy.bind(null,e)),null!==gg.current?gg.current.push(cc):ru((function(){0==(6&yg)&&cc()})),l=null;else{var u;switch(xa(r)){case ya:u=Ar;break;case ba:u=Lr;break;case wa:u=zr;break;case Ea:u=Fr;break;default:u=zr}l=$y(u,ay.bind(null,e))}e.callbackPriority=o,e.callbackNode=l}else null==n&&1!==i&&a("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function ay(e,t){if(Fh=!1,Uh=!1,Qg=Uo,Xg=0,0!=(6&yg))throw new Error("Should not already be working.");var n=e.callbackNode;if(Cy()&&e.callbackNode!==n)return null;var r=Bo(e,e===bg?Eg:0);if(0===r)return null;var o=!Ko(0,r)&&!function(e,t){return 0!=(t&e.expiredLanes)}(e,r)&&!t,a=o?function(e,t){var n=yg;yg|=2;var r=gy();if(bg!==e||Eg!==t){if(qr){var o=e.memoizedUpdaters;o.size>0&&(Wy(e,Eg),o.clear()),fa(e,t)}Ng=null,Og(),vy(e,t)}oo(t);for(;;)try{ky();break}catch(t){my(e,t)}return bd(),yy(r),yg=n,null!==wg?(null!==Br&&"function"==typeof Br.markRenderYielded&&Br.markRenderYielded(),0):(ao(),bg=null,Eg=0,_g)}(e,r):Ey(e,r);if(0!==a){if(2===a){var i=qo(e);0!==i&&(r=i,a=iy(e,i))}if(1===a){var l=Tg;throw vy(e,0),sy(e,r),oy(e,Nr()),l}if(6===a)sy(e,r);else{var s=!Ko(0,r),u=e.current.alternate;if(s&&!function(e){var t=e;for(;;){if(t.flags&ar){var n=t.updateQueue;if(null!==n){var r=n.stores;if(null!==r)for(var o=0;o<r.length;o++){var a=r[o],i=a.getSnapshot,l=a.value;try{if(!fl(i(),l))return!1}catch(e){return!1}}}}var s=t.child;if(t.subtreeFlags&ar&&null!==s)s.return=t,t=s;else{if(t===e)return!0;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}(u)){if(2===(a=Ey(e,r))){var c=qo(e);0!==c&&(r=c,a=iy(e,c))}if(1===a){var d=Tg;throw vy(e,0),sy(e,r),oy(e,Nr()),d}}e.finishedWork=u,e.finishedLanes=r,function(e,t,n){switch(t){case 0:case 1:throw new Error("Root did not complete. This is a bug in React.");case 2:case 5:xy(e,Pg,Ng);break;case 3:if(sy(e,n),Yo(n)&&!Gy()){var r=Ig+500-Nr();if(r>10){if(0!==Bo(e,0))break;var o=e.suspendedLanes;if(!ra(o,n)){ey(),ua(e,o);break}e.timeoutHandle=eu(xy.bind(null,e,Pg,Ng),r);break}}xy(e,Pg,Ng);break;case 4:if(sy(e,n),function(e){return(e&ho)===e}(n))break;if(!Gy()){var a=function(e,t){for(var n=e.eventTimes,r=Uo;t>0;){var o=ea(t),a=1<<o,i=n[o];i>r&&(r=i),t&=~a}return r}(e,n),i=a,l=Nr()-i,s=((u=l)<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3e3?3e3:u<4320?4320:1960*pg(u/1960))-l;if(s>10){e.timeoutHandle=eu(xy.bind(null,e,Pg,Ng),s);break}}xy(e,Pg,Ng);break;default:throw new Error("Unknown root exit status.")}var u}(e,a,r)}}return oy(e,Nr()),e.callbackNode===n?ay.bind(null,e):null}function iy(e,t){var n=Rg;Ca(e)&&(vy(e,t).flags|=Jn,a("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase()));var r=Ey(e,t);if(2!==r){var o=Pg;Pg=n,null!==o&&ly(o)}return r}function ly(e){null===Pg?Pg=e:Pg.push.apply(Pg,e)}function sy(e,t){t=aa(t,Dg),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var o=ea(r),a=1<<o;n[o]=Uo,r&=~a}}(e,t=aa(t,Cg))}function uy(e){if(Fh=Uh,Uh=!1,0!=(6&yg))throw new Error("Should not already be working.");Cy();var t=Bo(e,0);if(!na(t,1))return oy(e,Nr()),null;var n=Ey(e,t);if(0!==e.tag&&2===n){var r=qo(e);0!==r&&(t=r,n=iy(e,r))}if(1===n){var o=Tg;throw vy(e,0),sy(e,t),oy(e,Nr()),o}if(6===n)throw new Error("Root did not complete. This is a bug in React.");var a=e.current.alternate;return e.finishedWork=a,e.finishedLanes=t,xy(e,Pg,Ng),oy(e,Nr()),null}function cy(e,t){var n=yg;yg|=1;try{return e(t)}finally{0!==(yg=n)||gg.isBatchingLegacy||(Og(),uc())}}function dy(e){null!==Ug&&0===Ug.tag&&0==(6&yg)&&Cy();var t=yg;yg|=1;var n=mg.transition,r=ka();try{return mg.transition=null,_a(ya),e?e():void 0}finally{_a(r),mg.transition=n,0==(6&(yg=t))&&cc()}}function fy(){return 0!=(6&yg)}function py(e,t){Vu(kg,Sg,e),Sg=oa(Sg,t)}function hy(e){Sg=kg.current,ju(kg,e)}function vy(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,tu(n)),null!==wg)for(var r=wg.return;null!==r;){r.alternate;am(0,r),r=r.return}bg=e;var o=pb(e.current,null);return wg=o,Eg=Sg=t,_g=0,Tg=null,xg=0,Cg=0,Dg=0,Rg=null,Pg=null,function(){if(null!==Dd){for(var e=0;e<Dd.length;e++){var t=Dd[e],n=t.interleaved;if(null!==n){t.interleaved=null;var r=n.next,o=t.pending;if(null!==o){var a=o.next;o.next=r,n.next=a}t.pending=n}}Dd=null}}(),td.discardPendingWarnings(),o}function my(e,t){for(;;){var n=wg;try{if(bd(),_p(),Be(),vg.current=null,null===n||null===n.return)return _g=1,Tg=t,void(wg=null);2&n.mode&&qh(n,!0),Zr(),null!==t&&"object"==typeof t&&"function"==typeof t.then?ro(n,t,Eg):no(n,t,Eg),lv(e,n.return,n,t,Eg),Ty(n)}catch(e){t=e,wg===n&&null!==n?(n=n.return,wg=n):n=wg;continue}return}}function gy(){var e=hg.current;return hg.current=_h,null===e?_h:e}function yy(e){hg.current=e}function by(e){xg=oa(e,xg)}function wy(){0!==_g&&3!==_g&&2!==_g||(_g=4),null!==bg&&(Go(xg)||Go(Cg))&&sy(bg,Eg)}function Ey(e,t){var n=yg;yg|=2;var r=gy();if(bg!==e||Eg!==t){if(qr){var o=e.memoizedUpdaters;o.size>0&&(Wy(e,Eg),o.clear()),fa(e,t)}Ng=null,vy(e,t)}for(oo(t);;)try{Sy();break}catch(t){my(e,t)}if(bd(),yg=n,yy(r),null!==wg)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return ao(),bg=null,Eg=0,_g}function Sy(){for(;null!==wg;)_y(wg)}function ky(){for(;null!==wg&&!Ir();)_y(wg)}function _y(e){var t,n=e.alternate;$e(e),0!=(2&e.mode)?(Bh(e),t=Hy(n,e,Sg),qh(e,!0)):t=Hy(n,e,Sg),Be(),e.memoizedProps=e.pendingProps,null===t?Ty(e):wg=t,vg.current=null}function Ty(e){var t=e;do{var n=t.alternate,r=t.return;if(0==(t.flags&ir)){$e(t);var o=void 0;if(0==(2&t.mode)?o=rm(n,t,Sg):(Bh(t),o=rm(n,t,Sg),qh(t,!1)),Be(),null!==o)return void(wg=o)}else{var a=om(0,t);if(null!==a)return a.flags&=32767,void(wg=a);if(0!=(2&t.mode)){qh(t,!1);for(var i=t.actualDuration,l=t.child;null!==l;)i+=l.actualDuration,l=l.sibling;t.actualDuration=i}if(null===r)return _g=6,void(wg=null);r.flags|=ir,r.subtreeFlags=0,r.deletions=null}var s=t.sibling;if(null!==s)return void(wg=s);wg=t=r}while(null!==t);0===_g&&(_g=5)}function xy(e,t,n){var r=ka(),o=mg.transition;try{mg.transition=null,_a(ya),function(e,t,n,r){do{Cy()}while(null!==Ug);if(function(){td.flushLegacyContextWarning(),td.flushPendingUnsafeLifecycleWarnings()}(),0!=(6&yg))throw new Error("Should not already be working.");var o=e.finishedWork,i=e.finishedLanes;if(function(e){null!==Br&&"function"==typeof Br.markCommitStarted&&Br.markCommitStarted(e)}(i),null===o)return Qr(),null;0===i&&a("root.finishedLanes should not be empty during a commit. This is a bug in React.");if(e.finishedWork=null,e.finishedLanes=0,o===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=0;var l=oa(o.lanes,o.childLanes);(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;for(var r=e.entanglements,o=e.eventTimes,a=e.expirationTimes,i=n;i>0;){var l=ea(i),s=1<<l;r[l]=0,o[l]=Uo,a[l]=Uo,i&=~s}})(e,l),e===bg&&(bg=null,wg=null,Eg=0);0==(o.subtreeFlags&gr)&&0==(o.flags&gr)||Fg||(Fg=!0,Wg=n,$y(zr,(function(){return Cy(),null})));var s=0!=(15990&o.subtreeFlags),u=0!=(15990&o.flags);if(s||u){var c=mg.transition;mg.transition=null;var d=ka();_a(ya);var f=yg;yg|=4,vg.current=null,bm(e,o),Wh(),function(e,t,n){dm=n,fm=e,$e(t),jm(t,e),$e(t),dm=null,fm=null}(e,o,i),e.containerInfo,_l(Ks),Ya(Ys),Ys=null,Ks=null,e.current=o,function(e){null!==Br&&"function"==typeof Br.markLayoutEffectsStarted&&Br.markLayoutEffectsStarted(e)}(i),Wm(o,e,i),null!==Br&&"function"==typeof Br.markLayoutEffectsStopped&&Br.markLayoutEffectsStopped(),Mr(),yg=f,_a(d),mg.transition=c}else e.current=o,Wh();var p=Fg;Fg?(Fg=!1,Ug=e,jg=i):(Yg=0,Kg=null);0===(l=e.pendingLanes)&&(Hg=null);p||Ly(e.current,!1);(function(e,t){if(Wr&&"function"==typeof Wr.onCommitFiberRoot)try{var n,r=(e.current.flags&Zn)===Zn;switch(t){case ya:n=Ar;break;case ba:n=Lr;break;case wa:n=zr;break;case Ea:n=Fr;break;default:n=zr}Wr.onCommitFiberRoot(Vr,e,n,r)}catch(e){$r||($r=!0,a("React instrumentation encountered an error: %s",e))}})(o.stateNode,r),qr&&e.memoizedUpdaters.clear();if(function(){cg.forEach((function(e){return e()}))}(),oy(e,Nr()),null!==t)for(var h=e.onRecoverableError,v=0;v<t.length;v++){var m=t[v],g=m.stack,y=m.digest;h(m.value,{componentStack:g,digest:y})}if(Lg){Lg=!1;var b=zg;throw zg=null,b}na(jg,1)&&0!==e.tag&&Cy();na(l=e.pendingLanes,1)?(Uh=!0,e===$g?Bg++:(Bg=0,$g=e)):Bg=0;cc(),Qr()}(e,t,n,r)}finally{mg.transition=o,_a(r)}return null}function Cy(){if(null!==Ug){var e=xa(jg),t=(i=e,0===(o=wa)||o>i?o:i),n=mg.transition,r=ka();try{return mg.transition=null,_a(t),function(){if(null===Ug)return!1;var e=Wg;Wg=null;var t=Ug,n=jg;if(Ug=null,jg=0,0!=(6&yg))throw new Error("Cannot flush passive effects while already rendering.");qg=!0,Gg=!1,function(e){null!==Br&&"function"==typeof Br.markPassiveEffectsStarted&&Br.markPassiveEffectsStarted(e)}(n);var r=yg;yg|=4,Jm(t.current),Qm(t,t.current,n,e);var o=Vg;Vg=[];for(var i=0;i<o.length;i++){_m(0,o[i])}void(null!==Br&&"function"==typeof Br.markPassiveEffectsStopped&&Br.markPassiveEffectsStopped()),Ly(t.current,!0),yg=r,cc(),Gg?t===Kg?Yg++:(Yg=0,Kg=t):Yg=0;qg=!1,Gg=!1,function(e){if(Wr&&"function"==typeof Wr.onPostCommitFiberRoot)try{Wr.onPostCommitFiberRoot(Vr,e)}catch(e){$r||($r=!0,a("React instrumentation encountered an error: %s",e))}}(t);var l=t.current.stateNode;return l.effectDuration=0,l.passiveEffectDuration=0,!0}()}finally{_a(r),mg.transition=n}}var o,i;return!1}function Dy(e){return null!==Hg&&Hg.has(e)}var Ry=function(e){Lg||(Lg=!0,zg=e)};function Py(e,t,n){var r=Vd(e,nv(e,Zh(n,t),1),1),o=ey();null!==r&&(sa(r,1,o),oy(r,o))}function Iy(e,t,n){if(function(e){Yn(null,(function(){throw e})),Kn()}(n),Yy(!1),3!==e.tag){var r=null;for(r=t;null!==r;){if(3===r.tag)return void Py(r,e,n);if(1===r.tag){var o=r.type,i=r.stateNode;if("function"==typeof o.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&!Dy(i)){var l=Vd(r,rv(r,Zh(n,e),1),1),s=ey();return void(null!==l&&(sa(l,1,s),oy(l,s)))}}r=r.return}a("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}else Py(e,e,n)}function My(e,t,n){var r=e.pingCache;null!==r&&r.delete(t);var o=ey();ua(e,n),function(e){0!==e.tag&&fg()&&null===gg.current&&a("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act")}(e),bg===e&&ra(Eg,n)&&(4===_g||3===_g&&Yo(Eg)&&Nr()-Ig<500?vy(e,0):Dg=oa(Dg,n)),oy(e,o)}function Ny(e,t){0===t&&(t=ny(e));var n=ey(),r=Md(e,t);null!==r&&(sa(r,t,n),oy(r,n))}function Oy(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Ny(e,n)}function Ay(e,t){var n,r=0;switch(e.tag){case c:n=e.stateNode;var o=e.memoizedState;null!==o&&(r=o.retryLane);break;case v:n=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==n&&n.delete(t),Ny(e,r)}function Ly(e,t){$e(e),zy(e,fr,lg),t&&zy(e,pr,sg),zy(e,fr,ag),t&&zy(e,pr,ig),Be()}function zy(e,t,n){for(var r=e,o=null;null!==r;){var a=r.subtreeFlags&t;r!==o&&null!==r.child&&0!==a?r=r.child:(0!=(r.flags&t)&&n(r),r=null!==r.sibling?r.sibling:o=r.return)}}var Hy,Fy=null;function Uy(e){if(0==(2&yg)&&1&e.mode){var t=e.tag;if(2===t||3===t||1===t||0===t||t===s||t===d||t===f){var n=He(e)||"ReactComponent";if(null!==Fy){if(Fy.has(n))return;Fy.add(n)}else Fy=new Set([n]);var r=Ue;try{$e(e),a("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{r?$e(e):Be()}}}}Hy=function(e,t,n){var r=Eb(null,t);try{return Xv(e,t,n)}catch(a){if(Pc||null!==a&&"object"==typeof a&&"function"==typeof a.then)throw a;if(bd(),_p(),am(0,t),Eb(t,r),2&t.mode&&Bh(t),Yn(null,Xv,null,e,t,n),Wn){var o=Kn();"object"==typeof o&&null!==o&&o._suppressLogging&&"object"==typeof a&&null!==a&&!a._suppressLogging&&(a._suppressLogging=!0)}throw a}};var jy,Vy=!1;function Wy(e,t){qr&&e.memoizedUpdaters.forEach((function(n){da(e,n,t)}))}jy=new Set;var By={};function $y(e,t){var n=gg.current;return null!==n?(n.push(t),By):Rr(e,t)}function qy(e){if(e!==By)return Pr(e)}function Gy(){return null!==gg.current}function Yy(e){Zg=e}var Ky=null,Qy=null,Xy=function(e){Ky=e};function Zy(e){if(null===Ky)return e;var t=Ky(e);return void 0===t?e:t.current}function Jy(e){return Zy(e)}function eb(e){if(null===Ky)return e;var t=Ky(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=Zy(e.render);if(e.render!==n){var r={$$typeof:ie,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function tb(e,t){if(null===Ky)return!1;var n=e.elementType,r=t.type,o=!1,a="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case 1:"function"==typeof r&&(o=!0);break;case 0:("function"==typeof r||a===ce)&&(o=!0);break;case s:(a===ie||a===ce)&&(o=!0);break;case d:case f:(a===ue||a===ce)&&(o=!0);break;default:return!1}if(o){var i=Ky(n);if(void 0!==i&&i===Ky(r))return!0}return!1}function nb(e){null!==Ky&&"function"==typeof WeakSet&&(null===Qy&&(Qy=new WeakSet),Qy.add(e))}var rb=function(e,t){if(null!==Ky){var n=t.staleFamilies,r=t.updatedFamilies;Cy(),dy((function(){ab(e.current,r,n)}))}},ob=function(e,t){e.context===Wu&&(Cy(),dy((function(){Ib(t,e,null,null)})))};function ab(e,t,n){var r=e.alternate,o=e.child,a=e.sibling,i=e.tag,l=e.type,u=null;switch(i){case 0:case f:case 1:u=l;break;case s:u=l.render}if(null===Ky)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,d=!1;if(null!==u){var p=Ky(u);void 0!==p&&(n.has(p)?d=!0:t.has(p)&&(1===i?d=!0:c=!0))}if(null!==Qy&&(Qy.has(e)||null!==r&&Qy.has(r))&&(d=!0),d&&(e._debugNeedsRemount=!0),d||c){var h=Md(e,1);null!==h&&ry(h,e,1,Uo)}null===o||d||ab(o,t,n),null!==a&&ab(a,t,n)}var ib,lb=function(e,t){var n=new Set,r=new Set(t.map((function(e){return e.current})));return sb(e.current,r,n),n};function sb(e,t,n){var r=e.child,o=e.sibling,a=e.tag,i=e.type,l=null;switch(a){case 0:case f:case 1:l=i;break;case s:l=i.render}var u=!1;null!==l&&t.has(l)&&(u=!0),u?function(e,t){if(function(e,t){var n=e,r=!1;for(;;){if(5===n.tag)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t))return;var n=e;for(;;){switch(n.tag){case 5:return void t.add(n.stateNode);case 4:case 3:return void t.add(n.stateNode.containerInfo)}if(null===n.return)throw new Error("Expected to reach root first.");n=n.return}}(e,n):null!==r&&sb(r,t,n),null!==o&&sb(o,t,n)}ib=!1;try{var ub=Object.preventExtensions({});new Map([[ub,null]]),new Set([ub])}catch(e){ib=!0}function cb(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.flags=0,this.subtreeFlags=0,this.deletions=null,this.lanes=0,this.childLanes=0,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,ib||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var db=function(e,t,n,r){return new cb(e,t,n,r)};function fb(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function pb(e,t){var n=e.alternate;null===n?((n=db(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&yr,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 2:case 0:case f:n.type=Zy(e.type);break;case 1:n.type=Jy(e.type);break;case s:n.type=eb(e.type)}return n}function hb(e,t){e.flags&=14680066;var n=e.alternate;if(null===n)e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var r=n.dependencies;e.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function vb(e,t,n,r,o,i){var f=2,p=e;if("function"==typeof e)fb(e)?(f=1,p=Jy(p)):p=Zy(p);else if("string"==typeof e)f=5;else e:switch(e){case te:return gb(n.children,o,i,t);case ne:f=8,0!=(1&(o|=8))&&(o|=lo);break;case re:return function(e,t,n,r){"string"!=typeof e.id&&a('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var o=db(u,e,r,2|t);return o.elementType=re,o.lanes=n,o.stateNode={effectDuration:0,passiveEffectDuration:0},o}(n,o,i,t);case le:return function(e,t,n,r){var o=db(c,e,r,t);return o.elementType=le,o.lanes=n,o}(n,o,i,t);case se:return function(e,t,n,r){var o=db(v,e,r,t);return o.elementType=se,o.lanes=n,o}(n,o,i,t);case de:return yb(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case oe:f=l;break e;case ae:f=9;break e;case ie:f=s,p=eb(p);break e;case ue:f=d;break e;case ce:f=16,p=null;break e}var h="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var m=r?He(r):null;throw m&&(h+="\n\nCheck the render method of `"+m+"`."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+h)}var g=db(f,n,t,o);return g.elementType=e,g.type=p,g.lanes=i,g._debugOwner=r,g}function mb(e,t,n){var r;r=e._owner;var o=vb(e.type,e.key,e.props,r,t,n);return o._debugSource=e._source,o._debugOwner=e._owner,o}function gb(e,t,n,r){var o=db(7,e,r,t);return o.lanes=n,o}function yb(e,t,n,r){var o=db(g,e,r,t);o.elementType=de,o.lanes=n;return o.stateNode={isHidden:!1},o}function bb(e,t,n){var r=db(6,e,null,t);return r.lanes=n,r}function wb(e,t,n){var r=null!==e.children?e.children:[],o=db(4,r,e.key,t);return o.lanes=n,o.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},o}function Eb(e,t){return null===e&&(e=db(2,null,null,0)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function Sb(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=-1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=la(0),this.expirationTimes=la(Uo),this.pendingLanes=0,this.suspendedLanes=0,this.pingedLanes=0,this.expiredLanes=0,this.mutableReadLanes=0,this.finishedLanes=0,this.entangledLanes=0,this.entanglements=la(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var a=this.pendingUpdatersLaneMap=[],i=0;i<fo;i++)a.push(new Set);switch(t){case 1:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case 0:this._debugRootType=n?"hydrate()":"render()"}}function kb(e,t,n,r,o,a,i,l,s,u){var c=new Sb(e,t,n,l,s),d=function(e,t,n){var r;return 1===e?(r=1,!0===t&&(r|=8,r|=lo)):r=0,qr&&(r|=2),db(3,null,null,r)}(t,a);c.current=d,d.stateNode=c;var f={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};return d.memoizedState=f,Fd(d),c}var _b,Tb,xb="18.2.0";function Cb(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return I(r),{$$typeof:ee,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Db(e){if(!e)return Wu;var t=Qn(e),n=oc(t);if(1===t.tag){var r=t.type;if(Xu(r))return tc(t,r,n)}return n}function Rb(e,t,n,r,o,a,i,l){return kb(e,t,!1,null,0,r,0,a,i)}function Pb(e,t,n,r,o,a,i,l,s,u){var c=kb(n,r,!0,e,0,a,0,l,s);c.context=Db(null);var d=c.current,f=ey(),p=ty(d),h=jd(f,p);return h.callback=null!=t?t:null,Vd(d,h,p),function(e,t,n){e.current.lanes=t,sa(e,t,n),oy(e,n)}(c,p,f),c}function Ib(e,t,n,r){!function(e,t){if(Wr&&"function"==typeof Wr.onScheduleFiberRoot)try{Wr.onScheduleFiberRoot(Vr,e,t)}catch(e){$r||($r=!0,a("React instrumentation encountered an error: %s",e))}}(t,e);var o=t.current,i=ey(),l=ty(o);!function(e){null!==Br&&"function"==typeof Br.markRenderScheduled&&Br.markRenderScheduled(e)}(l);var s=Db(n);null===t.context?t.context=s:t.pendingContext=s,je&&null!==Ue&&!_b&&(_b=!0,a("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",He(Ue)||"Unknown"));var u=jd(i,l);u.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&a("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r),u.callback=r);var c=Vd(o,u,l);return null!==c&&(ry(c,o,l,i),Wd(c,o,l)),l}function Mb(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function Nb(e,t){var n,r,o=e.memoizedState;null!==o&&null!==o.dehydrated&&(o.retryLane=(n=o.retryLane,r=t,0!==n&&n<r?n:r))}function Ob(e,t){Nb(e,t);var n=e.alternate;n&&Nb(n,t)}function Ab(e){var t=Cr(e);return null===t?null:t.stateNode}_b=!1,Tb={};var Lb=function(e){return null};var zb=function(e){return!1};var Hb,Fb,Ub,jb,Vb,Wb,Bb,$b,qb,Gb=function(e,t,n){var r=t[n],o=wt(e)?e.slice():Ee({},e);return n+1===t.length?(wt(o)?o.splice(r,1):delete o[r],o):(o[r]=Gb(e[r],t,n+1),o)},Yb=function(e,t){return Gb(e,t,0)},Kb=function(e,t,n,r){var o=t[r],a=wt(e)?e.slice():Ee({},e);r+1===t.length?(a[n[r]]=a[o],wt(a)?a.splice(o,1):delete a[o]):a[o]=Kb(e[o],t,n,r+1);return a},Qb=function(e,t,n){if(t.length===n.length){for(var r=0;r<n.length-1;r++)if(t[r]!==n[r])return void o("copyWithRename() expects paths to be the same except for the deepest key");return Kb(e,t,n,0)}o("copyWithRename() expects paths of the same length")},Xb=function(e,t,n,r){if(n>=t.length)return r;var o=t[n],a=wt(e)?e.slice():Ee({},e);return a[o]=Xb(e[o],t,n+1,r),a},Zb=function(e,t,n){return Xb(e,t,0,n)},Jb=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function ew(e){var t=Tr(e);return null===t?null:t.stateNode}function tw(e){return null}function nw(){return Ue}Hb=function(e,t,n,r){var o=Jb(e,t);if(null!==o){var a=Zb(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=Ee({},e.memoizedProps);var i=Md(e,1);null!==i&&ry(i,e,1,Uo)}},Fb=function(e,t,n){var r=Jb(e,t);if(null!==r){var o=Yb(r.memoizedState,n);r.memoizedState=o,r.baseState=o,e.memoizedProps=Ee({},e.memoizedProps);var a=Md(e,1);null!==a&&ry(a,e,1,Uo)}},Ub=function(e,t,n,r){var o=Jb(e,t);if(null!==o){var a=Qb(o.memoizedState,n,r);o.memoizedState=a,o.baseState=a,e.memoizedProps=Ee({},e.memoizedProps);var i=Md(e,1);null!==i&&ry(i,e,1,Uo)}},jb=function(e,t,n){e.pendingProps=Zb(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=Md(e,1);null!==r&&ry(r,e,1,Uo)},Vb=function(e,t){e.pendingProps=Yb(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=Md(e,1);null!==n&&ry(n,e,1,Uo)},Wb=function(e,t,n){e.pendingProps=Qb(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=Md(e,1);null!==r&&ry(r,e,1,Uo)},Bb=function(e){var t=Md(e,1);null!==t&&ry(t,e,1,Uo)},$b=function(e){Lb=e},qb=function(e){zb=e};var rw="function"==typeof reportError?reportError:function(e){console.error(e)};function ow(e){this._internalRoot=e}function aw(e){this._internalRoot=e}function iw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function lw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function sw(e){1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),xu(e)&&(e._reactRootContainer?a("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):a("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}aw.prototype.render=ow.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?a("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):iw(arguments[1])?a("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==arguments[1]&&a("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(8!==n.nodeType){var r=Ab(t.current);r&&r.parentNode!==n&&a("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}Ib(e,t,null,null)},aw.prototype.unmount=ow.prototype.unmount=function(){"function"==typeof arguments[0]&&a("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fy()&&a("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),dy((function(){Ib(null,e,null,null)})),Tu(t)}},aw.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=ma(),n={blockedOn:null,target:e,priority:t},r=0;r<La.length&&Ta(t,La[r].priority);r++);La.splice(r,0,n),0===r&&Ua(n)}(e)};var uw,cw,dw=n.ReactCurrentOwner;function fw(e){return e?9===e.nodeType?e.documentElement:e.firstChild:null}function pw(){}function hw(e,t,n,r,o){uw(n),function(e,t){null!==e&&"function"!=typeof e&&a("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===o?null:o,"render");var i,l=n._reactRootContainer;if(l){if("function"==typeof o){var s=o;o=function(){var e=Mb(i);s.call(e)}}Ib(t,i=l,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=Mb(i);a.call(e)}}var i=Pb(t,r,e,0,0,!1,0,"",pw);return e._reactRootContainer=i,_u(i.current,e),es(8===e.nodeType?e.parentNode:e),dy(),i}for(var l;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var s=r;r=function(){var e=Mb(u);s.call(e)}}var u=Rb(e,0,0,!1,0,"",pw);return e._reactRootContainer=u,_u(u.current,e),es(8===e.nodeType?e.parentNode:e),dy((function(){Ib(t,u,n,r)})),u}(n,t,e,o,r);return Mb(i)}uw=function(e){if(e._reactRootContainer&&8!==e.nodeType){var t=Ab(e._reactRootContainer.current);t&&t.parentNode!==e&&a("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=fw(e);!(!r||!Du(r))&&!n&&a("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&a("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")},cw=function(e){switch(e.tag){case 3:var t=e.stateNode;if(Ca(t)){var n=function(e){return Wo(e.pendingLanes)}(t);!function(e,t){0!==t&&(ca(e,oa(t,1)),oy(e,Nr()),0==(6&yg)&&(Og(),cc()))}(t,n)}break;case c:dy((function(){var t=Md(e,1);if(null!==t){var n=ey();ry(t,e,1,n)}})),Ob(e,1)}},pa=cw,function(e){ha=e}((function(e){if(e.tag===c){var t=Oo,n=Md(e,t);if(null!==n)ry(n,e,t,ey());Ob(e,t)}})),function(e){va=e}((function(e){if(e.tag===c){var t=ty(e),n=Md(e,t);if(null!==n)ry(n,e,t,ey());Ob(e,t)}})),function(e){ma=e}(ka),function(e){ga=e}((function(e,t){var n=Sa;try{return Sa=e,t()}finally{Sa=n}})),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||a("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Tn=function(e,t,n){switch(t){case"input":return void ft(e,n);case"textarea":return void function(e,t){Rt(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&kt(n,!!t.multiple,r,!1)}(e,n)}},In=cy,Mn=dy;var vw={usingClientEntryPoint:!1,Events:[Du,Ru,Pu,Rn,Pn,cy]};var mw=function(e){var t=e.findFiberByHostInstance,r=n.ReactCurrentDispatcher;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return a("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{e=Ee({},e,{getLaneLabelMap:Kr,injectProfilingHooks:Yr}),Vr=t.inject(e),Wr=t}catch(e){a("React instrumentation encountered an error: %s.",e)}return!!t.checkDCE}({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:Hb,overrideHookStateDeletePath:Fb,overrideHookStateRenamePath:Ub,overrideProps:jb,overridePropsDeletePath:Vb,overridePropsRenamePath:Wb,setErrorHandler:$b,setSuspenseHandler:qb,scheduleUpdate:Bb,currentDispatcherRef:r,findHostInstanceByFiber:ew,findFiberByHostInstance:t||tw,findHostInstancesForRefresh:lb,scheduleRefresh:rb,scheduleRoot:ob,setRefreshHandler:Xy,getCurrentFiber:nw,reconcilerVersion:xb})}({findFiberByHostInstance:Cu,bundleType:1,version:xb,rendererPackageName:"react-dom"});if(!mw&&T&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var gw=window.location.protocol;/^(https?|file):$/.test(gw)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===gw?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}reactDom_development.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=vw,reactDom_development.createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!iw(t))throw new Error("Target container is not a DOM element.");return Cb(e,t,null,n)},reactDom_development.createRoot=function(e,t){return vw.usingClientEntryPoint||a('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!iw(e))throw new Error("createRoot(...): Target container is not a DOM element.");sw(e);var n=!1,r="",i=rw;null!=t&&(t.hydrate?o("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===J&&a("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var l=Rb(e,1,0,n,0,r,i);return _u(l.current,e),es(8===e.nodeType?e.parentNode:e),new ow(l)}(e,t)},reactDom_development.findDOMNode=function(e){var t=dw.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||a("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Le(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:1===e.nodeType?e:function(e,t){var n=Qn(e);if(void 0===n){if("function"==typeof e.render)throw new Error("Unable to find node on an unmounted component.");var r=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+r)}var o=Tr(n);if(null===o)return null;if(8&o.mode){var i=He(n)||"Component";if(!Tb[i]){Tb[i]=!0;var l=Ue;try{$e(o),8&n.mode?a("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):a("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{l?$e(l):Be()}}}return o.stateNode}(e,"findDOMNode")},reactDom_development.flushSync=function(e){return fy()&&a("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),dy(e)},reactDom_development.hydrate=function(e,t,n){if(a("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!lw(t))throw new Error("Target container is not a DOM element.");return xu(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?"),hw(null,e,t,!0,n)},reactDom_development.hydrateRoot=function(e,t,n){return vw.usingClientEntryPoint||a('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t,n){if(!iw(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");sw(e),void 0===t&&a("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=null!=n&&n.hydratedSources||null,o=!1,i="",l=rw;null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError));var s=Pb(t,null,e,1,0,o,0,i,l);if(_u(s.current,e),es(e),r)for(var u=0;u<r.length;u++)Jf(s,r[u]);return new aw(s)}(e,t,n)},reactDom_development.render=function(e,t,n){if(a("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!lw(t))throw new Error("Target container is not a DOM element.");return xu(t)&&void 0===t._reactRootContainer&&a("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?"),hw(null,e,t,!1,n)},reactDom_development.unmountComponentAtNode=function(e){if(!lw(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(xu(e)&&void 0===e._reactRootContainer&&a("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=fw(e);return t&&!Du(t)&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),dy((function(){hw(null,null,e,!1,(function(){e._reactRootContainer=null,Tu(e)}))})),!0}var n=fw(e),r=!(!n||!Du(n)),o=1===e.nodeType&&lw(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&a("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",o?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},reactDom_development.unstable_batchedUpdates=cy,reactDom_development.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(a("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!lw(n))throw new Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternals)throw new Error("parentComponent must be a valid React Component");return hw(e,t,n,!1,r)}(e,t,n,r)},reactDom_development.version=xb,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),reactDom_development}function flushSync(e){e()}if(function(e){"production"===process.env.NODE_ENV?(!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==process.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=requireReactDom_production_min()):e.exports=requireReactDom_development()}(reactDom),("undefined"!=typeof globalThis?globalThis:window).FullCalendarVDom={Component:react.exports.Component,createElement:react.exports.createElement,render:reactDom.exports.render,createRef:react.exports.createRef,Fragment:react.exports.Fragment,createContext:react.exports.createContext,createPortal:reactDom.exports.createPortal,flushSync:flushSync,unmountComponentAtNode:reactDom.exports.unmountComponentAtNode},"undefined"==typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var Component=FullCalendarVDom.Component,createElement=FullCalendarVDom.createElement;FullCalendarVDom.render;var createRef=FullCalendarVDom.createRef,Fragment=FullCalendarVDom.Fragment,createContext=FullCalendarVDom.createContext,createPortal=FullCalendarVDom.createPortal;FullCalendarVDom.flushSync,FullCalendarVDom.unmountComponentAtNode;
50
+ */function Xi(e,t,n,r){Rn(r);var a=os(t,"onChange");if(a.length>0){var o=new hi("onChange","change",null,n,r);e.push({event:o,listeners:a})}}var Zi=null,Ji=null;function el(e){Ql(e,0)}function tl(e){if(et(Ru(e)))return e}function nl(e,t){if("change"===e)return t}var rl=!1;function al(){Zi&&(Zi.detachEvent("onpropertychange",ol),Zi=null,Ji=null)}function ol(e){"value"===e.propertyName&&tl(Ji)&&function(e){var t=[];Xi(t,Ji,e,kn(e)),An(el,t)}(e)}function il(e,t,n){"focusin"===e?(al(),function(e,t){Ji=t,(Zi=e).attachEvent("onpropertychange",ol)}(t,n)):"focusout"===e&&al()}function ll(e,t){if("selectionchange"===e||"keyup"===e||"keydown"===e)return tl(Ji)}function sl(e,t){if("click"===e)return tl(t)}function ul(e,t){if("input"===e||"change"===e)return tl(t)}function cl(e,t,n,r,a,o,i){var l,s,u,c,d,f,p=n?Ru(n):window;if("select"===(c=(u=p).nodeName&&u.nodeName.toLowerCase())||"input"===c&&"file"===u.type?l=nl:Qi(p)?rl?l=ul:(l=ll,s=il):function(e){var t=e.nodeName;return t&&"input"===t.toLowerCase()&&("checkbox"===e.type||"radio"===e.type)}(p)&&(l=sl),l){var h=l(t,n);if(h)return void Xi(e,h,r,a)}s&&s(t,p,n),"focusout"===t&&(f=(d=p)._wrapperState)&&f.controlled&&"number"===d.type&&pt(d,"number",d.value)}function dl(e,t,n,r,a,o,i){var l="mouseover"===t||"pointerover"===t,s="mouseout"===t||"pointerout"===t;if(l&&r!==_n){var u=r.relatedTarget||r.fromElement;if(u&&(Cu(u)||xu(u)))return}if(s||l){var c,d,f;if(a.window===a)c=a;else{var p=a.ownerDocument;c=p?p.defaultView||p.parentWindow:window}if(s){var h=r.relatedTarget||r.toElement;if(d=n,null!==(f=h?Cu(h):null))(f!==wr(f)||5!==f.tag&&6!==f.tag)&&(f=null)}else d=null,f=n;if(d!==f){var m=yi,v="onMouseLeave",g="onMouseEnter",y="mouse";"pointerout"!==t&&"pointerover"!==t||(m=Pi,v="onPointerLeave",g="onPointerEnter",y="pointer");var b=null==d?c:Ru(d),w=null==f?c:Ru(f),S=new m(v,y+"leave",d,r,a);S.target=b,S.relatedTarget=w;var E=null;if(Cu(a)===n){var _=new m(g,y+"enter",f,r,a);_.target=w,_.relatedTarget=b,E=_}!function(e,t,n,r,a){var o=r&&a?function(e,t){for(var n=e,r=t,a=0,o=n;o;o=is(o))a++;for(var i=0,l=r;l;l=is(l))i++;for(;a-i>0;)n=is(n),a--;for(;i-a>0;)r=is(r),i--;var s=a;for(;s--;){if(n===r||null!==r&&n===r.alternate)return n;n=is(n),r=is(r)}return null}(r,a):null;null!==r&&ls(e,t,r,o,!1);null!==a&&null!==n&&ls(e,n,a,o,!0)}(e,S,E,d,f)}}}T&&(rl=function(e){if(!T)return!1;var t="on"+e,n=t in document;if(!n){var r=document.createElement("div");r.setAttribute(t,"return;"),n="function"==typeof r[t]}return n}("input")&&(!document.documentMode||document.documentMode>9));var fl="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function pl(e,t){if(fl(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++){var o=n[a];if(!x.call(t,o)||!fl(e[o],t[o]))return!1}return!0}function hl(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ml(e){for(;e;){if(e.nextSibling)return e.nextSibling;e=e.parentNode}}function vl(e,t){for(var n=hl(e),r=0,a=0;n;){if(3===n.nodeType){if(a=r+n.textContent.length,r<=t&&a>=t)return{node:n,offset:t-r};r=a}n=hl(ml(n))}}function gl(e){var t=e.ownerDocument,n=t&&t.defaultView||window,r=n.getSelection&&n.getSelection();if(!r||0===r.rangeCount)return null;var a=r.anchorNode,o=r.anchorOffset,i=r.focusNode,l=r.focusOffset;try{a.nodeType,i.nodeType}catch(e){return null}return function(e,t,n,r,a){var o=0,i=-1,l=-1,s=0,u=0,c=e,d=null;e:for(;;){for(var f=null;c!==t||0!==n&&3!==c.nodeType||(i=o+n),c!==r||0!==a&&3!==c.nodeType||(l=o+a),3===c.nodeType&&(o+=c.nodeValue.length),null!==(f=c.firstChild);)d=c,c=f;for(;;){if(c===e)break e;if(d===t&&++s===n&&(i=o),d===r&&++u===a&&(l=o),null!==(f=c.nextSibling))break;d=(c=d).parentNode}c=f}if(-1===i||-1===l)return null;return{start:i,end:l}}(e,a,o,i,l)}function yl(e){return e&&3===e.nodeType}function bl(e,t){return!(!e||!t)&&(e===t||!yl(e)&&(yl(t)?bl(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function wl(e){return e&&e.ownerDocument&&bl(e.ownerDocument.documentElement,e)}function Sl(e){try{return"string"==typeof e.contentWindow.location.href}catch(e){return!1}}function El(){for(var e=window,t=tt();t instanceof e.HTMLIFrameElement;){if(!Sl(t))return t;t=tt((e=t.contentWindow).document)}return t}function _l(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 kl(e){var t=El(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&wl(n)){null!==r&&_l(n)&&function(e,t){var n=t.start,r=t.end;void 0===r&&(r=n);"selectionStart"in e?(e.selectionStart=n,e.selectionEnd=Math.min(r,e.value.length)):function(e,t){var n=e.ownerDocument||document,r=n&&n.defaultView||window;if(r.getSelection){var a=r.getSelection(),o=e.textContent.length,i=Math.min(t.start,o),l=void 0===t.end?i:Math.min(t.end,o);if(!a.extend&&i>l){var s=l;l=i,i=s}var u=vl(e,i),c=vl(e,l);if(u&&c){if(1===a.rangeCount&&a.anchorNode===u.node&&a.anchorOffset===u.offset&&a.focusNode===c.node&&a.focusOffset===c.offset)return;var d=n.createRange();d.setStart(u.node,u.offset),a.removeAllRanges(),i>l?(a.addRange(d),a.extend(c.node,c.offset)):(d.setEnd(c.node,c.offset),a.addRange(d))}}}(e,t)}(n,r);for(var a=[],o=n;o=o.parentNode;)1===o.nodeType&&a.push({element:o,left:o.scrollLeft,top:o.scrollTop});"function"==typeof n.focus&&n.focus();for(var i=0;i<a.length;i++){var l=a[i];l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}}function Tl(e){return("selectionStart"in e?{start:e.selectionStart,end:e.selectionEnd}:gl(e))||{start:0,end:0}}var xl=T&&"documentMode"in document&&document.documentMode<=11;var Cl=null,Dl=null,Rl=null,Nl=!1;function Pl(e,t,n){var r,a=(r=n).window===r?r.document:9===r.nodeType?r:r.ownerDocument;if(!Nl&&null!=Cl&&Cl===tt(a)){var o=function(e){if("selectionStart"in e&&_l(e))return{start:e.selectionStart,end:e.selectionEnd};var t=(e.ownerDocument&&e.ownerDocument.defaultView||window).getSelection();return{anchorNode:t.anchorNode,anchorOffset:t.anchorOffset,focusNode:t.focusNode,focusOffset:t.focusOffset}}(Cl);if(!Rl||!pl(Rl,o)){Rl=o;var i=os(Dl,"onSelect");if(i.length>0){var l=new hi("onSelect","select",null,t,n);e.push({event:l,listeners:i}),l.target=Cl}}}}function Il(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Ol={animationend:Il("Animation","AnimationEnd"),animationiteration:Il("Animation","AnimationIteration"),animationstart:Il("Animation","AnimationStart"),transitionend:Il("Transition","TransitionEnd")},Ml={},Al={};function Fl(e){if(Ml[e])return Ml[e];if(!Ol[e])return e;var t=Ol[e];for(var n in t)if(t.hasOwnProperty(n)&&n in Al)return Ml[e]=t[n];return e}T&&(Al=document.createElement("div").style,"AnimationEvent"in window||(delete Ol.animationend.animation,delete Ol.animationiteration.animation,delete Ol.animationstart.animation),"TransitionEvent"in window||delete Ol.transitionend.transition);var Ll=Fl("animationend"),zl=Fl("animationiteration"),Hl=Fl("animationstart"),Ul=Fl("transitionend"),$l=new Map,jl=["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"];function Vl(e,t){$l.set(e,t),_(t,[e])}function Wl(e,t,n,r,a,o,i){var l=$l.get(t);if(void 0!==l){var s=hi,u=t;switch(t){case"keypress":if(0===ii(r))return;case"keydown":case"keyup":s=Ni;break;case"focusin":u="focus",s=wi;break;case"focusout":u="blur",s=wi;break;case"beforeblur":case"afterblur":s=wi;break;case"click":if(2===r.button)return;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":s=yi;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":s=bi;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":s=Ii;break;case Ll:case zl:case Hl:s=Si;break;case Ul:s=Oi;break;case"scroll":s=vi;break;case"wheel":s=Mi;break;case"copy":case"cut":case"paste":s=Ei;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":s=Pi}var c=0!=(4&o),d=!c&&"scroll"===t,f=function(e,t,n,r,a,o){var i=null!==t?t+"Capture":null,l=r?i:t,s=[],u=e,c=null;for(;null!==u;){var d=u,f=d.stateNode;if(5===d.tag&&null!==f&&(c=f,null!==l)){var p=Fn(u,l);null!=p&&s.push(as(u,p,c))}if(a)break;u=u.return}return s}(n,l,r.type,c,d);if(f.length>0){var p=new s(l,u,null,r,a);e.push({event:p,listeners:f})}}}function Bl(e,t,n,r,a,o,i){Wl(e,t,n,r,a,o),0==(7&o)&&(dl(e,t,n,r,a),cl(e,t,n,r,a),function(e,t,n,r,a,o,i){var l=n?Ru(n):window;switch(t){case"focusin":(Qi(l)||"true"===l.contentEditable)&&(Cl=l,Dl=n,Rl=null);break;case"focusout":Cl=null,Dl=null,Rl=null;break;case"mousedown":Nl=!0;break;case"contextmenu":case"mouseup":case"dragend":Nl=!1,Pl(e,r,a);break;case"selectionchange":if(xl)break;case"keydown":case"keyup":Pl(e,r,a)}}(e,t,n,r,a),function(e,t,n,r,a,o,i){qi(e,t,n,r,a),Gi(e,t,n,r,a)}(e,t,n,r,a))}!function(){for(var e=0;e<jl.length;e++){var t=jl[e];Vl(t.toLowerCase(),"on"+(t[0].toUpperCase()+t.slice(1)))}Vl(Ll,"onAnimationEnd"),Vl(zl,"onAnimationIteration"),Vl(Hl,"onAnimationStart"),Vl("dblclick","onDoubleClick"),Vl("focusin","onFocus"),Vl("focusout","onBlur"),Vl(Ul,"onTransitionEnd")}(),k("onMouseEnter",["mouseout","mouseover"]),k("onMouseLeave",["mouseout","mouseover"]),k("onPointerEnter",["pointerout","pointerover"]),k("onPointerLeave",["pointerout","pointerover"]),_("onChange",["change","click","focusin","focusout","input","keydown","keyup","selectionchange"]),_("onSelect",["focusout","contextmenu","dragend","focusin","keydown","keyup","mousedown","mouseup","selectionchange"]),_("onBeforeInput",["compositionend","keypress","textInput","paste"]),_("onCompositionEnd",["compositionend","focusout","keydown","keypress","keyup","mousedown"]),_("onCompositionStart",["compositionstart","focusout","keydown","keypress","keyup","mousedown"]),_("onCompositionUpdate",["compositionupdate","focusout","keydown","keypress","keyup","mousedown"]);var ql=["abort","canplay","canplaythrough","durationchange","emptied","encrypted","ended","error","loadeddata","loadedmetadata","loadstart","pause","play","playing","progress","ratechange","resize","seeked","seeking","stalled","suspend","timeupdate","volumechange","waiting"],Yl=new Set(["cancel","close","invalid","load","scroll","toggle"].concat(ql));function Gl(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,a,o,i,l,s){if(Gn.apply(this,arguments),Vn){var u=Kn();Bn||(Bn=!0,qn=u)}}(r,t,void 0,e),e.currentTarget=null}function Kl(e,t,n){var r;if(n)for(var a=t.length-1;a>=0;a--){var o=t[a],i=o.instance,l=o.currentTarget,s=o.listener;if(i!==r&&e.isPropagationStopped())return;Gl(e,s,l),r=i}else for(var u=0;u<t.length;u++){var c=t[u],d=c.instance,f=c.currentTarget,p=c.listener;if(d!==r&&e.isPropagationStopped())return;Gl(e,p,f),r=d}}function Ql(e,t){for(var n=0!=(4&t),r=0;r<e.length;r++){var a=e[r];Kl(a.event,a.listeners,n)}!function(){if(Bn){var e=qn;throw Bn=!1,qn=null,e}}()}function Xl(e,t){Yl.has(e)||o('Did not expect a listenToNonDelegatedEvent() call for "%s". This is a bug in React. Please file an issue.',e);var n=function(e){var t=e[wu];void 0===t&&(t=e[wu]=new Set);return t}(t),r=function(e,t){return e+"__"+(t?"capture":"bubble")}(e,false);n.has(r)||(ts(t,e,2,false),n.add(r))}function Zl(e,t,n){Yl.has(e)&&!t&&o('Did not expect a listenToNativeEvent() call for "%s" in the bubble phase. This is a bug in React. Please file an issue.',e);var r=0;t&&(r|=4),ts(n,e,r,t)}var Jl="_reactListening"+Math.random().toString(36).slice(2);function es(e){if(!e[Jl]){e[Jl]=!0,w.forEach((function(t){"selectionchange"!==t&&(Yl.has(t)||Zl(t,!1,e),Zl(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null!==t&&(t[Jl]||(t[Jl]=!0,Zl("selectionchange",!1,t)))}}function ts(e,t,n,r,a){var o=function(e,t,n){var r;switch(ei(t)){case yo:r=Ko;break;case bo:r=Qo;break;default:r=Xo}return r.bind(null,t,n,e)}(e,t,n),i=void 0;Ln&&("touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0)),r?void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{capture:!0,passive:r})}(e,t,o,i):function(e,t,n){e.addEventListener(t,n,!0)}(e,t,o):void 0!==i?function(e,t,n,r){e.addEventListener(t,n,{passive:r})}(e,t,o,i):function(e,t,n){e.addEventListener(t,n,!1)}(e,t,o)}function ns(e,t){return e===t||8===e.nodeType&&e.parentNode===t}function rs(e,t,n,r,a){var o=r;if(0==(1&t)&&0==(2&t)){var i=a;if(null!==r){var l=r;e:for(;;){if(null===l)return;var s=l.tag;if(3===s||4===s){var u=l.stateNode.containerInfo;if(ns(u,i))break;if(4===s)for(var c=l.return;null!==c;){var d=c.tag;if(3===d||4===d)if(ns(c.stateNode.containerInfo,i))return;c=c.return}for(;null!==u;){var f=Cu(u);if(null===f)return;var p=f.tag;if(5===p||6===p){l=o=f;continue e}u=u.parentNode}}l=l.return}}}An((function(){return function(e,t,n,r,a){var o=[];Bl(o,e,r,n,kn(n),t),Ql(o,t)}(e,t,n,o)}))}function as(e,t,n){return{instance:e,listener:t,currentTarget:n}}function os(e,t){for(var n=t+"Capture",r=[],a=e;null!==a;){var o=a,i=o.stateNode;if(5===o.tag&&null!==i){var l=i,s=Fn(a,n);null!=s&&r.unshift(as(a,s,l));var u=Fn(a,t);null!=u&&r.push(as(a,u,l))}a=a.return}return r}function is(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function ls(e,t,n,r,a){for(var o=t._reactName,i=[],l=n;null!==l&&l!==r;){var s=l,u=s.alternate,c=s.stateNode,d=s.tag;if(null!==u&&u===r)break;if(5===d&&null!==c){var f=c;if(a){var p=Fn(l,o);null!=p&&i.unshift(as(l,p,f))}else if(!a){var h=Fn(l,o);null!=h&&i.push(as(l,h,f))}}l=l.return}0!==i.length&&e.push({event:t,listeners:i})}var ss,us,cs,ds,fs,ps,hs,ms=!1,vs="dangerouslySetInnerHTML",gs="suppressContentEditableWarning",ys="suppressHydrationWarning",bs="autoFocus",ws="children",Ss="style";ss={dialog:!0,webview:!0},us=function(e,t){hn(e,t),function(e,t){"input"!==e&&"textarea"!==e&&"select"!==e||null==t||null!==t.value||mn||(mn=!0,"select"===e&&t.multiple?o("`value` prop on `%s` should not be null. Consider using an empty array when `multiple` is set to `true` to clear the component or `undefined` for uncontrolled components.",e):o("`value` prop on `%s` should not be null. Consider using an empty string to clear the component or `undefined` for uncontrolled components.",e))}(e,t),En(e,t,{registrationNameDependencies:S,possibleRegistrationNames:E})},ps=T&&!document.documentMode,cs=function(e,t,n){if(!ms){var r=ks(n),a=ks(t);a!==r&&(ms=!0,o("Prop `%s` did not match. Server: %s Client: %s",e,JSON.stringify(a),JSON.stringify(r)))}},ds=function(e){if(!ms){ms=!0;var t=[];e.forEach((function(e){t.push(e)})),o("Extra attributes from the server: %s",t)}},fs=function(e,t){!1===t?o("Expected `%s` listener to be a function, instead got `false`.\n\nIf you used to conditionally omit it with %s={condition && value}, pass %s={condition ? value : undefined} instead.",e,e,e):o("Expected `%s` listener to be a function, instead got a value of `%s` type.",e,typeof t)},hs=function(e,t){var n=e.namespaceURI===Pt?e.ownerDocument.createElement(e.tagName):e.ownerDocument.createElementNS(e.namespaceURI,e.tagName);return n.innerHTML=t,n.innerHTML};var Es=/\r\n?/g,_s=/\u0000|\uFFFD/g;function ks(e){return function(e){if(D(e))o("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.",C(e)),R(e)}(e),("string"==typeof e?e:""+e).replace(Es,"\n").replace(_s,"")}function Ts(e,t,n,r){var a=ks(t),i=ks(e);if(i!==a&&(r&&(ms||(ms=!0,o('Text content did not match. Server: "%s" Client: "%s"',i,a))),n))throw new Error("Text content does not match server-rendered HTML.")}function xs(e){return 9===e.nodeType?e:e.ownerDocument}function Cs(){}function Ds(e){e.onclick=Cs}function Rs(e,t,n,r){var a,o=ln(t,n);switch(us(t,n),t){case"dialog":Xl("cancel",e),Xl("close",e),a=n;break;case"iframe":case"object":case"embed":Xl("load",e),a=n;break;case"video":case"audio":for(var i=0;i<ql.length;i++)Xl(ql[i],e);a=n;break;case"source":Xl("error",e),a=n;break;case"img":case"image":case"link":Xl("error",e),Xl("load",e),a=n;break;case"details":Xl("toggle",e),a=n;break;case"input":st(e,n),a=lt(e,n),Xl("invalid",e);break;case"option":gt(0,n),a=n;break;case"select":Tt(e,n),a=kt(0,n),Xl("invalid",e);break;case"textarea":Dt(e,n),a=Ct(e,n),Xl("invalid",e);break;default:a=n}switch(on(t,a),function(e,t,n,r,a){for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];if(o===Ss)i&&Object.freeze(i),nn(t,i);else if(o===vs){var l=i?i.__html:void 0;null!=l&&Lt(t,l)}else o===ws?"string"==typeof i?("textarea"!==e||""!==i)&&zt(t,i):"number"==typeof i&&zt(t,""+i):o===gs||o===ys||o===bs||(S.hasOwnProperty(o)?null!=i&&("function"!=typeof i&&fs(o,i),"onScroll"===o&&Xl("scroll",t)):null!=i&&Z(t,o,i,a))}}(t,e,0,a,o),t){case"input":Je(e),dt(e,n,!1);break;case"textarea":Je(e),Nt(e);break;case"option":!function(e,t){null!=t.value&&e.setAttribute("value",Ye(Ge(t.value)))}(e,n);break;case"select":!function(e,t){var n=e;n.multiple=!!t.multiple;var r=t.value;null!=r?_t(n,!!t.multiple,r,!1):null!=t.defaultValue&&_t(n,!!t.multiple,t.defaultValue,!0)}(e,n);break;default:"function"==typeof a.onClick&&Ds(e)}}function Ns(e,t,n,r,a){us(t,r);var i,l,s,u,c=null;switch(t){case"input":i=lt(e,n),l=lt(e,r),c=[];break;case"select":i=kt(0,n),l=kt(0,r),c=[];break;case"textarea":i=Ct(e,n),l=Ct(e,r),c=[];break;default:l=r,"function"!=typeof(i=n).onClick&&"function"==typeof l.onClick&&Ds(e)}on(t,l);var d=null;for(s in i)if(!l.hasOwnProperty(s)&&i.hasOwnProperty(s)&&null!=i[s])if(s===Ss){var f=i[s];for(u in f)f.hasOwnProperty(u)&&(d||(d={}),d[u]="")}else s===vs||s===ws||s===gs||s===ys||s===bs||(S.hasOwnProperty(s)?c||(c=[]):(c=c||[]).push(s,null));for(s in l){var p=l[s],h=null!=i?i[s]:void 0;if(l.hasOwnProperty(s)&&p!==h&&(null!=p||null!=h))if(s===Ss)if(p&&Object.freeze(p),h){for(u in h)!h.hasOwnProperty(u)||p&&p.hasOwnProperty(u)||(d||(d={}),d[u]="");for(u in p)p.hasOwnProperty(u)&&h[u]!==p[u]&&(d||(d={}),d[u]=p[u])}else d||(c||(c=[]),c.push(s,d)),d=p;else if(s===vs){var m=p?p.__html:void 0,v=h?h.__html:void 0;null!=m&&v!==m&&(c=c||[]).push(s,m)}else s===ws?"string"!=typeof p&&"number"!=typeof p||(c=c||[]).push(s,""+p):s===gs||s===ys||(S.hasOwnProperty(s)?(null!=p&&("function"!=typeof p&&fs(s,p),"onScroll"===s&&Xl("scroll",e)),c||h===p||(c=[])):(c=c||[]).push(s,p))}return d&&(!function(e,t){if(t){var n,r=rn(e),a=rn(t),i={};for(var l in r){var s=r[l],u=a[l];if(u&&s!==u){var c=s+","+u;if(i[c])continue;i[c]=!0,o("%s a style property during rerender (%s) when a conflicting property is set (%s) can lead to styling bugs. To avoid this, don't mix shorthand and non-shorthand properties for the same value; instead, replace the shorthand with separate values.",null==(n=e[s])||"boolean"==typeof n||""===n?"Removing":"Updating",s,u)}}}}(d,l.style),(c=c||[]).push(Ss,d)),c}function Ps(e,t,n,r,a){"input"===n&&"radio"===a.type&&null!=a.name&&ut(e,a);ln(n,r);switch(function(e,t,n,r){for(var a=0;a<t.length;a+=2){var o=t[a],i=t[a+1];o===Ss?nn(e,i):o===vs?Lt(e,i):o===ws?zt(e,i):Z(e,o,i,r)}}(e,t,0,ln(n,a)),n){case"input":ct(e,a);break;case"textarea":Rt(e,a);break;case"select":!function(e,t){var n=e,r=n._wrapperState.wasMultiple;n._wrapperState.wasMultiple=!!t.multiple;var a=t.value;null!=a?_t(n,!!t.multiple,a,!1):r!==!!t.multiple&&(null!=t.defaultValue?_t(n,!!t.multiple,t.defaultValue,!0):_t(n,!!t.multiple,t.multiple?[]:"",!1))}(e,a)}}function Is(e,t){ms||(ms=!0,o("Did not expect server HTML to contain a <%s> in <%s>.",t.nodeName.toLowerCase(),e.nodeName.toLowerCase()))}function Os(e,t){ms||(ms=!0,o('Did not expect server HTML to contain the text node "%s" in <%s>.',t.nodeValue,e.nodeName.toLowerCase()))}function Ms(e,t,n){ms||(ms=!0,o("Expected server HTML to contain a matching <%s> in <%s>.",t,e.nodeName.toLowerCase()))}function As(e,t){""!==t&&(ms||(ms=!0,o('Expected server HTML to contain a matching text node for "%s" in <%s>.',t,e.nodeName.toLowerCase())))}var Fs,Ls,zs=["address","applet","area","article","aside","base","basefont","bgsound","blockquote","body","br","button","caption","center","col","colgroup","dd","details","dir","div","dl","dt","embed","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","iframe","img","input","isindex","li","link","listing","main","marquee","menu","menuitem","meta","nav","noembed","noframes","noscript","object","ol","p","param","plaintext","pre","script","section","select","source","style","summary","table","tbody","td","template","textarea","tfoot","th","thead","title","tr","track","ul","wbr","xmp"],Hs=["applet","caption","html","table","td","th","marquee","object","template","foreignObject","desc","title"],Us=Hs.concat(["button"]),$s=["dd","dt","li","option","optgroup","p","rp","rt"],js={current:null,formTag:null,aTagInScope:null,buttonTagInScope:null,nobrTagInScope:null,pTagInButtonScope:null,listItemTagAutoclosing:null,dlItemTagAutoclosing:null};Ls=function(e,t){var n=Se({},e||js),r={tag:t};return-1!==Hs.indexOf(t)&&(n.aTagInScope=null,n.buttonTagInScope=null,n.nobrTagInScope=null),-1!==Us.indexOf(t)&&(n.pTagInButtonScope=null),-1!==zs.indexOf(t)&&"address"!==t&&"div"!==t&&"p"!==t&&(n.listItemTagAutoclosing=null,n.dlItemTagAutoclosing=null),n.current=r,"form"===t&&(n.formTag=r),"a"===t&&(n.aTagInScope=r),"button"===t&&(n.buttonTagInScope=r),"nobr"===t&&(n.nobrTagInScope=r),"p"===t&&(n.pTagInButtonScope=r),"li"===t&&(n.listItemTagAutoclosing=r),"dd"!==t&&"dt"!==t||(n.dlItemTagAutoclosing=r),n};var Vs={};Fs=function(e,t,n){var r=(n=n||js).current,a=r&&r.tag;null!=t&&(null!=e&&o("validateDOMNesting: when childText is passed, childTag should be null"),e="#text");var i=function(e,t){switch(t){case"select":return"option"===e||"optgroup"===e||"#text"===e;case"optgroup":return"option"===e||"#text"===e;case"option":return"#text"===e;case"tr":return"th"===e||"td"===e||"style"===e||"script"===e||"template"===e;case"tbody":case"thead":case"tfoot":return"tr"===e||"style"===e||"script"===e||"template"===e;case"colgroup":return"col"===e||"template"===e;case"table":return"caption"===e||"colgroup"===e||"tbody"===e||"tfoot"===e||"thead"===e||"style"===e||"script"===e||"template"===e;case"head":return"base"===e||"basefont"===e||"bgsound"===e||"link"===e||"meta"===e||"title"===e||"noscript"===e||"noframes"===e||"style"===e||"script"===e||"template"===e;case"html":return"head"===e||"body"===e||"frameset"===e;case"frameset":return"frame"===e;case"#document":return"html"===e}switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return"h1"!==t&&"h2"!==t&&"h3"!==t&&"h4"!==t&&"h5"!==t&&"h6"!==t;case"rp":case"rt":return-1===$s.indexOf(t);case"body":case"caption":case"col":case"colgroup":case"frameset":case"frame":case"head":case"html":case"tbody":case"td":case"tfoot":case"th":case"thead":case"tr":return null==t}return!0}(e,a)?null:r,l=i?null:function(e,t){switch(e){case"address":case"article":case"aside":case"blockquote":case"center":case"details":case"dialog":case"dir":case"div":case"dl":case"fieldset":case"figcaption":case"figure":case"footer":case"header":case"hgroup":case"main":case"menu":case"nav":case"ol":case"p":case"section":case"summary":case"ul":case"pre":case"listing":case"table":case"hr":case"xmp":case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":return t.pTagInButtonScope;case"form":return t.formTag||t.pTagInButtonScope;case"li":return t.listItemTagAutoclosing;case"dd":case"dt":return t.dlItemTagAutoclosing;case"button":return t.buttonTagInScope;case"a":return t.aTagInScope;case"nobr":return t.nobrTagInScope}return null}(e,n),s=i||l;if(s){var u=s.tag,c=!!i+"|"+e+"|"+u;if(!Vs[c]){Vs[c]=!0;var d=e,f="";if("#text"===e?/\S/.test(t)?d="Text nodes":(d="Whitespace text nodes",f=" Make sure you don't have any extra whitespace between tags on each line of your source code."):d="<"+e+">",i){var p="";"table"===u&&"tr"===e&&(p+=" Add a <tbody>, <thead> or <tfoot> to your code to match the DOM tree generated by the browser."),o("validateDOMNesting(...): %s cannot appear as a child of <%s>.%s%s",d,u,f,p)}else o("validateDOMNesting(...): %s cannot appear as a descendant of <%s>.",d,u)}}};var Ws="$",Bs="/$",qs="$?",Ys="$!",Gs=null,Ks=null;function Qs(e){var t;Gs=Yo,t=El(),Ks={focusedElem:t,selectionRange:_l(t)?Tl(t):null};return Go(!1),null}function Xs(e,t,n,r,a){var i=r;if(Fs(e,null,i.ancestorInfo),"string"==typeof t.children||"number"==typeof t.children){var l=""+t.children,s=Ls(i.ancestorInfo,e);Fs(null,l,s)}var u=function(e,t,n,r){var a,i,l=xs(n),s=r;if(s===Pt&&(s=Ot(e)),s===Pt){if((a=ln(e,t))||e===e.toLowerCase()||o("<%s /> is using incorrect casing. Use PascalCase for React components, or lowercase for HTML elements.",e),"script"===e){var u=l.createElement("div");u.innerHTML="<script><\/script>";var c=u.firstChild;i=u.removeChild(c)}else if("string"==typeof t.is)i=l.createElement(e,{is:t.is});else if(i=l.createElement(e),"select"===e){var d=i;t.multiple?d.multiple=!0:t.size&&(d.size=t.size)}}else i=l.createElementNS(s,e);return s===Pt&&(a||"[object HTMLUnknownElement]"!==Object.prototype.toString.call(i)||x.call(ss,e)||(ss[e]=!0,o("The tag <%s> is unrecognized in this browser. If you meant to render a React component, start its name with an uppercase letter.",e))),i}(e,t,n,i.namespace);return _u(a,u),Pu(u,t),u}function Zs(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}function Js(e,t,n,r){Fs(null,e,n.ancestorInfo);var a=function(e,t){return xs(t).createTextNode(e)}(e,t);return _u(r,a),a}var eu="function"==typeof setTimeout?setTimeout:void 0,tu="function"==typeof clearTimeout?clearTimeout:void 0,nu="function"==typeof Promise?Promise:void 0,ru="function"==typeof queueMicrotask?queueMicrotask:void 0!==nu?function(e){return nu.resolve(null).then(e).catch(au)}:eu;function au(e){setTimeout((function(){throw e}))}function ou(e){zt(e,"")}function iu(e,t){var n=t,r=0;do{var a=n.nextSibling;if(e.removeChild(n),a&&8===a.nodeType){var o=a.data;if(o===Bs){if(0===r)return e.removeChild(a),void Bo(t);r--}else o!==Ws&&o!==qs&&o!==Ys||r++}n=a}while(n);Bo(t)}function lu(e){var t=e.style;"function"==typeof t.setProperty?t.setProperty("display","none","important"):t.display="none"}function su(e,t){var n=t.style,r=null!=n&&n.hasOwnProperty("display")?n.display:null;e.style.display=jt("display",r)}function uu(e,t){e.nodeValue=t}function cu(e){return e.data===qs}function du(e){return e.data===Ys}function fu(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){var n=e.data;if(n===Ws||n===Ys||n===qs)break;if(n===Bs)return null}}return e}function pu(e){return fu(e.nextSibling)}function hu(e,t,n,r,a,o,i){return _u(o,e),Pu(e,n),function(e,t,n,r,a,o,i){var l,s;switch(l=ln(t,n),us(t,n),t){case"dialog":Xl("cancel",e),Xl("close",e);break;case"iframe":case"object":case"embed":Xl("load",e);break;case"video":case"audio":for(var u=0;u<ql.length;u++)Xl(ql[u],e);break;case"source":Xl("error",e);break;case"img":case"image":case"link":Xl("error",e),Xl("load",e);break;case"details":Xl("toggle",e);break;case"input":st(e,n),Xl("invalid",e);break;case"option":gt(0,n);break;case"select":Tt(e,n),Xl("invalid",e);break;case"textarea":Dt(e,n),Xl("invalid",e)}on(t,n),s=new Set;for(var c=e.attributes,d=0;d<c.length;d++)switch(c[d].name.toLowerCase()){case"value":case"checked":case"selected":break;default:s.add(c[d].name)}var f,p=null;for(var h in n)if(n.hasOwnProperty(h)){var m=n[h];if(h===ws)"string"==typeof m?e.textContent!==m&&(!0!==n.suppressHydrationWarning&&Ts(e.textContent,m,o,i),p=[ws,m]):"number"==typeof m&&e.textContent!==""+m&&(!0!==n.suppressHydrationWarning&&Ts(e.textContent,m,o,i),p=[ws,""+m]);else if(S.hasOwnProperty(h))null!=m&&("function"!=typeof m&&fs(h,m),"onScroll"===h&&Xl("scroll",e));else if(i&&"boolean"==typeof l){var v=void 0,g=j(h);if(!0===n.suppressHydrationWarning);else if(h===gs||h===ys||"value"===h||"checked"===h||"selected"===h);else if(h===vs){var y=e.innerHTML,b=m?m.__html:void 0;if(null!=b){var w=hs(e,b);w!==y&&cs(h,y,w)}}else if(h===Ss){if(s.delete(h),ps){var E=tn(m);E!==(v=e.getAttribute("style"))&&cs(h,v,E)}}else if(l)s.delete(h.toLowerCase()),m!==(v=X(e,h,m))&&cs(h,v,m);else if(!H(h,g,l)&&!$(h,m,g,l)){var _=!1;if(null!==g)s.delete(g.attributeName),v=Q(e,h,m,g);else{var k=r;if(k===Pt&&(k=Ot(t)),k===Pt)s.delete(h.toLowerCase());else{var T=(f=void 0,f=h.toLowerCase(),sn.hasOwnProperty(f)&&sn[f]||null);null!==T&&T!==h&&(_=!0,s.delete(T)),s.delete(h)}v=X(e,h,m)}m===v||_||cs(h,v,m)}}}switch(i&&s.size>0&&!0!==n.suppressHydrationWarning&&ds(s),t){case"input":Je(e),dt(e,n,!0);break;case"textarea":Je(e),Nt(e);break;case"select":case"option":break;default:"function"==typeof n.onClick&&Ds(e)}return p}(e,t,n,a.namespace,0,0!=(1&o.mode),i)}function mu(e){for(var t=e.previousSibling,n=0;t;){if(8===t.nodeType){var r=t.data;if(r===Ws||r===Ys||r===qs){if(0===n)return t;n--}else r===Bs&&n++}t=t.previousSibling}return null}var vu=Math.random().toString(36).slice(2),gu="__reactFiber$"+vu,yu="__reactProps$"+vu,bu="__reactContainer$"+vu,wu="__reactEvents$"+vu,Su="__reactListeners$"+vu,Eu="__reactHandles$"+vu;function _u(e,t){t[gu]=e}function ku(e,t){t[bu]=e}function Tu(e){e[bu]=null}function xu(e){return!!e[bu]}function Cu(e){var t=e[gu];if(t)return t;for(var n=e.parentNode;n;){if(t=n[bu]||n[gu]){var r=t.alternate;if(null!==t.child||null!==r&&null!==r.child)for(var a=mu(e);null!==a;){var o=a[gu];if(o)return o;a=mu(a)}return t}n=(e=n).parentNode}return null}function Du(e){var t=e[gu]||e[bu];return t&&(5===t.tag||6===t.tag||t.tag===c||3===t.tag)?t:null}function Ru(e){if(5===e.tag||6===e.tag)return e.stateNode;throw new Error("getNodeFromInstance: Invalid argument.")}function Nu(e){return e[yu]||null}function Pu(e,t){e[yu]=t}var Iu={},Ou=n.ReactDebugCurrentFrame;function Mu(e){if(e){var t=e._owner,n=Ie(e.type,e._source,t?t.type:null);Ou.setExtraStackFrame(n)}else Ou.setExtraStackFrame(null)}function Au(e,t,n,r,a){var i=Function.call.bind(x);for(var l in e)if(i(e,l)){var s=void 0;try{if("function"!=typeof e[l]){var u=Error((r||"React class")+": "+n+" type `"+l+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof e[l]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw u.name="Invariant Violation",u}s=e[l](t,l,r,n,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(e){s=e}!s||s instanceof Error||(Mu(a),o("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",r||"React class",n,l,typeof s),Mu(null)),s instanceof Error&&!(s.message in Iu)&&(Iu[s.message]=!0,Mu(a),o("Failed %s type: %s",n,s.message),Mu(null))}}var Fu,Lu=[];Fu=[];var zu,Hu=-1;function Uu(e){return{current:e}}function $u(e,t){Hu<0?o("Unexpected pop."):(t!==Fu[Hu]&&o("Unexpected Fiber popped."),e.current=Lu[Hu],Lu[Hu]=null,Fu[Hu]=null,Hu--)}function ju(e,t,n){Hu++,Lu[Hu]=e.current,Fu[Hu]=n,e.current=t}zu={};var Vu={};Object.freeze(Vu);var Wu=Uu(Vu),Bu=Uu(!1),qu=Vu;function Yu(e,t,n){return n&&Xu(t)?qu:Wu.current}function Gu(e,t,n){var r=e.stateNode;r.__reactInternalMemoizedUnmaskedChildContext=t,r.__reactInternalMemoizedMaskedChildContext=n}function Ku(e,t){var n=e.type.contextTypes;if(!n)return Vu;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var a={};for(var o in n)a[o]=t[o];return Au(n,a,"context",ze(e)||"Unknown"),r&&Gu(e,t,a),a}function Qu(){return Bu.current}function Xu(e){var t=e.childContextTypes;return null!=t}function Zu(e){$u(Bu,e),$u(Wu,e)}function Ju(e){$u(Bu,e),$u(Wu,e)}function ec(e,t,n){if(Wu.current!==Vu)throw new Error("Unexpected context found on stack. This error is likely caused by a bug in React. Please file an issue.");ju(Wu,t,e),ju(Bu,n,e)}function tc(e,t,n){var r=e.stateNode,a=t.childContextTypes;if("function"!=typeof r.getChildContext){var i=ze(e)||"Unknown";return zu[i]||(zu[i]=!0,o("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.",i,i)),n}var l=r.getChildContext();for(var s in l)if(!(s in a))throw new Error((ze(e)||"Unknown")+'.getChildContext(): key "'+s+'" is not defined in childContextTypes.');return Au(a,l,"child context",ze(e)||"Unknown"),Se({},n,l)}function nc(e){var t=e.stateNode,n=t&&t.__reactInternalMemoizedMergedChildContext||Vu;return qu=Wu.current,ju(Wu,n,e),ju(Bu,Bu.current,e),!0}function rc(e,t,n){var r=e.stateNode;if(!r)throw new Error("Expected to have an instance by this point. This error is likely caused by a bug in React. Please file an issue.");if(n){var a=tc(e,t,qu);r.__reactInternalMemoizedMergedChildContext=a,$u(Bu,e),$u(Wu,e),ju(Wu,a,e),ju(Bu,n,e)}else $u(Bu,e),ju(Bu,n,e)}function ac(e){if(!function(e){return wr(e)===e}(e)||1!==e.tag)throw new Error("Expected subtree parent to be a mounted class component. This error is likely caused by a bug in React. Please file an issue.");var t=e;do{switch(t.tag){case 3:return t.stateNode.context;case 1:if(Xu(t.type))return t.stateNode.__reactInternalMemoizedMergedChildContext}t=t.return}while(null!==t);throw new Error("Found unexpected detached subtree parent. This error is likely caused by a bug in React. Please file an issue.")}var oc=null,ic=!1,lc=!1;function sc(e){null===oc?oc=[e]:oc.push(e)}function uc(){ic&&cc()}function cc(){if(!lc&&null!==oc){lc=!0;var e=0,t=_o();try{var n=oc;for(ko(yo);e<n.length;e++){var r=n[e];do{r=r(true)}while(null!==r)}oc=null,ic=!1}catch(t){throw null!==oc&&(oc=oc.slice(e+1)),Rr(Ar,cc),t}finally{ko(t),lc=!1}}return null}var dc=[],fc=0,pc=null,hc=0,mc=[],vc=0,gc=null,yc=1,bc="";function wc(){var e=bc;return(yc&~function(e){return 1<<kc(e)-1}(yc)).toString(32)+e}function Sc(e,t){xc(),dc[fc++]=hc,dc[fc++]=pc,pc=e,hc=t}function Ec(e,t,n){xc(),mc[vc++]=yc,mc[vc++]=bc,mc[vc++]=gc,gc=e;var r=yc,a=bc,o=kc(r)-1,i=r&~(1<<o),l=n+1,s=kc(t)+o;if(s>30){var u=o-o%5,c=(i&(1<<u)-1).toString(32),d=i>>u,f=o-u,p=kc(t)+f;yc=1<<p|(l<<f|d),bc=c+a}else{yc=1<<s|(l<<o|i),bc=a}}function _c(e){if(xc(),null!==e.return){Sc(e,1),Ec(e,1,0)}}function kc(e){return 32-sa(e)}function Tc(e){for(;e===pc;)pc=dc[--fc],dc[fc]=null,hc=dc[--fc],dc[fc]=null;for(;e===gc;)gc=mc[--vc],mc[vc]=null,bc=mc[--vc],mc[vc]=null,yc=mc[--vc],mc[vc]=null}function xc(){Zc()||o("Expected to be hydrating. This is a bug in React. Please file an issue.")}var Cc=null,Dc=null,Rc=!1,Nc=!1,Pc=null;function Ic(){Rc&&o("We should not be hydrating here. This is a bug in React. Please file a bug.")}function Oc(){Nc=!0}function Mc(e){var t=e.stateNode.containerInfo;return Dc=fu(t.firstChild),Cc=e,Rc=!0,Pc=null,Nc=!1,!0}function Ac(e,t,n){return Dc=fu(t.nextSibling),Cc=e,Rc=!0,Pc=null,Nc=!1,null!==n&&function(e,t){xc(),mc[vc++]=yc,mc[vc++]=bc,mc[vc++]=gc,yc=t.id,bc=t.overflow,gc=e}(e,n),!0}function Fc(e,t){switch(e.tag){case 3:!function(e,t){1===t.nodeType?Is(e,t):8===t.nodeType||Os(e,t)}(e.stateNode.containerInfo,t);break;case 5:var n=0!=(1&e.mode);!function(e,t,n,r,a){(a||!0!==t.suppressHydrationWarning)&&(1===r.nodeType?Is(n,r):8===r.nodeType||Os(n,r))}(e.type,e.memoizedProps,e.stateNode,t,n);break;case c:var r=e.memoizedState;null!==r.dehydrated&&function(e,t){var n=e.parentNode;null!==n&&(1===t.nodeType?Is(n,t):8===t.nodeType||Os(n,t))}(r.dehydrated,t)}}function Lc(e,t){Fc(e,t);var n,r=((n=db(5,null,null,0)).elementType="DELETED",n);r.stateNode=t,r.return=e;var a=e.deletions;null===a?(e.deletions=[r],e.flags|=Xn):a.push(r)}function zc(e,t){if(!Nc)switch(e.tag){case 3:var n=e.stateNode.containerInfo;switch(t.tag){case 5:var r=t.type;t.pendingProps,function(e,t,n){Ms(e,t)}(n,r);break;case 6:!function(e,t){As(e,t)}(n,t.pendingProps)}break;case 5:e.type;var a=e.memoizedProps,o=e.stateNode;switch(t.tag){case 5:var i=t.type;t.pendingProps;!function(e,t,n,r,a,o){(o||!0!==t.suppressHydrationWarning)&&Ms(n,r)}(0,a,o,i,0,0!=(1&e.mode));break;case 6:!function(e,t,n,r,a){(a||!0!==t.suppressHydrationWarning)&&As(n,r)}(0,a,o,t.pendingProps,0!=(1&e.mode))}break;case c:var l=e.memoizedState.dehydrated;if(null!==l)switch(t.tag){case 5:var s=t.type;t.pendingProps,function(e,t,n){var r=e.parentNode;null!==r&&Ms(r,t)}(l,s);break;case 6:!function(e,t){var n=e.parentNode;null!==n&&As(n,t)}(l,t.pendingProps)}break;default:return}}function Hc(e,t){t.flags=-4097&t.flags|2,zc(e,t)}function Uc(e,t){switch(e.tag){case 5:var n=e.type;e.pendingProps;var r=function(e,t,n){return 1!==e.nodeType||t.toLowerCase()!==e.nodeName.toLowerCase()?null:e}(t,n);return null!==r&&(e.stateNode=r,Cc=e,Dc=fu(r.firstChild),!0);case 6:var a=function(e,t){return""===t||3!==e.nodeType?null:e}(t,e.pendingProps);return null!==a&&(e.stateNode=a,Cc=e,Dc=null,!0);case c:var o=function(e){return 8!==e.nodeType?null:e}(t);if(null!==o){var i={dehydrated:o,treeContext:(xc(),null!==gc?{id:yc,overflow:bc}:null),retryLane:La};e.memoizedState=i;var l=function(e){var t=db(h,null,null,0);return t.stateNode=e,t}(o);return l.return=e,e.child=l,Cc=e,Dc=null,!0}return!1;default:return!1}}function $c(e){return 0!=(1&e.mode)&&0==(e.flags&Zn)}function jc(e){throw new Error("Hydration failed because the initial UI does not match what was rendered on the server.")}function Vc(e){if(Rc){var t=Dc;if(!t)return $c(e)&&(zc(Cc,e),jc()),Hc(Cc,e),Rc=!1,void(Cc=e);var n=t;if(!Uc(e,t)){$c(e)&&(zc(Cc,e),jc()),t=pu(n);var r=Cc;if(!t||!Uc(e,t))return Hc(Cc,e),Rc=!1,void(Cc=e);Lc(r,n)}}}function Wc(e){var t=e.stateNode,n=e.memoizedProps,r=function(e,t,n,r){return _u(n,e),n.mode,function(e,t,n){return e.nodeValue!==t}(e,t)}(t,n,e);if(r){var a=Cc;if(null!==a)switch(a.tag){case 3:a.stateNode.containerInfo;!function(e,t,n,r){Ts(t.nodeValue,n,r,!0)}(0,t,n,0!=(1&a.mode));break;case 5:a.type;var o=a.memoizedProps;a.stateNode;!function(e,t,n,r,a,o){!0!==t.suppressHydrationWarning&&Ts(r.nodeValue,a,o,!0)}(0,o,0,t,n,0!=(1&a.mode))}}return r}function Bc(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");!function(e,t){_u(t,e)}(n,e)}function qc(e){var t=e.memoizedState,n=null!==t?t.dehydrated:null;if(!n)throw new Error("Expected to have a hydrated suspense instance. This error is likely caused by a bug in React. Please file an issue.");return function(e){for(var t=e.nextSibling,n=0;t;){if(8===t.nodeType){var r=t.data;if(r===Bs){if(0===n)return pu(t);n--}else r!==Ws&&r!==Ys&&r!==qs||n++}t=t.nextSibling}return null}(n)}function Yc(e){for(var t=e.return;null!==t&&5!==t.tag&&3!==t.tag&&t.tag!==c;)t=t.return;Cc=t}function Gc(e){if(e!==Cc)return!1;if(!Rc)return Yc(e),Rc=!0,!1;if(3!==e.tag&&(5!==e.tag||"head"!==(n=e.type)&&"body"!==n&&!Zs(e.type,e.memoizedProps))){var t=Dc;if(t)if($c(e))Kc(e),jc();else for(;t;)Lc(e,t),t=pu(t)}var n;return Yc(e),Dc=e.tag===c?qc(e):Cc?pu(e.stateNode):null,!0}function Kc(e){for(var t=Dc;t;)Fc(e,t),t=pu(t)}function Qc(){Cc=null,Dc=null,Rc=!1,Nc=!1}function Xc(){null!==Pc&&(ly(Pc),Pc=null)}function Zc(){return Rc}function Jc(e){null===Pc?Pc=[e]:Pc.push(e)}var ed=n.ReactCurrentBatchConfig;var td={recordUnsafeLifecycleWarnings:function(e,t){},flushPendingUnsafeLifecycleWarnings:function(){},recordLegacyContextWarning:function(e,t){},flushLegacyContextWarning:function(){},discardPendingWarnings:function(){}},nd=function(e){var t=[];return e.forEach((function(e){t.push(e)})),t.sort().join(", ")},rd=[],ad=[],od=[],id=[],ld=[],sd=[],ud=new Set;td.recordUnsafeLifecycleWarnings=function(e,t){ud.has(e.type)||("function"==typeof t.componentWillMount&&!0!==t.componentWillMount.__suppressDeprecationWarning&&rd.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillMount&&ad.push(e),"function"==typeof t.componentWillReceiveProps&&!0!==t.componentWillReceiveProps.__suppressDeprecationWarning&&od.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillReceiveProps&&id.push(e),"function"==typeof t.componentWillUpdate&&!0!==t.componentWillUpdate.__suppressDeprecationWarning&&ld.push(e),8&e.mode&&"function"==typeof t.UNSAFE_componentWillUpdate&&sd.push(e))},td.flushPendingUnsafeLifecycleWarnings=function(){var e=new Set;rd.length>0&&(rd.forEach((function(t){e.add(ze(t)||"Component"),ud.add(t.type)})),rd=[]);var t=new Set;ad.length>0&&(ad.forEach((function(e){t.add(ze(e)||"Component"),ud.add(e.type)})),ad=[]);var n=new Set;od.length>0&&(od.forEach((function(e){n.add(ze(e)||"Component"),ud.add(e.type)})),od=[]);var r=new Set;id.length>0&&(id.forEach((function(e){r.add(ze(e)||"Component"),ud.add(e.type)})),id=[]);var i=new Set;ld.length>0&&(ld.forEach((function(e){i.add(ze(e)||"Component"),ud.add(e.type)})),ld=[]);var l=new Set;(sd.length>0&&(sd.forEach((function(e){l.add(ze(e)||"Component"),ud.add(e.type)})),sd=[]),t.size>0)&&o("Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n\nPlease update the following components: %s",nd(t));r.size>0&&o("Using UNSAFE_componentWillReceiveProps in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n\nPlease update the following components: %s",nd(r));l.size>0&&o("Using UNSAFE_componentWillUpdate in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n\nPlease update the following components: %s",nd(l));e.size>0&&a("componentWillMount has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move code with side effects to componentDidMount, and set initial state in the constructor.\n* Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",nd(e));n.size>0&&a("componentWillReceiveProps has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://reactjs.org/link/derived-state\n* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",nd(n));i.size>0&&a("componentWillUpdate has been renamed, and is not recommended for use. See https://reactjs.org/link/unsafe-component-lifecycles for details.\n\n* Move data fetching code or side effects to componentDidUpdate.\n* Rename componentWillUpdate to UNSAFE_componentWillUpdate to suppress this warning in non-strict mode. In React 18.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.\n\nPlease update the following components: %s",nd(i))};var cd=new Map,dd=new Set;function fd(e,t){if(e&&e.defaultProps){var n=Se({},t),r=e.defaultProps;for(var a in r)void 0===n[a]&&(n[a]=r[a]);return n}return t}td.recordLegacyContextWarning=function(e,t){var n=function(e){for(var t=null,n=e;null!==n;)8&n.mode&&(t=n),n=n.return;return t}(e);if(null!==n){if(!dd.has(e.type)){var r=cd.get(n);(null!=e.type.contextTypes||null!=e.type.childContextTypes||null!==t&&"function"==typeof t.getChildContext)&&(void 0===r&&(r=[],cd.set(n,r)),r.push(e))}}else o("Expected to find a StrictMode component in a strict mode tree. This error is likely caused by a bug in React. Please file an issue.")},td.flushLegacyContextWarning=function(){cd.forEach((function(e,t){if(0!==e.length){var n=e[0],r=new Set;e.forEach((function(e){r.add(ze(e)||"Component"),dd.add(e.type)}));var a=nd(r);try{Be(n),o("Legacy context API has been detected within a strict-mode tree.\n\nThe old API will be supported in all 16.x releases, but applications using it should migrate to the new version.\n\nPlease update the following components: %s\n\nLearn more about this warning here: https://reactjs.org/link/legacy-context",a)}finally{We()}}}))},td.discardPendingWarnings=function(){rd=[],ad=[],od=[],id=[],ld=[],sd=[],cd=new Map};var pd,hd=Uu(null);pd={};var md=null,vd=null,gd=null,yd=!1;function bd(){md=null,vd=null,gd=null,yd=!1}function wd(){yd=!0}function Sd(){yd=!1}function Ed(e,t,n){ju(hd,t._currentValue,e),t._currentValue=n,void 0!==t._currentRenderer&&null!==t._currentRenderer&&t._currentRenderer!==pd&&o("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."),t._currentRenderer=pd}function _d(e,t){var n=hd.current;$u(hd,t),e._currentValue=n}function kd(e,t,n){for(var r=e;null!==r;){var a=r.alternate;if(no(r.childLanes,t)?null===a||no(a.childLanes,t)||(a.childLanes=ro(a.childLanes,t)):(r.childLanes=ro(r.childLanes,t),null!==a&&(a.childLanes=ro(a.childLanes,t))),r===n)break;r=r.return}r!==n&&o("Expected to find the propagation root when scheduling context work. This error is likely caused by a bug in React. Please file an issue.")}function Td(e,t,n){!function(e,t,n){var r=e.child;null!==r&&(r.return=e);for(;null!==r;){var a=void 0,o=r.dependencies;if(null!==o){a=r.child;for(var i=o.firstContext;null!==i;){if(i.context===t){if(1===r.tag){var s=Za(n),u=$d(Ha,s);u.tag=Ld;var c=r.updateQueue;if(null===c);else{var d=c.shared,f=d.pending;null===f?u.next=u:(u.next=f.next,f.next=u),d.pending=u}}r.lanes=ro(r.lanes,n);var p=r.alternate;null!==p&&(p.lanes=ro(p.lanes,n)),kd(r.return,n,e),o.lanes=ro(o.lanes,n);break}i=i.next}}else if(r.tag===l)a=r.type===e.type?null:r.child;else if(r.tag===h){var m=r.return;if(null===m)throw new Error("We just came from a parent so we must have had a parent. This is a bug in React.");m.lanes=ro(m.lanes,n);var v=m.alternate;null!==v&&(v.lanes=ro(v.lanes,n)),kd(m,n,e),a=r.sibling}else a=r.child;if(null!==a)a.return=r;else for(a=r;null!==a;){if(a===e){a=null;break}var g=a.sibling;if(null!==g){g.return=a.return,a=g;break}a=a.return}r=a}}(e,t,n)}function xd(e,t){md=e,vd=null,gd=null;var n=e.dependencies;null!==n&&(null!==n.firstContext&&(to(n.lanes,t)&&Ym(),n.firstContext=null))}function Cd(e){yd&&o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");var t=e._currentValue;if(gd===e);else{var n={context:e,memoizedValue:t,next:null};if(null===vd){if(null===md)throw new Error("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().");vd=n,md.dependencies={lanes:0,firstContext:n}}else vd=vd.next=n}return t}var Dd=null;function Rd(e){null===Dd?Dd=[e]:Dd.push(e)}function Nd(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Rd(t)):(n.next=a.next,a.next=n),t.interleaved=n,Md(e,r)}function Pd(e,t,n,r){var a=t.interleaved;null===a?(n.next=n,Rd(t)):(n.next=a.next,a.next=n),t.interleaved=n}function Id(e,t){return Md(e,t)}var Od=Md;function Md(e,t){e.lanes=ro(e.lanes,t);var n=e.alternate;null!==n&&(n.lanes=ro(n.lanes,t)),null===n&&0!=(4098&e.flags)&&Uy(e);for(var r=e,a=e.return;null!==a;)a.childLanes=ro(a.childLanes,t),null!==(n=a.alternate)?n.childLanes=ro(n.childLanes,t):0!=(4098&a.flags)&&Uy(e),r=a,a=a.return;return 3===r.tag?r.stateNode:null}var Ad,Fd,Ld=2,zd=!1;function Hd(e){var t={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null};e.updateQueue=t}function Ud(e,t){var n=t.updateQueue,r=e.updateQueue;if(n===r){var a={baseState:r.baseState,firstBaseUpdate:r.firstBaseUpdate,lastBaseUpdate:r.lastBaseUpdate,shared:r.shared,effects:r.effects};t.updateQueue=a}}function $d(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function jd(e,t,n){var r=e.updateQueue;if(null===r)return null;var a=r.shared;if(Fd!==a||Ad||(o("An update (setState, replaceState, or forceUpdate) was scheduled from inside an update function. Update functions should be pure, with zero side-effects. Consider using componentDidUpdate or a callback."),Ad=!0),0!=(2&yg)){var i=a.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),a.pending=t,Od(e,n)}return function(e,t,n,r){var a=t.interleaved;return null===a?(n.next=n,Rd(t)):(n.next=a.next,a.next=n),t.interleaved=n,Md(e,r)}(e,a,t,n)}function Vd(e,t,n){var r=t.updateQueue;if(null!==r){var a=r.shared;if(Ka(n)){var o=a.lanes,i=ro(o=oo(o,e.pendingLanes),n);a.lanes=i,uo(e,i)}}}function Wd(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r){var a=r.updateQueue;if(n===a){var o=null,i=null,l=n.firstBaseUpdate;if(null!==l){var s=l;do{var u={eventTime:s.eventTime,lane:s.lane,tag:s.tag,payload:s.payload,callback:s.callback,next:null};null===i?o=i=u:(i.next=u,i=u),s=s.next}while(null!==s);null===i?o=i=t:(i.next=t,i=t)}else o=i=t;return n={baseState:a.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:a.shared,effects:a.effects},void(e.updateQueue=n)}}var c=n.lastBaseUpdate;null===c?n.firstBaseUpdate=t:c.next=t,n.lastBaseUpdate=t}function Bd(e,t,n,r,a,o){switch(n.tag){case 1:var i=n.payload;if("function"==typeof i){wd();var l=i.call(o,r,a);if(8&e.mode){Yr(!0);try{i.call(o,r,a)}finally{Yr(!1)}}return Sd(),l}return i;case 3:e.flags=-65537&e.flags|Zn;case 0:var s,u=n.payload;if("function"==typeof u){if(wd(),s=u.call(o,r,a),8&e.mode){Yr(!0);try{u.call(o,r,a)}finally{Yr(!1)}}Sd()}else s=u;return null==s?r:Se({},r,s);case Ld:return zd=!0,r}return r}function qd(e,t,n,r){var a=e.updateQueue;zd=!1,Fd=a.shared;var o=a.firstBaseUpdate,i=a.lastBaseUpdate,l=a.shared.pending;if(null!==l){a.shared.pending=null;var s=l,u=s.next;s.next=null,null===i?o=u:i.next=u,i=s;var c=e.alternate;if(null!==c){var d=c.updateQueue,f=d.lastBaseUpdate;f!==i&&(null===f?d.firstBaseUpdate=u:f.next=u,d.lastBaseUpdate=s)}}if(null!==o){for(var p=a.baseState,h=0,m=null,v=null,g=null,y=o;;){var b=y.lane,w=y.eventTime;if(no(r,b)){if(null!==g){var S={eventTime:w,lane:0,tag:y.tag,payload:y.payload,callback:y.callback,next:null};g=g.next=S}if(p=Bd(e,0,y,p,t,n),null!==y.callback&&0!==y.lane){e.flags|=64;var E=a.effects;null===E?a.effects=[y]:E.push(y)}}else{var _={eventTime:w,lane:b,tag:y.tag,payload:y.payload,callback:y.callback,next:null};null===g?(v=g=_,m=p):g=g.next=_,h=ro(h,b)}if(null===(y=y.next)){if(null===(l=a.shared.pending))break;var k=l,T=k.next;k.next=null,y=T,a.lastBaseUpdate=k,a.shared.pending=null}}null===g&&(m=p),a.baseState=m,a.firstBaseUpdate=v,a.lastBaseUpdate=g;var x=a.shared.interleaved;if(null!==x){var C=x;do{h=ro(h,C.lane),C=C.next}while(C!==x)}else null===o&&(a.shared.lanes=0);by(h),e.lanes=h,e.memoizedState=p}Fd=null}function Yd(e,t){if("function"!=typeof e)throw new Error("Invalid argument passed as callback. Expected a function. Instead received: "+e);e.call(t)}function Gd(){zd=!1}function Kd(){return zd}function Qd(e,t,n){var r=t.effects;if(t.effects=null,null!==r)for(var a=0;a<r.length;a++){var o=r[a],i=o.callback;null!==i&&(o.callback=null,Yd(i,n))}}Ad=!1,Fd=null;var Xd,Zd,Jd,ef,tf,nf,rf,af,of,lf,sf={},uf=(new e.Component).refs;Xd=new Set,Zd=new Set,Jd=new Set,ef=new Set,af=new Set,tf=new Set,of=new Set,lf=new Set;var cf=new Set;function df(e,t,n,r){var a=e.memoizedState,o=n(r,a);if(8&e.mode){Yr(!0);try{o=n(r,a)}finally{Yr(!1)}}nf(t,o);var i=null==o?a:Se({},a,o);(e.memoizedState=i,0===e.lanes)&&(e.updateQueue.baseState=i)}rf=function(e,t){if(null!==e&&"function"!=typeof e){var n=t+"_"+e;cf.has(n)||(cf.add(n),o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e))}},nf=function(e,t){if(void 0===t){var n=Fe(e)||"Component";tf.has(n)||(tf.add(n),o("%s.getDerivedStateFromProps(): A valid state object (or null) must be returned. You have returned undefined.",n))}},Object.defineProperty(sf,"_processChildContext",{enumerable:!1,value:function(){throw new Error("_processChildContext is not available in React 16+. This likely means you have multiple copies of React and are attempting to nest a React 15 tree inside a React 16 tree using unstable_renderSubtreeIntoContainer, which isn't supported. Try to make sure you have only one copy of React (and ideally, switch to ReactDOM.createPortal).")}}),Object.freeze(sf);var ff,pf,hf,mf,vf,gf={isMounted:function(e){var t=br.current;if(null!==t&&1===t.tag){var n=t,r=n.stateNode;r._warnedAboutRefsInRender||o("%s is accessing isMounted inside its render() function. render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",ze(n)||"A component"),r._warnedAboutRefsInRender=!0}var a=Qn(e);return!!a&&wr(a)===a},enqueueSetState:function(e,t,n){var r=Qn(e),a=ey(),o=ty(r),i=$d(a,o);i.payload=t,null!=n&&(rf(n,"setState"),i.callback=n);var l=jd(r,i,o);null!==l&&(ry(l,r,o,a),Vd(l,r,o)),ia(r,o)},enqueueReplaceState:function(e,t,n){var r=Qn(e),a=ey(),o=ty(r),i=$d(a,o);i.tag=1,i.payload=t,null!=n&&(rf(n,"replaceState"),i.callback=n);var l=jd(r,i,o);null!==l&&(ry(l,r,o,a),Vd(l,r,o)),ia(r,o)},enqueueForceUpdate:function(e,t){var n=Qn(e),r=ey(),a=ty(n),o=$d(r,a);o.tag=Ld,null!=t&&(rf(t,"forceUpdate"),o.callback=t);var i=jd(n,o,a);null!==i&&(ry(i,n,a,r),Vd(i,n,a)),function(e,t){null!==Wr&&"function"==typeof Wr.markForceUpdateScheduled&&Wr.markForceUpdateScheduled(e,t)}(n,a)}};function yf(e,t,n,r,a,i,l){var s=e.stateNode;if("function"==typeof s.shouldComponentUpdate){var u=s.shouldComponentUpdate(r,i,l);if(8&e.mode){Yr(!0);try{u=s.shouldComponentUpdate(r,i,l)}finally{Yr(!1)}}return void 0===u&&o("%s.shouldComponentUpdate(): Returned undefined instead of a boolean value. Make sure to return true or false.",Fe(t)||"Component"),u}return!t.prototype||!t.prototype.isPureReactComponent||(!pl(n,r)||!pl(a,i))}function bf(e,t){var n;t.updater=gf,e.stateNode=t,n=e,t._reactInternals=n,t._reactInternalInstance=sf}function wf(e,t,n){var r=!1,a=Vu,i=Vu,l=t.contextType;if("contextType"in t&&(!(null===l||void 0!==l&&l.$$typeof===oe&&void 0===l._context)&&!lf.has(t))){lf.add(t);var s="";s=void 0===l?" However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file.":"object"!=typeof l?" However, it is set to a "+typeof l+".":l.$$typeof===ae?" Did you accidentally pass the Context.Provider instead?":void 0!==l._context?" Did you accidentally pass the Context.Consumer instead?":" However, it is set to an object with keys {"+Object.keys(l).join(", ")+"}.",o("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s",Fe(t)||"Component",s)}if("object"==typeof l&&null!==l)i=Cd(l);else{a=Yu(0,t,!0);var u=t.contextTypes;i=(r=null!=u)?Ku(e,a):Vu}var c=new t(n,i);if(8&e.mode){Yr(!0);try{c=new t(n,i)}finally{Yr(!1)}}var d=e.memoizedState=null!==c.state&&void 0!==c.state?c.state:null;if(bf(e,c),"function"==typeof t.getDerivedStateFromProps&&null===d){var f=Fe(t)||"Component";Zd.has(f)||(Zd.add(f),o("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.",f,null===c.state?"null":"undefined",f))}if("function"==typeof t.getDerivedStateFromProps||"function"==typeof c.getSnapshotBeforeUpdate){var p=null,h=null,m=null;if("function"==typeof c.componentWillMount&&!0!==c.componentWillMount.__suppressDeprecationWarning?p="componentWillMount":"function"==typeof c.UNSAFE_componentWillMount&&(p="UNSAFE_componentWillMount"),"function"==typeof c.componentWillReceiveProps&&!0!==c.componentWillReceiveProps.__suppressDeprecationWarning?h="componentWillReceiveProps":"function"==typeof c.UNSAFE_componentWillReceiveProps&&(h="UNSAFE_componentWillReceiveProps"),"function"==typeof c.componentWillUpdate&&!0!==c.componentWillUpdate.__suppressDeprecationWarning?m="componentWillUpdate":"function"==typeof c.UNSAFE_componentWillUpdate&&(m="UNSAFE_componentWillUpdate"),null!==p||null!==h||null!==m){var v=Fe(t)||"Component",g="function"==typeof t.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";ef.has(v)||(ef.add(v),o("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n%s uses %s but also contains the following legacy lifecycles:%s%s%s\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://reactjs.org/link/unsafe-component-lifecycles",v,g,null!==p?"\n "+p:"",null!==h?"\n "+h:"",null!==m?"\n "+m:""))}}return r&&Gu(e,a,i),c}function Sf(e,t,n,r){var a=t.state;if("function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==a){var i=ze(e)||"Component";Xd.has(i)||(Xd.add(i),o("%s.componentWillReceiveProps(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",i)),gf.enqueueReplaceState(t,t.state,null)}}function Ef(e,t,n,r){!function(e,t,n){var r=e.stateNode,a=Fe(t)||"Component";r.render||(t.prototype&&"function"==typeof t.prototype.render?o("%s(...): No `render` method found on the returned component instance: did you accidentally return an object from the constructor?",a):o("%s(...): No `render` method found on the returned component instance: you may have forgotten to define `render`.",a)),!r.getInitialState||r.getInitialState.isReactClassApproved||r.state||o("getInitialState was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state property instead?",a),r.getDefaultProps&&!r.getDefaultProps.isReactClassApproved&&o("getDefaultProps was defined on %s, a plain JavaScript class. This is only supported for classes created using React.createClass. Use a static property to define defaultProps instead.",a),r.propTypes&&o("propTypes was defined as an instance property on %s. Use a static property to define propTypes instead.",a),r.contextType&&o("contextType was defined as an instance property on %s. Use a static property to define contextType instead.",a),r.contextTypes&&o("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.",a),t.contextType&&t.contextTypes&&!of.has(t)&&(of.add(t),o("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.",a)),"function"==typeof r.componentShouldUpdate&&o("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.",a),t.prototype&&t.prototype.isPureReactComponent&&void 0!==r.shouldComponentUpdate&&o("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.",Fe(t)||"A pure component"),"function"==typeof r.componentDidUnmount&&o("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?",a),"function"==typeof r.componentDidReceiveProps&&o("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().",a),"function"==typeof r.componentWillRecieveProps&&o("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?",a),"function"==typeof r.UNSAFE_componentWillRecieveProps&&o("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?",a);var i=r.props!==n;void 0!==r.props&&i&&o("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.",a,a),r.defaultProps&&o("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.",a,a),"function"!=typeof r.getSnapshotBeforeUpdate||"function"==typeof r.componentDidUpdate||Jd.has(t)||(Jd.add(t),o("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.",Fe(t))),"function"==typeof r.getDerivedStateFromProps&&o("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"==typeof r.getDerivedStateFromError&&o("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.",a),"function"==typeof t.getSnapshotBeforeUpdate&&o("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.",a);var l=r.state;l&&("object"!=typeof l||wt(l))&&o("%s.state: must be set to an object or null",a),"function"==typeof r.getChildContext&&"object"!=typeof t.childContextTypes&&o("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().",a)}(e,t,n);var a=e.stateNode;a.props=n,a.state=e.memoizedState,a.refs=uf,Hd(e);var i=t.contextType;if("object"==typeof i&&null!==i)a.context=Cd(i);else{var l=Yu(0,t,!0);a.context=Ku(e,l)}if(a.state===n){var s=Fe(t)||"Component";af.has(s)||(af.add(s),o("%s: It is not recommended to assign props directly to state because updates to props won't be reflected in state. In most cases, it is better to use props directly.",s))}8&e.mode&&td.recordLegacyContextWarning(e,a),td.recordUnsafeLifecycleWarnings(e,a),a.state=e.memoizedState;var u=t.getDerivedStateFromProps;if("function"==typeof u&&(df(e,t,u,n),a.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof a.getSnapshotBeforeUpdate||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||(!function(e,t){var n=t.state;"function"==typeof t.componentWillMount&&t.componentWillMount(),"function"==typeof t.UNSAFE_componentWillMount&&t.UNSAFE_componentWillMount(),n!==t.state&&(o("%s.componentWillMount(): Assigning directly to this.state is deprecated (except inside a component's constructor). Use setState instead.",ze(e)||"Component"),gf.enqueueReplaceState(t,t.state,null))}(e,a),qd(e,n,a,r),a.state=e.memoizedState),"function"==typeof a.componentDidMount){var c=4;c|=dr,0!=(e.mode&la)&&(c|=fr),e.flags|=c}}var _f;function kf(e,t,n){var r=n.ref;if(null!==r&&"function"!=typeof r&&"object"!=typeof r){if(8&e.mode&&(!n._owner||!n._self||n._owner.stateNode===n._self)){var a=ze(e)||"Component";hf[a]||(o('A string ref, "%s", has been found within a strict mode tree. String refs are a source of potential bugs and should be avoided. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',r),hf[a]=!0)}if(n._owner){var i,l=n._owner;if(l){var s=l;if(1!==s.tag)throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");i=s.stateNode}if(!i)throw new Error("Missing owner for string ref "+r+". This error is likely caused by a bug in React. Please file an issue.");var u=i;!function(e,t){if(D(e))o("The provided `%s` prop is an unsupported type %s. This value must be coerced to a string before before using it here.",t,C(e)),R(e)}(r,"ref");var c=""+r;if(null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===c)return t.ref;var d=function(e){var t=u.refs;t===uf&&(t=u.refs={}),null===e?delete t[c]:t[c]=e};return d._stringRef=c,d}if("string"!=typeof r)throw new Error("Expected ref to be a function, a string, an object returned by React.createRef(), or null.");if(!n._owner)throw new Error("Element ref was specified as a string ("+r+") but no owner was set. This could happen for one of the following reasons:\n1. You may be adding a ref to a function component\n2. You may be adding a ref to a component that was not created inside a component's render method\n3. You have multiple copies of React loaded\nSee https://reactjs.org/link/refs-must-have-owner for more information.")}return r}function Tf(e,t){var n=Object.prototype.toString.call(t);throw new Error("Objects are not valid as a React child (found: "+("[object Object]"===n?"object with keys {"+Object.keys(t).join(", ")+"}":n)+"). If you meant to render a collection of children, use an array instead.")}function xf(e){var t=ze(e)||"Component";vf[t]||(vf[t]=!0,o("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it."))}function Cf(e){var t=e._payload;return(0,e._init)(t)}function Df(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=Xn):r.push(n)}}function n(n,r){if(!e)return null;for(var a=r;null!==a;)t(n,a),a=a.sibling;return null}function r(e,t){for(var n=new Map,r=t;null!==r;)null!==r.key?n.set(r.key,r):n.set(r.index,r),r=r.sibling;return n}function a(e,t){var n=pb(e,t);return n.index=0,n.sibling=null,n}function i(t,n,r){if(t.index=r,!e)return t.flags|=ur,n;var a=t.alternate;if(null!==a){var o=a.index;return o<n?(t.flags|=2,n):o}return t.flags|=2,n}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function s(e,t,n,r){if(null===t||6!==t.tag){var o=bb(n,e.mode,r);return o.return=e,o}var i=a(t,n);return i.return=e,i}function u(e,t,n,r){var o=n.type;if(o===te)return d(e,t,n.props.children,r,n.key);if(null!==t&&(t.elementType===o||tb(t,n)||"object"==typeof o&&null!==o&&o.$$typeof===ce&&Cf(o)===t.type)){var i=a(t,n.props);return i.ref=kf(e,t,n),i.return=e,i._debugSource=n._source,i._debugOwner=n._owner,i}var l=vb(n,e.mode,r);return l.ref=kf(e,t,n),l.return=e,l}function c(e,t,n,r){if(null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation){var o=wb(n,e.mode,r);return o.return=e,o}var i=a(t,n.children||[]);return i.return=e,i}function d(e,t,n,r,o){if(null===t||7!==t.tag){var i=gb(n,e.mode,r,o);return i.return=e,i}var l=a(t,n);return l.return=e,l}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t){var r=bb(""+t,e.mode,n);return r.return=e,r}if("object"==typeof t&&null!==t){switch(t.$$typeof){case J:var a=vb(t,e.mode,n);return a.ref=kf(e,null,t),a.return=e,a;case ee:var o=wb(t,e.mode,n);return o.return=e,o;case ce:var i=t._payload;return f(e,(0,t._init)(i),n)}if(wt(t)||pe(t)){var l=gb(t,e.mode,n,null);return l.return=e,l}Tf(0,t)}return"function"==typeof t&&xf(e),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:s(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case J:return n.key===a?u(e,t,n,r):null;case ee:return n.key===a?c(e,t,n,r):null;case ce:var o=n._payload;return p(e,t,(0,n._init)(o),r)}if(wt(n)||pe(n))return null!==a?null:d(e,t,n,r,null);Tf(0,n)}return"function"==typeof n&&xf(e),null}function h(e,t,n,r,a){if("string"==typeof r&&""!==r||"number"==typeof r)return s(t,e.get(n)||null,""+r,a);if("object"==typeof r&&null!==r){switch(r.$$typeof){case J:return u(t,e.get(null===r.key?n:r.key)||null,r,a);case ee:return c(t,e.get(null===r.key?n:r.key)||null,r,a);case ce:var o=r._payload;return h(e,t,n,(0,r._init)(o),a)}if(wt(r)||pe(r))return d(t,e.get(n)||null,r,a,null);Tf(0,r)}return"function"==typeof r&&xf(t),null}function m(e,t,n){if("object"!=typeof e||null===e)return t;switch(e.$$typeof){case J:case ee:_f(e,n);var r=e.key;if("string"!=typeof r)break;if(null===t){(t=new Set).add(r);break}if(!t.has(r)){t.add(r);break}o("Encountered two children with the same key, `%s`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted — the behavior is unsupported and could change in a future version.",r);break;case ce:var a=e._payload;m((0,e._init)(a),t,n)}return t}return function s(u,c,d,v){if("object"==typeof d&&null!==d&&d.type===te&&null===d.key&&(d=d.props.children),"object"==typeof d&&null!==d){switch(d.$$typeof){case J:return l(function(e,r,o,i){for(var l=o.key,s=r;null!==s;){if(s.key===l){var u=o.type;if(u===te){if(7===s.tag){n(e,s.sibling);var c=a(s,o.props.children);return c.return=e,c._debugSource=o._source,c._debugOwner=o._owner,c}}else if(s.elementType===u||tb(s,o)||"object"==typeof u&&null!==u&&u.$$typeof===ce&&Cf(u)===s.type){n(e,s.sibling);var d=a(s,o.props);return d.ref=kf(e,s,o),d.return=e,d._debugSource=o._source,d._debugOwner=o._owner,d}n(e,s);break}t(e,s),s=s.sibling}if(o.type===te){var f=gb(o.props.children,e.mode,i,o.key);return f.return=e,f}var p=vb(o,e.mode,i);return p.ref=kf(e,r,o),p.return=e,p}(u,c,d,v));case ee:return l(function(e,r,o,i){for(var l=o.key,s=r;null!==s;){if(s.key===l){if(4===s.tag&&s.stateNode.containerInfo===o.containerInfo&&s.stateNode.implementation===o.implementation){n(e,s.sibling);var u=a(s,o.children||[]);return u.return=e,u}n(e,s);break}t(e,s),s=s.sibling}var c=wb(o,e.mode,i);return c.return=e,c}(u,c,d,v));case ce:var g=d._payload;return s(u,c,(0,d._init)(g),v)}if(wt(d))return function(a,o,l,s){for(var u=null,c=0;c<l.length;c++)u=m(l[c],u,a);for(var d=null,v=null,g=o,y=0,b=0,w=null;null!==g&&b<l.length;b++){g.index>b?(w=g,g=null):w=g.sibling;var S=p(a,g,l[b],s);if(null===S){null===g&&(g=w);break}e&&g&&null===S.alternate&&t(a,g),y=i(S,y,b),null===v?d=S:v.sibling=S,v=S,g=w}if(b===l.length)return n(a,g),Zc()&&Sc(a,b),d;if(null===g){for(;b<l.length;b++){var E=f(a,l[b],s);null!==E&&(y=i(E,y,b),null===v?d=E:v.sibling=E,v=E)}return Zc()&&Sc(a,b),d}for(var _=r(0,g);b<l.length;b++){var k=h(_,a,b,l[b],s);null!==k&&(e&&null!==k.alternate&&_.delete(null===k.key?b:k.key),y=i(k,y,b),null===v?d=k:v.sibling=k,v=k)}return e&&_.forEach((function(e){return t(a,e)})),Zc()&&Sc(a,b),d}(u,c,d,v);if(pe(d))return function(a,l,s,u){var c=pe(s);if("function"!=typeof c)throw new Error("An object is not an iterable. This error is likely caused by a bug in React. Please file an issue.");"function"==typeof Symbol&&"Generator"===s[Symbol.toStringTag]&&(pf||o("Using Generators as children is unsupported and will likely yield unexpected results because enumerating a generator mutates it. You may convert it to an array with `Array.from()` or the `[...spread]` operator before rendering. Keep in mind you might need to polyfill these features for older browsers."),pf=!0),s.entries===c&&(ff||o("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),ff=!0);var d=c.call(s);if(d)for(var v=null,g=d.next();!g.done;g=d.next())v=m(g.value,v,a);var y=c.call(s);if(null==y)throw new Error("An iterable object provided no iterator.");for(var b=null,w=null,S=l,E=0,_=0,k=null,T=y.next();null!==S&&!T.done;_++,T=y.next()){S.index>_?(k=S,S=null):k=S.sibling;var x=p(a,S,T.value,u);if(null===x){null===S&&(S=k);break}e&&S&&null===x.alternate&&t(a,S),E=i(x,E,_),null===w?b=x:w.sibling=x,w=x,S=k}if(T.done)return n(a,S),Zc()&&Sc(a,_),b;if(null===S){for(;!T.done;_++,T=y.next()){var C=f(a,T.value,u);null!==C&&(E=i(C,E,_),null===w?b=C:w.sibling=C,w=C)}return Zc()&&Sc(a,_),b}for(var D=r(0,S);!T.done;_++,T=y.next()){var R=h(D,a,_,T.value,u);null!==R&&(e&&null!==R.alternate&&D.delete(null===R.key?_:R.key),E=i(R,E,_),null===w?b=R:w.sibling=R,w=R)}return e&&D.forEach((function(e){return t(a,e)})),Zc()&&Sc(a,_),b}(u,c,d,v);Tf(0,d)}return"string"==typeof d&&""!==d||"number"==typeof d?l(function(e,t,r,o){if(null!==t&&6===t.tag){n(e,t.sibling);var i=a(t,r);return i.return=e,i}n(e,t);var l=bb(r,e.mode,o);return l.return=e,l}(u,c,""+d,v)):("function"==typeof d&&xf(u),n(u,c))}}ff=!1,pf=!1,hf={},mf={},vf={},_f=function(e,t){if(null!==e&&"object"==typeof e&&e._store&&!e._store.validated&&null==e.key){if("object"!=typeof e._store)throw new Error("React Component in warnForMissingKey should have a _store. This error is likely caused by a bug in React. Please file an issue.");e._store.validated=!0;var n=ze(t)||"Component";mf[n]||(mf[n]=!0,o('Each child in a list should have a unique "key" prop. See https://reactjs.org/link/warning-keys for more information.'))}};var Rf=Df(!0),Nf=Df(!1);function Pf(e,t){for(var n=e.child;null!==n;)hb(n,t),n=n.sibling}var If={},Of=Uu(If),Mf=Uu(If),Af=Uu(If);function Ff(e){if(e===If)throw new Error("Expected host context to exist. This error is likely caused by a bug in React. Please file an issue.");return e}function Lf(){return Ff(Af.current)}function zf(e,t){ju(Af,t,e),ju(Mf,e,e),ju(Of,If,e);var n=function(e){var t,n,r=e.nodeType;switch(r){case 9:case 11:t=9===r?"#document":"#fragment";var a=e.documentElement;n=a?a.namespaceURI:Mt(null,"");break;default:var o=8===r?e.parentNode:e;n=Mt(o.namespaceURI||null,t=o.tagName)}var i=t.toLowerCase();return{namespace:n,ancestorInfo:Ls(null,i)}}(t);$u(Of,e),ju(Of,n,e)}function Hf(e){$u(Of,e),$u(Mf,e),$u(Af,e)}function Uf(){return Ff(Of.current)}function $f(e){Ff(Af.current);var t,n,r,a=Ff(Of.current),o=(t=a,n=e.type,{namespace:Mt((r=t).namespace,n),ancestorInfo:Ls(r.ancestorInfo,n)});a!==o&&(ju(Mf,e,e),ju(Of,o,e))}function jf(e){Mf.current===e&&($u(Of,e),$u(Mf,e))}var Vf=Uu(0);function Wf(e,t){return 0!=(e&t)}function Bf(e){return 1&e}function qf(e,t){return 1&e|t}function Yf(e,t){ju(Vf,t,e)}function Gf(e){$u(Vf,e)}function Kf(e,t){var n=e.memoizedState;return null!==n?null!==n.dehydrated:(e.memoizedProps,!0)}function Qf(e){for(var t=e;null!==t;){if(t.tag===c){var n=t.memoizedState;if(null!==n){var r=n.dehydrated;if(null===r||cu(r)||du(r))return t}}else if(t.tag===m&&void 0!==t.memoizedProps.revealOrder){if(0!=(t.flags&Zn))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)return null;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 Xf=[];function Zf(){for(var e=0;e<Xf.length;e++){Xf[e]._workInProgressVersionPrimary=null}Xf.length=0}function Jf(e,t){var n=(0,t._getVersion)(t._source);null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[t,n]:e.mutableSourceEagerHydrationData.push(t,n)}var ep,tp,np=n.ReactCurrentDispatcher,rp=n.ReactCurrentBatchConfig;ep=new Set;var ap=0,op=null,ip=null,lp=null,sp=!1,up=!1,cp=0,dp=0,fp=null,pp=null,hp=-1,mp=!1;function vp(){var e=fp;null===pp?pp=[e]:pp.push(e)}function gp(){var e=fp;null!==pp&&(hp++,pp[hp]!==e&&function(e){var t=ze(op);if(!ep.has(t)&&(ep.add(t),null!==pp)){for(var n="",r=30,a=0;a<=hp;a++){for(var i=pp[a],l=a===hp?e:i,s=a+1+". "+i;s.length<r;)s+=" ";n+=s+=l+"\n"}o("React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks\n\n Previous render Next render\n ------------------------------------------------------\n%s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n",t,n)}}(e))}function yp(e){null==e||wt(e)||o("%s received a final argument that is not an array (instead, received `%s`). When specified, the final argument must be an array.",fp,typeof e)}function bp(){throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.")}function wp(e,t){if(mp)return!1;if(null===t)return o("%s received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.",fp),!1;e.length!==t.length&&o("The final argument passed to %s changed size between renders. The order and size of this array must remain constant.\n\nPrevious: %s\nIncoming: %s",fp,"["+t.join(", ")+"]","["+e.join(", ")+"]");for(var n=0;n<t.length&&n<e.length;n++)if(!fl(e[n],t[n]))return!1;return!0}function Sp(e,t,n,r,a,i){ap=i,op=t,pp=null!==e?e._debugHookTypes:null,hp=-1,mp=null!==e&&e.type!==t.type,t.memoizedState=null,t.updateQueue=null,t.lanes=0,null!==e&&null!==e.memoizedState?np.current=Ch:np.current=null!==pp?xh:Th;var l=n(r,a);if(up){var s=0;do{if(up=!1,cp=0,s>=25)throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");s+=1,mp=!1,ip=null,lp=null,t.updateQueue=null,hp=-1,np.current=Dh,l=n(r,a)}while(up)}np.current=kh,t._debugHookTypes=pp;var u=null!==ip&&null!==ip.next;if(ap=0,op=null,ip=null,lp=null,fp=null,pp=null,hp=-1,null!==e&&(e.flags&yr)!=(t.flags&yr)&&0!=(1&e.mode)&&o("Internal React error: Expected static flag was missing. Please notify the React team."),sp=!1,u)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return l}function Ep(){var e=0!==cp;return cp=0,e}function _p(e,t,n){t.updateQueue=e.updateQueue,0!=(t.mode&la)?t.flags&=-50333701:t.flags&=-2053,e.lanes=ao(e.lanes,n)}function kp(){if(np.current=kh,sp){for(var e=op.memoizedState;null!==e;){var t=e.queue;null!==t&&(t.pending=null),e=e.next}sp=!1}ap=0,op=null,ip=null,lp=null,pp=null,hp=-1,fp=null,mh=!1,up=!1,cp=0}function Tp(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===lp?op.memoizedState=lp=e:lp=lp.next=e,lp}function xp(){var e,t;if(null===ip){var n=op.alternate;e=null!==n?n.memoizedState:null}else e=ip.next;if(null!==(t=null===lp?op.memoizedState:lp.next))t=(lp=t).next,ip=e;else{if(null===e)throw new Error("Rendered more hooks than during the previous render.");var r={memoizedState:(ip=e).memoizedState,baseState:ip.baseState,baseQueue:ip.baseQueue,queue:ip.queue,next:null};null===lp?op.memoizedState=lp=r:lp=lp.next=r}return lp}function Cp(e,t){return"function"==typeof t?t(e):t}function Dp(e,t,n){var r,a=Tp();r=void 0!==n?n(t):t,a.memoizedState=a.baseState=r;var o={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:r};a.queue=o;var i=o.dispatch=yh.bind(null,op,o);return[a.memoizedState,i]}function Rp(e,t,n){var r=xp(),a=r.queue;if(null===a)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");a.lastRenderedReducer=e;var i=ip,l=i.baseQueue,s=a.pending;if(null!==s){if(null!==l){var u=l.next,c=s.next;l.next=c,s.next=u}i.baseQueue!==l&&o("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."),i.baseQueue=l=s,a.pending=null}if(null!==l){var d=l.next,f=i.baseState,p=null,h=null,m=null,v=d;do{var g=v.lane;if(no(ap,g)){if(null!==m){var y={lane:0,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};m=m.next=y}if(v.hasEagerState)f=v.eagerState;else f=e(f,v.action)}else{var b={lane:g,action:v.action,hasEagerState:v.hasEagerState,eagerState:v.eagerState,next:null};null===m?(h=m=b,p=f):m=m.next=b,op.lanes=ro(op.lanes,g),by(g)}v=v.next}while(null!==v&&v!==d);null===m?p=f:m.next=h,fl(f,r.memoizedState)||Ym(),r.memoizedState=f,r.baseState=p,r.baseQueue=m,a.lastRenderedState=f}var w=a.interleaved;if(null!==w){var S=w;do{var E=S.lane;op.lanes=ro(op.lanes,E),by(E),S=S.next}while(S!==w)}else null===l&&(a.lanes=0);var _=a.dispatch;return[r.memoizedState,_]}function Np(e,t,n){var r=xp(),a=r.queue;if(null===a)throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");a.lastRenderedReducer=e;var o=a.dispatch,i=a.pending,l=r.memoizedState;if(null!==i){a.pending=null;var s=i.next,u=s;do{l=e(l,u.action),u=u.next}while(u!==s);fl(l,r.memoizedState)||Ym(),r.memoizedState=l,null===r.baseQueue&&(r.baseState=l),a.lastRenderedState=l}return[l,o]}function Pp(e,t,n){var r,a=op,i=Tp();if(Zc()){if(void 0===n)throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");r=n(),tp||r!==n()&&(o("The result of getServerSnapshot should be cached to avoid an infinite loop"),tp=!0)}else{if(r=t(),!tp){var l=t();fl(r,l)||(o("The result of getSnapshot should be cached to avoid an infinite loop"),tp=!0)}var s=Jg();if(null===s)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ga(0,ap)||Op(a,t,r)}i.memoizedState=r;var u={value:r,getSnapshot:t};return i.queue=u,qp(Ap.bind(null,a,u,e),[e]),a.flags|=nr,$p(9,Mp.bind(null,a,u,r,t),void 0,null),r}function Ip(e,t,n){var r=op,a=xp(),i=t();if(!tp){var l=t();fl(i,l)||(o("The result of getSnapshot should be cached to avoid an infinite loop"),tp=!0)}var s=a.memoizedState,u=!fl(s,i);u&&(a.memoizedState=i,Ym());var c=a.queue;if(Yp(Ap.bind(null,r,c,e),[e]),c.getSnapshot!==t||u||null!==lp&&1&lp.memoizedState.tag){r.flags|=nr,$p(9,Mp.bind(null,r,c,i,t),void 0,null);var d=Jg();if(null===d)throw new Error("Expected a work-in-progress root. This is a bug in React. Please file an issue.");Ga(0,ap)||Op(r,t,i)}return i}function Op(e,t,n){e.flags|=or;var r={getSnapshot:t,value:n},a=op.updateQueue;if(null===a)a={lastEffect:null,stores:null},op.updateQueue=a,a.stores=[r];else{var o=a.stores;null===o?a.stores=[r]:o.push(r)}}function Mp(e,t,n,r){t.value=n,t.getSnapshot=r,Fp(t)&&Lp(e)}function Ap(e,t,n){return n((function(){Fp(t)&&Lp(e)}))}function Fp(e){var t=e.getSnapshot,n=e.value;try{var r=t();return!fl(n,r)}catch(e){return!0}}function Lp(e){var t=Id(e,1);null!==t&&ry(t,e,1,Ha)}function zp(e){var t=Tp();"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e;var n={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Cp,lastRenderedState:e};t.queue=n;var r=n.dispatch=bh.bind(null,op,n);return[t.memoizedState,r]}function Hp(e){return Rp(Cp)}function Up(e){return Np(Cp)}function $p(e,t,n,r){var a={tag:e,create:t,destroy:n,deps:r,next:null},o=op.updateQueue;if(null===o)o={lastEffect:null,stores:null},op.updateQueue=o,o.lastEffect=a.next=a;else{var i=o.lastEffect;if(null===i)o.lastEffect=a.next=a;else{var l=i.next;i.next=a,a.next=l,o.lastEffect=a}}return a}function jp(e){var t={current:e};return Tp().memoizedState=t,t}function Vp(e){return xp().memoizedState}function Wp(e,t,n,r){var a=Tp(),o=void 0===r?null:r;op.flags|=e,a.memoizedState=$p(1|t,n,void 0,o)}function Bp(e,t,n,r){var a=xp(),o=void 0===r?null:r,i=void 0;if(null!==ip){var l=ip.memoizedState;if(i=l.destroy,null!==o)if(wp(o,l.deps))return void(a.memoizedState=$p(t,n,i,o))}op.flags|=e,a.memoizedState=$p(1|t,n,i,o)}function qp(e,t){return 0!=(op.mode&la)?Wp(41945088,8,e,t):Wp(8390656,8,e,t)}function Yp(e,t){return Bp(nr,8,e,t)}function Gp(e,t){return Wp(4,2,e,t)}function Kp(e,t){return Bp(4,2,e,t)}function Qp(e,t){var n=4;return n|=dr,0!=(op.mode&la)&&(n|=fr),Wp(n,4,e,t)}function Xp(e,t){return Bp(4,4,e,t)}function Zp(e,t){if("function"==typeof t){var n=t,r=e();return n(r),function(){n(null)}}if(null!=t){var a=t;a.hasOwnProperty("current")||o("Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: %s.","an object with keys {"+Object.keys(a).join(", ")+"}");var i=e();return a.current=i,function(){a.current=null}}}function Jp(e,t,n){"function"!=typeof t&&o("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null,a=4;return a|=dr,0!=(op.mode&la)&&(a|=fr),Wp(a,4,Zp.bind(null,t,e),r)}function eh(e,t,n){"function"!=typeof t&&o("Expected useImperativeHandle() second argument to be a function that creates a handle. Instead received: %s.",null!==t?typeof t:"null");var r=null!=n?n.concat([e]):null;return Bp(4,4,Zp.bind(null,t,e),r)}function th(e,t){}var nh=th;function rh(e,t){var n=void 0===t?null:t;return Tp().memoizedState=[e,n],e}function ah(e,t){var n=xp(),r=void 0===t?null:t,a=n.memoizedState;if(null!==a&&(null!==r&&wp(r,a[1])))return a[0];return n.memoizedState=[e,r],e}function oh(e,t){var n=Tp(),r=void 0===t?null:t,a=e();return n.memoizedState=[a,r],a}function ih(e,t){var n=xp(),r=void 0===t?null:t,a=n.memoizedState;if(null!==a&&(null!==r&&wp(r,a[1])))return a[0];var o=e();return n.memoizedState=[o,r],o}function lh(e){return Tp().memoizedState=e,e}function sh(e){return ch(xp(),ip.memoizedState,e)}function uh(e){var t=xp();return null===ip?(t.memoizedState=e,e):ch(t,ip.memoizedState,e)}function ch(e,t,n){if(!(0==(21&ap))){if(!fl(n,t)){var r=Qa();op.lanes=ro(op.lanes,r),by(r),e.baseState=!0}return t}return e.baseState&&(e.baseState=!1,Ym()),e.memoizedState=n,n}function dh(e,t,n){var r,o,i=_o();ko((o=bo,0!==(r=i)&&r<o?r:o)),e(!0);var l=rp.transition;rp.transition={};var s=rp.transition;rp.transition._updatedFibers=new Set;try{e(!1),t()}finally{if(ko(i),rp.transition=l,null===l&&s._updatedFibers)s._updatedFibers.size>10&&a("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."),s._updatedFibers.clear()}}function fh(){var e=zp(!1),t=e[0],n=e[1],r=dh.bind(null,n);return Tp().memoizedState=r,[t,r]}function ph(){return[Hp()[0],xp().memoizedState]}function hh(){return[Up()[0],xp().memoizedState]}var mh=!1;function vh(){var e,t=Tp(),n=Jg().identifierPrefix;if(Zc()){e=":"+n+"R"+wc();var r=cp++;r>0&&(e+="H"+r.toString(32)),e+=":"}else{e=":"+n+"r"+(dp++).toString(32)+":"}return t.memoizedState=e,e}function gh(){return xp().memoizedState}function yh(e,t,n){"function"==typeof arguments[3]&&o("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=ty(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(wh(e))Sh(t,a);else{var i=Nd(e,t,a,r);if(null!==i){var l=ey();ry(i,e,r,l),Eh(i,t,r)}}_h(e,r)}function bh(e,t,n){"function"==typeof arguments[3]&&o("State updates from the useState() and useReducer() Hooks don't support the second callback argument. To execute a side effect after rendering, declare it in the component body with useEffect().");var r=ty(e),a={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(wh(e))Sh(t,a);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)){var l=t.lastRenderedReducer;if(null!==l){var s;s=np.current,np.current=Nh;try{var u=t.lastRenderedState,c=l(u,n);if(a.hasEagerState=!0,a.eagerState=c,fl(c,u))return void Pd(0,t,a)}catch(e){}finally{np.current=s}}}var d=Nd(e,t,a,r);if(null!==d){var f=ey();ry(d,e,r,f),Eh(d,t,r)}}_h(e,r)}function wh(e){var t=e.alternate;return e===op||null!==t&&t===op}function Sh(e,t){up=sp=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Eh(e,t,n){if(Ka(n)){var r=t.lanes,a=ro(r=oo(r,e.pendingLanes),n);t.lanes=a,uo(e,a)}}function _h(e,t,n){ia(e,t)}var kh={readContext:Cd,useCallback:bp,useContext:bp,useEffect:bp,useImperativeHandle:bp,useInsertionEffect:bp,useLayoutEffect:bp,useMemo:bp,useReducer:bp,useRef:bp,useState:bp,useDebugValue:bp,useDeferredValue:bp,useTransition:bp,useMutableSource:bp,useSyncExternalStore:bp,useId:bp,unstable_isNewReconciler:b},Th=null,xh=null,Ch=null,Dh=null,Rh=null,Nh=null,Ph=null,Ih=function(){o("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo().")},Oh=function(){o("Do not call Hooks inside useEffect(...), useMemo(...), or other built-in Hooks. You can only call Hooks at the top level of your React function. For more information, see https://reactjs.org/link/rules-of-hooks")};Th={readContext:function(e){return Cd(e)},useCallback:function(e,t){return fp="useCallback",vp(),yp(t),rh(e,t)},useContext:function(e){return fp="useContext",vp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",vp(),yp(t),qp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",vp(),yp(n),Jp(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",vp(),yp(t),Gp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",vp(),yp(t),Qp(e,t)},useMemo:function(e,t){fp="useMemo",vp(),yp(t);var n=np.current;np.current=Rh;try{return oh(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",vp();var r=np.current;np.current=Rh;try{return Dp(e,t,n)}finally{np.current=r}},useRef:function(e){return fp="useRef",vp(),jp(e)},useState:function(e){fp="useState",vp();var t=np.current;np.current=Rh;try{return zp(e)}finally{np.current=t}},useDebugValue:function(e,t){fp="useDebugValue",vp()},useDeferredValue:function(e){return fp="useDeferredValue",vp(),lh(e)},useTransition:function(){return fp="useTransition",vp(),fh()},useMutableSource:function(e,t,n){fp="useMutableSource",vp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",vp(),Pp(e,t,n)},useId:function(){return fp="useId",vp(),vh()},unstable_isNewReconciler:b},xh={readContext:function(e){return Cd(e)},useCallback:function(e,t){return fp="useCallback",gp(),rh(e,t)},useContext:function(e){return fp="useContext",gp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",gp(),qp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",gp(),Jp(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",gp(),Gp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",gp(),Qp(e,t)},useMemo:function(e,t){fp="useMemo",gp();var n=np.current;np.current=Rh;try{return oh(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",gp();var r=np.current;np.current=Rh;try{return Dp(e,t,n)}finally{np.current=r}},useRef:function(e){return fp="useRef",gp(),jp(e)},useState:function(e){fp="useState",gp();var t=np.current;np.current=Rh;try{return zp(e)}finally{np.current=t}},useDebugValue:function(e,t){fp="useDebugValue",gp()},useDeferredValue:function(e){return fp="useDeferredValue",gp(),lh(e)},useTransition:function(){return fp="useTransition",gp(),fh()},useMutableSource:function(e,t,n){fp="useMutableSource",gp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",gp(),Pp(e,t,n)},useId:function(){return fp="useId",gp(),vh()},unstable_isNewReconciler:b},Ch={readContext:function(e){return Cd(e)},useCallback:function(e,t){return fp="useCallback",gp(),ah(e,t)},useContext:function(e){return fp="useContext",gp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",gp(),Yp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",gp(),eh(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",gp(),Kp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",gp(),Xp(e,t)},useMemo:function(e,t){fp="useMemo",gp();var n=np.current;np.current=Nh;try{return ih(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",gp();var r=np.current;np.current=Nh;try{return Rp(e)}finally{np.current=r}},useRef:function(e){return fp="useRef",gp(),Vp()},useState:function(e){fp="useState",gp();var t=np.current;np.current=Nh;try{return Hp()}finally{np.current=t}},useDebugValue:function(e,t){return fp="useDebugValue",gp(),nh()},useDeferredValue:function(e){return fp="useDeferredValue",gp(),sh(e)},useTransition:function(){return fp="useTransition",gp(),ph()},useMutableSource:function(e,t,n){fp="useMutableSource",gp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",gp(),Ip(e,t)},useId:function(){return fp="useId",gp(),gh()},unstable_isNewReconciler:b},Dh={readContext:function(e){return Cd(e)},useCallback:function(e,t){return fp="useCallback",gp(),ah(e,t)},useContext:function(e){return fp="useContext",gp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",gp(),Yp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",gp(),eh(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",gp(),Kp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",gp(),Xp(e,t)},useMemo:function(e,t){fp="useMemo",gp();var n=np.current;np.current=Ph;try{return ih(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",gp();var r=np.current;np.current=Ph;try{return Np(e)}finally{np.current=r}},useRef:function(e){return fp="useRef",gp(),Vp()},useState:function(e){fp="useState",gp();var t=np.current;np.current=Ph;try{return Up()}finally{np.current=t}},useDebugValue:function(e,t){return fp="useDebugValue",gp(),nh()},useDeferredValue:function(e){return fp="useDeferredValue",gp(),uh(e)},useTransition:function(){return fp="useTransition",gp(),hh()},useMutableSource:function(e,t,n){fp="useMutableSource",gp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",gp(),Ip(e,t)},useId:function(){return fp="useId",gp(),gh()},unstable_isNewReconciler:b},Rh={readContext:function(e){return Ih(),Cd(e)},useCallback:function(e,t){return fp="useCallback",Oh(),vp(),rh(e,t)},useContext:function(e){return fp="useContext",Oh(),vp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",Oh(),vp(),qp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",Oh(),vp(),Jp(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",Oh(),vp(),Gp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",Oh(),vp(),Qp(e,t)},useMemo:function(e,t){fp="useMemo",Oh(),vp();var n=np.current;np.current=Rh;try{return oh(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",Oh(),vp();var r=np.current;np.current=Rh;try{return Dp(e,t,n)}finally{np.current=r}},useRef:function(e){return fp="useRef",Oh(),vp(),jp(e)},useState:function(e){fp="useState",Oh(),vp();var t=np.current;np.current=Rh;try{return zp(e)}finally{np.current=t}},useDebugValue:function(e,t){fp="useDebugValue",Oh(),vp()},useDeferredValue:function(e){return fp="useDeferredValue",Oh(),vp(),lh(e)},useTransition:function(){return fp="useTransition",Oh(),vp(),fh()},useMutableSource:function(e,t,n){fp="useMutableSource",Oh(),vp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",Oh(),vp(),Pp(e,t,n)},useId:function(){return fp="useId",Oh(),vp(),vh()},unstable_isNewReconciler:b},Nh={readContext:function(e){return Ih(),Cd(e)},useCallback:function(e,t){return fp="useCallback",Oh(),gp(),ah(e,t)},useContext:function(e){return fp="useContext",Oh(),gp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",Oh(),gp(),Yp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",Oh(),gp(),eh(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",Oh(),gp(),Kp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",Oh(),gp(),Xp(e,t)},useMemo:function(e,t){fp="useMemo",Oh(),gp();var n=np.current;np.current=Nh;try{return ih(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",Oh(),gp();var r=np.current;np.current=Nh;try{return Rp(e)}finally{np.current=r}},useRef:function(e){return fp="useRef",Oh(),gp(),Vp()},useState:function(e){fp="useState",Oh(),gp();var t=np.current;np.current=Nh;try{return Hp()}finally{np.current=t}},useDebugValue:function(e,t){return fp="useDebugValue",Oh(),gp(),nh()},useDeferredValue:function(e){return fp="useDeferredValue",Oh(),gp(),sh(e)},useTransition:function(){return fp="useTransition",Oh(),gp(),ph()},useMutableSource:function(e,t,n){fp="useMutableSource",Oh(),gp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",Oh(),gp(),Ip(e,t)},useId:function(){return fp="useId",Oh(),gp(),gh()},unstable_isNewReconciler:b},Ph={readContext:function(e){return Ih(),Cd(e)},useCallback:function(e,t){return fp="useCallback",Oh(),gp(),ah(e,t)},useContext:function(e){return fp="useContext",Oh(),gp(),Cd(e)},useEffect:function(e,t){return fp="useEffect",Oh(),gp(),Yp(e,t)},useImperativeHandle:function(e,t,n){return fp="useImperativeHandle",Oh(),gp(),eh(e,t,n)},useInsertionEffect:function(e,t){return fp="useInsertionEffect",Oh(),gp(),Kp(e,t)},useLayoutEffect:function(e,t){return fp="useLayoutEffect",Oh(),gp(),Xp(e,t)},useMemo:function(e,t){fp="useMemo",Oh(),gp();var n=np.current;np.current=Nh;try{return ih(e,t)}finally{np.current=n}},useReducer:function(e,t,n){fp="useReducer",Oh(),gp();var r=np.current;np.current=Nh;try{return Np(e)}finally{np.current=r}},useRef:function(e){return fp="useRef",Oh(),gp(),Vp()},useState:function(e){fp="useState",Oh(),gp();var t=np.current;np.current=Nh;try{return Up()}finally{np.current=t}},useDebugValue:function(e,t){return fp="useDebugValue",Oh(),gp(),nh()},useDeferredValue:function(e){return fp="useDeferredValue",Oh(),gp(),uh(e)},useTransition:function(){return fp="useTransition",Oh(),gp(),hh()},useMutableSource:function(e,t,n){fp="useMutableSource",Oh(),gp()},useSyncExternalStore:function(e,t,n){return fp="useSyncExternalStore",Oh(),gp(),Ip(e,t)},useId:function(){return fp="useId",Oh(),gp(),gh()},unstable_isNewReconciler:b};var Mh=t.unstable_now,Ah=0,Fh=-1,Lh=-1,zh=-1,Hh=!1,Uh=!1;function $h(){return Hh}function jh(){return Ah}function Vh(){Ah=Mh()}function Wh(e){Lh=Mh(),e.actualStartTime<0&&(e.actualStartTime=Mh())}function Bh(e){Lh=-1}function qh(e,t){if(Lh>=0){var n=Mh()-Lh;e.actualDuration+=n,t&&(e.selfBaseDuration=n),Lh=-1}}function Yh(e){if(Fh>=0){var t=Mh()-Fh;Fh=-1;for(var n=e.return;null!==n;){switch(n.tag){case 3:return void(n.stateNode.effectDuration+=t);case u:return void(n.stateNode.effectDuration+=t)}n=n.return}}}function Gh(e){if(zh>=0){var t=Mh()-zh;zh=-1;for(var n=e.return;null!==n;){switch(n.tag){case 3:var r=n.stateNode;return void(null!==r&&(r.passiveEffectDuration+=t));case u:var a=n.stateNode;return void(null!==a&&(a.passiveEffectDuration+=t))}n=n.return}}}function Kh(){Fh=Mh()}function Qh(){zh=Mh()}function Xh(e){for(var t=e.child;t;)e.actualDuration+=t.actualDuration,t=t.sibling}function Zh(e,t){return{value:e,source:t,stack:Me(t),digest:null}}function Jh(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function em(e,t){try{0;var n=t.value,r=t.source,a=t.stack,o=null!==a?a:"";if(null!=n&&n._suppressLogging){if(1===e.tag)return;console.error(n)}var i=r?ze(r):null,l=(i?"The above error occurred in the <"+i+"> component:":"The above error occurred in one of your React components:")+"\n"+o+"\n\n"+(3===e.tag?"Consider adding an error boundary to your tree to customize error handling behavior.\nVisit https://reactjs.org/link/error-boundaries to learn more about error boundaries.":"React will try to recreate this component tree from scratch using the error boundary you provided, "+(ze(e)||"Anonymous")+".");console.error(l)}catch(e){setTimeout((function(){throw e}))}}var tm="function"==typeof WeakMap?WeakMap:Map;function nm(e,t,n){var r=$d(Ha,n);r.tag=3,r.payload={element:null};var a=t.value;return r.callback=function(){Ry(a),em(e,t)},r}function rm(e,t,n){var r=$d(Ha,n);r.tag=3;var a=e.type.getDerivedStateFromError;if("function"==typeof a){var i=t.value;r.payload=function(){return a(i)},r.callback=function(){nb(e),em(e,t)}}var l=e.stateNode;return null!==l&&"function"==typeof l.componentDidCatch&&(r.callback=function(){var n;nb(e),em(e,t),"function"!=typeof a&&(n=this,null===zg?zg=new Set([n]):zg.add(n));var r=t.value,i=t.stack;this.componentDidCatch(r,{componentStack:null!==i?i:""}),"function"!=typeof a&&(to(e.lanes,1)||o("%s: Error boundaries should implement getDerivedStateFromError(). In that method, return a state update to display an error message or fallback UI.",ze(e)||"Unknown"))}),r}function am(e,t,n){var r,a=e.pingCache;if(null===a?(a=e.pingCache=new tm,r=new Set,a.set(t,r)):void 0===(r=a.get(t))&&(r=new Set,a.set(t,r)),!r.has(n)){r.add(n);var o=Iy.bind(null,e,t,n);qr&&Vy(e,n),t.then(o,o)}}function om(e){var t=e;do{if(t.tag===c&&Kf(t))return t;t=t.return}while(null!==t);return null}function im(e,t,n,r,a){if(0==(1&e.mode)){if(e===t)e.flags|=lr;else{if(e.flags|=Zn,n.flags|=sr,n.flags&=-52805,1===n.tag)if(null===n.alternate)n.tag=p;else{var o=$d(Ha,1);o.tag=Ld,jd(n,o,1)}n.lanes=ro(n.lanes,1)}return e}return e.flags|=lr,e.lanes=a,e}function lm(e,t,n,r,a){if(n.flags|=ir,qr&&Vy(e,a),null!==r&&"object"==typeof r&&"function"==typeof r.then){var o=r;!function(e,t){var n=e.tag;if(0==(1&e.mode)&&(0===n||n===s||n===f)){var r=e.alternate;r?(e.updateQueue=r.updateQueue,e.memoizedState=r.memoizedState,e.lanes=r.lanes):(e.updateQueue=null,e.memoizedState=null)}}(n),Zc()&&1&n.mode&&Oc();var i=om(t);if(null!==i)return i.flags&=-257,im(i,t,n,0,a),1&i.mode&&am(e,o,a),void function(e,t,n,r){var a=e.updateQueue;if(null===a){var o=new Set;o.add(n),e.updateQueue=o}else a.add(n)}(i,0,o);if(0==(1&a))return am(e,o,a),void wy();r=new Error("A component suspended while responding to synchronous input. This will cause the UI to be replaced with a loading indicator. To fix, updates that suspend should be wrapped with startTransition.")}else if(Zc()&&1&n.mode){Oc();var l=om(t);if(null!==l)return 0==(l.flags&lr)&&(l.flags|=Jn),im(l,t,n,0,a),void Jc(Zh(r,n))}!function(e){4!==kg&&(kg=2);null===Rg?Rg=[e]:Rg.push(e)}(r=Zh(r,n));var u=t;do{switch(u.tag){case 3:var c=r;u.flags|=lr;var d=Za(a);return u.lanes=ro(u.lanes,d),void Wd(u,nm(u,c,d));case 1:var p=r,h=u.type,m=u.stateNode;if(0==(u.flags&Zn)&&("function"==typeof h.getDerivedStateFromError||null!==m&&"function"==typeof m.componentDidCatch&&!Dy(m))){u.flags|=lr;var v=Za(a);return u.lanes=ro(u.lanes,v),void Wd(u,rm(u,p,v))}}u=u.return}while(null!==u)}var sm,um,cm,dm,fm,pm,hm,mm,vm=n.ReactCurrentOwner,gm=!1;function ym(e,t,n,r){t.child=null===e?Nf(t,null,n,r):Rf(t,e.child,n,r)}function bm(e,t,n,r,a){if(t.type!==t.elementType){var o=n.propTypes;o&&Au(o,r,"prop",Fe(n))}var i,l,s=n.render,u=t.ref;if(xd(t,a),Xr(t),vm.current=t,qe(!0),i=Sp(e,t,s,r,u,a),l=Ep(),8&t.mode){Yr(!0);try{i=Sp(e,t,s,r,u,a),l=Ep()}finally{Yr(!1)}}return qe(!1),Zr(),null===e||gm?(Zc()&&l&&_c(t),t.flags|=1,ym(e,t,i,a),t.child):(_p(e,t,a),Km(e,t,a))}function wm(e,t,n,r,a){if(null===e){var o=n.type;if(function(e){return"function"==typeof e&&!fb(e)&&void 0===e.defaultProps}(o)&&null===n.compare&&void 0===n.defaultProps){var i;return i=Zy(o),t.tag=f,t.type=i,Nm(t,o),Sm(e,t,i,r,a)}var l=o.propTypes;l&&Au(l,r,"prop",Fe(o));var s=mb(n.type,null,r,t,t.mode,a);return s.ref=t.ref,s.return=t,t.child=s,s}var u=n.type,c=u.propTypes;c&&Au(c,r,"prop",Fe(u));var d=e.child;if(!Qm(e,a)){var p=d.memoizedProps,h=n.compare;if((h=null!==h?h:pl)(p,r)&&e.ref===t.ref)return Km(e,t,a)}t.flags|=1;var m=pb(d,r);return m.ref=t.ref,m.return=t,t.child=m,m}function Sm(e,t,n,r,a){if(t.type!==t.elementType){var o=t.elementType;if(o.$$typeof===ce){var i=o,l=i._payload,s=i._init;try{o=s(l)}catch(e){o=null}var u=o&&o.propTypes;u&&Au(u,r,"prop",Fe(o))}}if(null!==e){var c=e.memoizedProps;if(pl(c,r)&&e.ref===t.ref&&t.type===e.type){if(gm=!1,t.pendingProps=r=c,!Qm(e,a))return t.lanes=e.lanes,Km(e,t,a);0!=(e.flags&sr)&&(gm=!0)}}return km(e,t,n,r,a)}function Em(e,t,n){var r,a=t.pendingProps,o=a.children,i=null!==e?e.memoizedState:null;if("hidden"===a.mode)if(0==(1&t.mode)){var l={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=l,py(t,n)}else{if(!to(n,La)){var s;if(null!==i)s=ro(i.baseLanes,n);else s=n;t.lanes=t.childLanes=La;var u={baseLanes:s,cachePool:null,transitions:null};return t.memoizedState=u,t.updateQueue=null,py(t,s),null}var c={baseLanes:0,cachePool:null,transitions:null};t.memoizedState=c,py(t,null!==i?i.baseLanes:n)}else null!==i?(r=ro(i.baseLanes,n),t.memoizedState=null):r=n,py(t,r);return ym(e,t,o,n),t.child}function _m(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=er,t.flags|=cr)}function km(e,t,n,r,a){if(t.type!==t.elementType){var o=n.propTypes;o&&Au(o,r,"prop",Fe(n))}var i,l,s;if(i=Ku(t,Yu(0,n,!0)),xd(t,a),Xr(t),vm.current=t,qe(!0),l=Sp(e,t,n,r,i,a),s=Ep(),8&t.mode){Yr(!0);try{l=Sp(e,t,n,r,i,a),s=Ep()}finally{Yr(!1)}}return qe(!1),Zr(),null===e||gm?(Zc()&&s&&_c(t),t.flags|=1,ym(e,t,l,a),t.child):(_p(e,t,a),Km(e,t,a))}function Tm(e,t,n,r,a){switch(Fb(t)){case!1:var i=t.stateNode,l=new(0,t.type)(t.memoizedProps,i.context).state;i.updater.enqueueSetState(i,l,null);break;case!0:t.flags|=Zn,t.flags|=lr;var s=new Error("Simulated error coming from DevTools"),u=Za(a);t.lanes=ro(t.lanes,u),Wd(t,rm(t,Zh(s,t),u))}if(t.type!==t.elementType){var c=n.propTypes;c&&Au(c,r,"prop",Fe(n))}var d,f;Xu(n)?(d=!0,nc(t)):d=!1,xd(t,a),null===t.stateNode?(Gm(e,t),wf(t,n,r),Ef(t,n,r,a),f=!0):f=null===e?function(e,t,n,r){var a=e.stateNode,o=e.memoizedProps;a.props=o;var i=a.context,l=t.contextType,s=Vu;s="object"==typeof l&&null!==l?Cd(l):Ku(e,Yu(0,t,!0));var u=t.getDerivedStateFromProps,c="function"==typeof u||"function"==typeof a.getSnapshotBeforeUpdate;c||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||o===n&&i===s||Sf(e,a,n,s),Gd();var d=e.memoizedState,f=a.state=d;if(qd(e,n,a,r),f=e.memoizedState,o===n&&d===f&&!Qu()&&!Kd()){if("function"==typeof a.componentDidMount){var p=4;p|=dr,0!=(e.mode&la)&&(p|=fr),e.flags|=p}return!1}"function"==typeof u&&(df(e,t,u,n),f=e.memoizedState);var h=Kd()||yf(e,t,o,n,d,f,s);if(h){if(c||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount){var m=4;m|=dr,0!=(e.mode&la)&&(m|=fr),e.flags|=m}}else{if("function"==typeof a.componentDidMount){var v=4;v|=dr,0!=(e.mode&la)&&(v|=fr),e.flags|=v}e.memoizedProps=n,e.memoizedState=f}return a.props=n,a.state=f,a.context=s,h}(t,n,r,a):function(e,t,n,r,a){var o=t.stateNode;Ud(e,t);var i=t.memoizedProps,l=t.type===t.elementType?i:fd(t.type,i);o.props=l;var s=t.pendingProps,u=o.context,c=n.contextType,d=Vu;d="object"==typeof c&&null!==c?Cd(c):Ku(t,Yu(0,n,!0));var f=n.getDerivedStateFromProps,p="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate;p||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||i===s&&u===d||Sf(t,o,r,d),Gd();var h=t.memoizedState,m=o.state=h;if(qd(t,r,o,a),m=t.memoizedState,i===s&&h===m&&!Qu()&&!Kd())return"function"==typeof o.componentDidUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4)),"function"==typeof o.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=tr)),!1;"function"==typeof f&&(df(t,n,f,r),m=t.memoizedState);var v=Kd()||yf(t,n,l,r,h,m,d)||!1;return v?(p||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,m,d),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,m,d)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=tr)):("function"==typeof o.componentDidUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=4)),"function"==typeof o.getSnapshotBeforeUpdate&&(i===e.memoizedProps&&h===e.memoizedState||(t.flags|=tr)),t.memoizedProps=r,t.memoizedState=m),o.props=r,o.state=m,o.context=d,v}(e,t,n,r,a);var p=xm(e,t,n,f,d,a),h=t.stateNode;return f&&h.props!==r&&(pm||o("It looks like %s is reassigning its own `this.props` while rendering. This is not supported and can lead to confusing bugs.",ze(t)||"a component"),pm=!0),p}function xm(e,t,n,r,a,o){_m(e,t);var i=0!=(t.flags&Zn);if(!r&&!i)return a&&rc(t,n,!1),Km(e,t,o);var l,s=t.stateNode;if(vm.current=t,i&&"function"!=typeof n.getDerivedStateFromError)l=null,Bh();else{if(Xr(t),qe(!0),l=s.render(),8&t.mode){Yr(!0);try{s.render()}finally{Yr(!1)}}qe(!1),Zr()}return t.flags|=1,null!==e&&i?function(e,t,n,r){t.child=Rf(t,e.child,null,r),t.child=Rf(t,null,n,r)}(e,t,l,o):ym(e,t,l,o),t.memoizedState=s.state,a&&rc(t,n,!0),t.child}function Cm(e){var t=e.stateNode;t.pendingContext?ec(e,t.pendingContext,t.pendingContext!==t.context):t.context&&ec(e,t.context,!1),zf(e,t.containerInfo)}function Dm(e,t,n,r,a){return Qc(),Jc(a),t.flags|=Jn,ym(e,t,n,r),t.child}function Rm(e,t,n,r){Gm(e,t);var a=t.pendingProps,o=n,i=o._payload,l=(0,o._init)(i);t.type=l;var u=t.tag=function(e){if("function"==typeof e)return fb(e)?1:0;if(null!=e){var t=e.$$typeof;if(t===ie)return s;if(t===ue)return d}return 2}(l),c=fd(l,a);switch(u){case 0:return Nm(t,l),t.type=l=Zy(l),km(null,t,l,c,r);case 1:return t.type=l=Jy(l),Tm(null,t,l,c,r);case s:return t.type=l=eb(l),bm(null,t,l,c,r);case d:if(t.type!==t.elementType){var f=l.propTypes;f&&Au(f,c,"prop",Fe(l))}return wm(null,t,l,fd(l.type,c),r)}var p="";throw null!==l&&"object"==typeof l&&l.$$typeof===ce&&(p=" Did you wrap a component in React.lazy() more than once?"),new Error("Element type is invalid. Received a promise that resolves to: "+l+". Lazy element type must resolve to a class or function."+p)}function Nm(e,t){if(t&&t.childContextTypes&&o("%s(...): childContextTypes cannot be defined on a function component.",t.displayName||t.name||"Component"),null!==e.ref){var n="",r=je();r&&(n+="\n\nCheck the render method of `"+r+"`.");var a=r||"",i=e._debugSource;i&&(a=i.fileName+":"+i.lineNumber),fm[a]||(fm[a]=!0,o("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s",n))}if("function"==typeof t.getDerivedStateFromProps){var l=Fe(t)||"Unknown";dm[l]||(o("%s: Function components do not support getDerivedStateFromProps.",l),dm[l]=!0)}if("object"==typeof t.contextType&&null!==t.contextType){var s=Fe(t)||"Unknown";cm[s]||(o("%s: Function components do not support contextType.",s),cm[s]=!0)}}sm={},um={},cm={},dm={},fm={},pm=!1,hm={},mm={};var Pm={dehydrated:null,treeContext:null,retryLane:0};function Im(e){return{baseLanes:e,cachePool:null,transitions:null}}function Om(e,t,n){var r=t.pendingProps;Lb(t)&&(t.flags|=Zn);var a=Vf.current,i=!1,l=0!=(t.flags&Zn);if(l||function(e,t,n,r){return(null===t||null!==t.memoizedState)&&Wf(e,2)}(a,e)?(i=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a=a|1),Yf(t,a=Bf(a)),null===e){Vc(t);var s=t.memoizedState;if(null!==s){var u=s.dehydrated;if(null!==u)return function(e,t,n){0==(1&e.mode)?(o("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."),e.lanes=1):du(t)?e.lanes=8:e.lanes=La;return null}(t,u)}var c=r.children,d=r.fallback;if(i){var f=function(e,t,n,r){var a,o,i=e.mode,l=e.child,s={mode:"hidden",children:t};0==(1&i)&&null!==l?((a=l).childLanes=0,a.pendingProps=s,2&e.mode&&(a.actualDuration=0,a.actualStartTime=-1,a.selfBaseDuration=0,a.treeBaseDuration=0),o=gb(n,i,r,null)):(a=Am(s,i),o=gb(n,i,r,null));return a.return=e,o.return=e,a.sibling=o,e.child=a,o}(t,c,d,n);return t.child.memoizedState=Im(n),t.memoizedState=Pm,f}return Mm(t,c)}var p=e.memoizedState;if(null!==p){var h=p.dehydrated;if(null!==h)return function(e,t,n,r,a,o,i){if(n){if(t.flags&Jn)return t.flags&=-257,Lm(e,t,i,Jh(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering.")));if(null!==t.memoizedState)return t.child=e.child,t.flags|=Zn,null;var l=function(e,t,n,r,a){var o=t.mode,i=Am({mode:"visible",children:n},o),l=gb(r,o,a,null);l.flags|=2,i.return=t,l.return=t,i.sibling=l,t.child=i,0!=(1&t.mode)&&Rf(t,e.child,null,a);return l}(e,t,r.children,r.fallback,i);return t.child.memoizedState=Im(i),t.memoizedState=Pm,l}if(Ic(),0==(1&t.mode))return Lm(e,t,i,null);if(du(a)){var s,u,c,d=function(e){var t,n,r,a=e.nextSibling&&e.nextSibling.dataset;return a&&(t=a.dgst,n=a.msg,r=a.stck),{message:n,digest:t,stack:r}}(a);return s=d.digest,u=d.message,c=d.stack,Lm(e,t,i,Jh(u?new Error(u):new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering."),s,c))}var f=to(i,e.childLanes);if(gm||f){var p=Jg();if(null!==p){var h=function(e,t){var n;switch(Xa(t)){case 4:n=2;break;case fa:n=8;break;case 64:case 128:case 256:case 512:case ha:case ma:case va:case ga:case ya:case ba:case wa:case Sa:case Ea:case _a:case ka:case Ta:case Ca:case Da:case Ra:case Na:case Pa:n=32;break;case Fa:n=Aa;break;default:n=0}return 0!=(n&(e.suspendedLanes|t))?0:n}(p,i);if(0!==h&&h!==o.retryLane){o.retryLane=h;var m=Ha;Id(e,h),ry(p,e,h,m)}}return wy(),Lm(e,t,i,Jh(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition.")))}if(cu(a)){t.flags|=Zn,t.child=e.child;var v=My.bind(null,e);return y=v,a._reactRetry=y,null}Ac(t,a,o.treeContext);var g=Mm(t,r.children);return g.flags|=rr,g;var y}(e,t,l,r,h,p,n)}if(i){var m=r.fallback,v=function(e,t,n,r,a){var o,i,l=t.mode,s=e.child,u=s.sibling,c={mode:"hidden",children:n};if(0==(1&l)&&t.child!==s){(o=t.child).childLanes=0,o.pendingProps=c,2&t.mode&&(o.actualDuration=0,o.actualStartTime=-1,o.selfBaseDuration=s.selfBaseDuration,o.treeBaseDuration=s.treeBaseDuration),t.deletions=null}else(o=Fm(s,c)).subtreeFlags=s.subtreeFlags&yr;null!==u?i=pb(u,r):(i=gb(r,l,a,null)).flags|=2;return i.return=t,o.return=t,o.sibling=i,t.child=o,i}(e,t,r.children,m,n),g=t.child,y=e.child.memoizedState;return g.memoizedState=null===y?Im(n):function(e,t){return{baseLanes:ro(e.baseLanes,t),cachePool:null,transitions:e.transitions}}(y,n),g.childLanes=function(e,t){return ao(e.childLanes,t)}(e,n),t.memoizedState=Pm,v}var b=function(e,t,n,r){var a=e.child,o=a.sibling,i=Fm(a,{mode:"visible",children:n});0==(1&t.mode)&&(i.lanes=r);if(i.return=t,i.sibling=null,null!==o){var l=t.deletions;null===l?(t.deletions=[o],t.flags|=Xn):l.push(o)}return t.child=i,i}(e,t,r.children,n);return t.memoizedState=null,b}function Mm(e,t,n){var r=Am({mode:"visible",children:t},e.mode);return r.return=e,e.child=r,r}function Am(e,t,n){return yb(e,t,0,null)}function Fm(e,t){return pb(e,t)}function Lm(e,t,n,r){null!==r&&Jc(r),Rf(t,e.child,null,n);var a=Mm(t,t.pendingProps.children);return a.flags|=2,t.memoizedState=null,a}function zm(e,t,n){e.lanes=ro(e.lanes,t);var r=e.alternate;null!==r&&(r.lanes=ro(r.lanes,t)),kd(e.return,t,n)}function Hm(e,t){var n=wt(e),r=!n&&"function"==typeof pe(e);if(n||r){var a=n?"array":"iterable";return o("A nested %s was passed to row #%s in <SuspenseList />. Wrap it in an additional SuspenseList to configure its revealOrder: <SuspenseList revealOrder=...> ... <SuspenseList revealOrder=...>{%s}</SuspenseList> ... </SuspenseList>",a,t,a),!1}return!0}function Um(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 $m(e,t,n){var r=t.pendingProps,a=r.revealOrder,i=r.tail,l=r.children;!function(e){if(void 0!==e&&"forwards"!==e&&"backwards"!==e&&"together"!==e&&!hm[e])if(hm[e]=!0,"string"==typeof e)switch(e.toLowerCase()){case"together":case"forwards":case"backwards":o('"%s" is not a valid value for revealOrder on <SuspenseList />. Use lowercase "%s" instead.',e,e.toLowerCase());break;case"forward":case"backward":o('"%s" is not a valid value for revealOrder on <SuspenseList />. React uses the -s suffix in the spelling. Use "%ss" instead.',e,e.toLowerCase());break;default:o('"%s" is not a supported revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}else o('%s is not a supported value for revealOrder on <SuspenseList />. Did you mean "together", "forwards" or "backwards"?',e)}(a),function(e,t){void 0===e||mm[e]||("collapsed"!==e&&"hidden"!==e?(mm[e]=!0,o('"%s" is not a supported value for tail on <SuspenseList />. Did you mean "collapsed" or "hidden"?',e)):"forwards"!==t&&"backwards"!==t&&(mm[e]=!0,o('<SuspenseList tail="%s" /> is only valid if revealOrder is "forwards" or "backwards". Did you mean to specify revealOrder="forwards"?',e)))}(i,a),function(e,t){if(("forwards"===t||"backwards"===t)&&null!=e&&!1!==e)if(wt(e)){for(var n=0;n<e.length;n++)if(!Hm(e[n],n))return}else{var r=pe(e);if("function"==typeof r){var a=r.call(e);if(a)for(var i=a.next(),l=0;!i.done;i=a.next()){if(!Hm(i.value,l))return;l++}}else o('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?',t)}}(l,a),ym(e,t,l,n);var s=Vf.current;Wf(s,2)?(s=qf(s,2),t.flags|=Zn):(null!==e&&0!=(e.flags&Zn)&&function(e,t,n){for(var r=t;null!==r;){if(r.tag===c)null!==r.memoizedState&&zm(r,n,e);else if(r.tag===m)zm(r,n,e);else if(null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;r=r.return}r.sibling.return=r.return,r=r.sibling}}(t,t.child,n),s=Bf(s));if(Yf(t,s),0==(1&t.mode))t.memoizedState=null;else switch(a){case"forwards":var u,d=function(e){for(var t=e,n=null;null!==t;){var r=t.alternate;null!==r&&null===Qf(r)&&(n=t),t=t.sibling}return n}(t.child);null===d?(u=t.child,t.child=null):(u=d.sibling,d.sibling=null),Um(t,!1,u,d,i);break;case"backwards":var f=null,p=t.child;for(t.child=null;null!==p;){var h=p.alternate;if(null!==h&&null===Qf(h)){t.child=p;break}var v=p.sibling;p.sibling=f,f=p,p=v}Um(t,!0,f,null,i);break;case"together":Um(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}var jm=!1;var Vm,Wm,Bm,qm=!1;function Ym(){gm=!0}function Gm(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Km(e,t,n){return null!==e&&(t.dependencies=e.dependencies),Bh(),by(t.lanes),to(n,t.childLanes)?(function(e,t){if(null!==e&&t.child!==e.child)throw new Error("Resuming work not yet implemented.");if(null!==t.child){var n=t.child,r=pb(n,n.pendingProps);for(t.child=r,r.return=t;null!==n.sibling;)n=n.sibling,(r=r.sibling=pb(n,n.pendingProps)).return=t;r.sibling=null}}(e,t),t.child):null}function Qm(e,t){return!!to(e.lanes,t)}function Xm(e,t,n){if(t._debugNeedsRemount&&null!==e)return function(e,t,n){var r=t.return;if(null===r)throw new Error("Cannot swap the root fiber.");if(e.alternate=null,t.alternate=null,n.index=t.index,n.sibling=t.sibling,n.return=t.return,n.ref=t.ref,t===r.child)r.child=n;else{var a=r.child;if(null===a)throw new Error("Expected parent to have a child.");for(;a.sibling!==t;)if(null===(a=a.sibling))throw new Error("Expected to find the previous sibling.");a.sibling=n}var o=r.deletions;return null===o?(r.deletions=[e],r.flags|=Xn):o.push(e),n.flags|=2,n}(e,t,mb(t.type,t.key,t.pendingProps,t._debugOwner||null,t.mode,t.lanes));if(null!==e)if(e.memoizedProps!==t.pendingProps||Qu()||t.type!==e.type)gm=!0;else{if(!Qm(e,n)&&0==(t.flags&Zn))return gm=!1,function(e,t,n){switch(t.tag){case 3:Cm(t),t.stateNode,Qc();break;case 5:$f(t);break;case 1:Xu(t.type)&&nc(t);break;case 4:zf(t,t.stateNode.containerInfo);break;case l:var r=t.memoizedProps.value;Ed(t,t.type._context,r);break;case u:to(n,t.childLanes)&&(t.flags|=4);var a=t.stateNode;a.effectDuration=0,a.passiveEffectDuration=0;break;case c:var o=t.memoizedState;if(null!==o){if(null!==o.dehydrated)return Yf(t,Bf(Vf.current)),t.flags|=Zn,null;if(to(n,t.child.childLanes))return Om(e,t,n);Yf(t,Bf(Vf.current));var i=Km(e,t,n);return null!==i?i.sibling:null}Yf(t,Bf(Vf.current));break;case m:var s=0!=(e.flags&Zn),d=to(n,t.childLanes);if(s){if(d)return $m(e,t,n);t.flags|=Zn}var f=t.memoizedState;if(null!==f&&(f.rendering=null,f.tail=null,f.lastEffect=null),Yf(t,Vf.current),d)break;return null;case g:case y:return t.lanes=0,Em(e,t,n)}return Km(e,t,n)}(e,t,n);gm=0!=(e.flags&sr)}else if(gm=!1,Zc()&&function(e){return xc(),0!=(e.flags&ur)}(t)){var r=t.index;Ec(t,(xc(),hc),r)}switch(t.lanes=0,t.tag){case 2:return function(e,t,n,r){Gm(e,t);var a,i,l,s=t.pendingProps;if(a=Ku(t,Yu(0,n,!1)),xd(t,r),Xr(t),n.prototype&&"function"==typeof n.prototype.render){var u=Fe(n)||"Unknown";sm[u]||(o("The <%s /> component appears to have a render method, but doesn't extend React.Component. This is likely to cause errors. Change %s to extend React.Component instead.",u,u),sm[u]=!0)}if(8&t.mode&&td.recordLegacyContextWarning(t,null),qe(!0),vm.current=t,i=Sp(null,t,n,s,a,r),l=Ep(),qe(!1),Zr(),t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var c=Fe(n)||"Unknown";um[c]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",c,c,c),um[c]=!0)}if("object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof){var d=Fe(n)||"Unknown";um[d]||(o("The <%s /> component appears to be a function component that returns a class instance. Change %s to a class that extends React.Component instead. If you can't use a class try assigning the prototype on the function as a workaround. `%s.prototype = React.Component.prototype`. Don't use an arrow function since it cannot be called with `new` by React.",d,d,d),um[d]=!0),t.tag=1,t.memoizedState=null,t.updateQueue=null;var f=!1;return Xu(n)?(f=!0,nc(t)):f=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Hd(t),bf(t,i),Ef(t,n,s,r),xm(null,t,n,!0,f,r)}if(t.tag=0,8&t.mode){Yr(!0);try{i=Sp(null,t,n,s,a,r),l=Ep()}finally{Yr(!1)}}return Zc()&&l&&_c(t),ym(null,t,i,r),Nm(t,n),t.child}(e,t,t.type,n);case 16:return Rm(e,t,t.elementType,n);case 0:var a=t.type,i=t.pendingProps;return km(e,t,a,t.elementType===a?i:fd(a,i),n);case 1:var h=t.type,b=t.pendingProps;return Tm(e,t,h,t.elementType===h?b:fd(h,b),n);case 3:return function(e,t,n){if(Cm(t),null===e)throw new Error("Should have a current fiber. This is a bug in React.");var r=t.pendingProps,a=t.memoizedState,o=a.element;Ud(e,t),qd(t,r,null,n);var i=t.memoizedState;t.stateNode;var l=i.element;if(a.isDehydrated){var s={element:l,isDehydrated:!1,cache:i.cache,pendingSuspenseBoundaries:i.pendingSuspenseBoundaries,transitions:i.transitions};if(t.updateQueue.baseState=s,t.memoizedState=s,t.flags&Jn)return Dm(e,t,l,n,Zh(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."),t));if(l!==o)return Dm(e,t,l,n,Zh(new Error("This root received an early update, before anything was able hydrate. Switched the entire root to client rendering."),t));Mc(t);var u=Nf(t,null,l,n);t.child=u;for(var c=u;c;)c.flags=-3&c.flags|rr,c=c.sibling}else{if(Qc(),l===o)return Km(e,t,n);ym(e,t,l,n)}return t.child}(e,t,n);case 5:return function(e,t,n){$f(t),null===e&&Vc(t);var r=t.type,a=t.pendingProps,o=null!==e?e.memoizedProps:null,i=a.children;return Zs(r,a)?i=null:null!==o&&Zs(r,o)&&(t.flags|=32),_m(e,t),ym(e,t,i,n),t.child}(e,t,n);case 6:return function(e,t){return null===e&&Vc(t),null}(e,t);case c:return Om(e,t,n);case 4:return function(e,t,n){zf(t,t.stateNode.containerInfo);var r=t.pendingProps;return null===e?t.child=Rf(t,null,r,n):ym(e,t,r,n),t.child}(e,t,n);case s:var w=t.type,S=t.pendingProps;return bm(e,t,w,t.elementType===w?S:fd(w,S),n);case 7:return function(e,t,n){return ym(e,t,t.pendingProps,n),t.child}(e,t,n);case 8:return function(e,t,n){return ym(e,t,t.pendingProps.children,n),t.child}(e,t,n);case u:return function(e,t,n){t.flags|=4;var r=t.stateNode;return r.effectDuration=0,r.passiveEffectDuration=0,ym(e,t,t.pendingProps.children,n),t.child}(e,t,n);case l:return function(e,t,n){var r=t.type._context,a=t.pendingProps,i=t.memoizedProps,l=a.value;"value"in a||jm||(jm=!0,o("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));var s=t.type.propTypes;if(s&&Au(s,a,"prop","Context.Provider"),Ed(t,r,l),null!==i){var u=i.value;if(fl(u,l)){if(i.children===a.children&&!Qu())return Km(e,t,n)}else Td(t,r,n)}return ym(e,t,a.children,n),t.child}(e,t,n);case 9:return function(e,t,n){var r=t.type;void 0===r._context?r!==r.Consumer&&(qm||(qm=!0,o("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))):r=r._context;var a=t.pendingProps.children;"function"!=typeof a&&o("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."),xd(t,n);var i,l=Cd(r);return Xr(t),vm.current=t,qe(!0),i=a(l),qe(!1),Zr(),t.flags|=1,ym(e,t,i,n),t.child}(e,t,n);case d:var E=t.type,_=fd(E,t.pendingProps);if(t.type!==t.elementType){var k=E.propTypes;k&&Au(k,_,"prop",Fe(E))}return wm(e,t,E,_=fd(E.type,_),n);case f:return Sm(e,t,t.type,t.pendingProps,n);case p:var T=t.type,x=t.pendingProps;return function(e,t,n,r,a){var o;return Gm(e,t),t.tag=1,Xu(n)?(o=!0,nc(t)):o=!1,xd(t,a),wf(t,n,r),Ef(t,n,r,a),xm(null,t,n,!0,o,a)}(e,t,T,t.elementType===T?x:fd(T,x),n);case m:return $m(e,t,n);case v:break;case g:return Em(e,t,n)}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function Zm(e){e.flags|=4}function Jm(e){e.flags|=er,e.flags|=cr}function ev(e,t){if(!Zc())switch(e.tailMode){case"hidden":for(var n=e.tail,r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":for(var a=e.tail,o=null;null!==a;)null!==a.alternate&&(o=a),a=a.sibling;null===o?t||null===e.tail?e.tail=null:e.tail.sibling=null:o.sibling=null}}function tv(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t){if(0!=(2&e.mode)){for(var a=e.selfBaseDuration,o=e.child;null!==o;)n=ro(n,ro(o.lanes,o.childLanes)),r|=o.subtreeFlags&yr,r|=o.flags&yr,a+=o.treeBaseDuration,o=o.sibling;e.treeBaseDuration=a}else for(var i=e.child;null!==i;)n=ro(n,ro(i.lanes,i.childLanes)),r|=i.subtreeFlags&yr,r|=i.flags&yr,i.return=e,i=i.sibling;e.subtreeFlags|=r}else{if(0!=(2&e.mode)){for(var l=e.actualDuration,s=e.selfBaseDuration,u=e.child;null!==u;)n=ro(n,ro(u.lanes,u.childLanes)),r|=u.subtreeFlags,r|=u.flags,l+=u.actualDuration,s+=u.treeBaseDuration,u=u.sibling;e.actualDuration=l,e.treeBaseDuration=s}else for(var c=e.child;null!==c;)n=ro(n,ro(c.lanes,c.childLanes)),r|=c.subtreeFlags,r|=c.flags,c.return=e,c=c.sibling;e.subtreeFlags|=r}return e.childLanes=n,t}function nv(e,t,n){if(Rc&&null!==Dc&&0!=(1&t.mode)&&0==(t.flags&Zn))return Kc(t),Qc(),t.flags|=98560,!1;var r=Gc(t);if(null!==n&&null!==n.dehydrated){if(null===e){if(!r)throw new Error("A dehydrated suspense component was completed without a hydrated node. This is probably a bug in React.");if(Bc(t),tv(t),0!=(2&t.mode))if(null!==n){var a=t.child;null!==a&&(t.treeBaseDuration-=a.treeBaseDuration)}return!1}if(Qc(),0==(t.flags&Zn)&&(t.memoizedState=null),t.flags|=4,tv(t),0!=(2&t.mode)&&null!==n){var o=t.child;null!==o&&(t.treeBaseDuration-=o.treeBaseDuration)}return!1}return Xc(),!0}function rv(e,t,n){var r=t.pendingProps;switch(Tc(t),t.tag){case 2:case 16:case f:case 0:case s:case 7:case 8:case u:case 9:case d:return tv(t),null;case 1:return Xu(t.type)&&Zu(t),tv(t),null;case 3:var a=t.stateNode;if(Hf(t),Ju(t),Zf(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null===e||null===e.child)if(Gc(t))Zm(t);else if(null!==e)e.memoizedState.isDehydrated&&0==(t.flags&Jn)||(t.flags|=tr,Xc());return tv(t),null;case 5:jf(t);var o=Lf(),i=t.type;if(null!==e&&null!=t.stateNode)Wm(e,t,i,r),e.ref!==t.ref&&Jm(t);else{if(!r){if(null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");return tv(t),null}var h=Uf();if(Gc(t))(function(e,t,n){var r=e.stateNode,a=!Nc,o=hu(r,e.type,e.memoizedProps,0,n,e,a);return e.updateQueue=o,null!==o})(t,0,h)&&Zm(t);else{var b=Xs(i,r,o,h,t);Vm(b,t),t.stateNode=b,function(e,t,n,r,a){switch(Rs(e,t,n),t){case"button":case"input":case"select":case"textarea":return!!n.autoFocus;case"img":return!0;default:return!1}}(b,i,r)&&Zm(t)}null!==t.ref&&Jm(t)}return tv(t),null;case 6:var w=r;if(e&&null!=t.stateNode){var S=e.memoizedProps;Bm(0,t,S,w)}else{if("string"!=typeof w&&null===t.stateNode)throw new Error("We must have new props for new mounts. This error is likely caused by a bug in React. Please file an issue.");var E=Lf(),_=Uf();Gc(t)?Wc(t)&&Zm(t):t.stateNode=Js(w,E,_,t)}return tv(t),null;case c:Gf(t);var k=t.memoizedState;if(null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated)if(!nv(e,t,k))return t.flags&lr?t:null;if(0!=(t.flags&Zn))return t.lanes=n,0!=(2&t.mode)&&Xh(t),t;var T=null!==k;if(T!==(null!==e&&null!==e.memoizedState))if(T)if(t.child.flags|=ar,0!=(1&t.mode))null===e&&(!0!==t.memoizedProps.unstable_avoidThisFallback||!0)||Wf(Vf.current,1)?0===kg&&(kg=3):wy();if(null!==t.updateQueue&&(t.flags|=4),tv(t),0!=(2&t.mode)&&T){var x=t.child;null!==x&&(t.treeBaseDuration-=x.treeBaseDuration)}return null;case 4:return Hf(t),null===e&&es(t.stateNode.containerInfo),tv(t),null;case l:return _d(t.type._context,t),tv(t),null;case p:return Xu(t.type)&&Zu(t),tv(t),null;case m:Gf(t);var C=t.memoizedState;if(null===C)return tv(t),null;var D=0!=(t.flags&Zn),R=C.rendering;if(null===R)if(D)ev(C,!1);else{if(!(0===kg&&(null===e||0==(e.flags&Zn))))for(var N=t.child;null!==N;){var P=Qf(N);if(null!==P){D=!0,t.flags|=Zn,ev(C,!1);var I=P.updateQueue;return null!==I&&(t.updateQueue=I,t.flags|=4),t.subtreeFlags=0,Pf(t,n),Yf(t,qf(Vf.current,2)),t.child}N=N.sibling}null!==C.tail&&Or()>Ag()&&(t.flags|=Zn,D=!0,ev(C,!1),t.lanes=Ia)}else{if(!D){var O=Qf(R);if(null!==O){t.flags|=Zn,D=!0;var M=O.updateQueue;if(null!==M&&(t.updateQueue=M,t.flags|=4),ev(C,!0),null===C.tail&&"hidden"===C.tailMode&&!R.alternate&&!Zc())return tv(t),null}else 2*Or()-C.renderingStartTime>Ag()&&n!==La&&(t.flags|=Zn,D=!0,ev(C,!1),t.lanes=Ia)}if(C.isBackwards)R.sibling=t.child,t.child=R;else{var A=C.last;null!==A?A.sibling=R:t.child=R,C.last=R}}if(null!==C.tail){var F=C.tail;C.rendering=F,C.tail=F.sibling,C.renderingStartTime=Or(),F.sibling=null;var L=Vf.current;return Yf(t,L=D?qf(L,2):Bf(L)),F}return tv(t),null;case v:break;case g:case y:hy(t);var z=null!==t.memoizedState;if(null!==e)null!==e.memoizedState!==z&&(t.flags|=ar);return z&&0!=(1&t.mode)?to(Eg,La)&&(tv(t),6&t.subtreeFlags&&(t.flags|=ar)):tv(t),null;case 24:case 25:return null}throw new Error("Unknown unit of work tag ("+t.tag+"). This error is likely caused by a bug in React. Please file an issue.")}function av(e,t,n){switch(Tc(t),t.tag){case 1:Xu(t.type)&&Zu(t);var r=t.flags;return r&lr?(t.flags=-65537&r|Zn,0!=(2&t.mode)&&Xh(t),t):null;case 3:t.stateNode,Hf(t),Ju(t),Zf();var a=t.flags;return 0!=(a&lr)&&0==(a&Zn)?(t.flags=-65537&a|Zn,t):null;case 5:return jf(t),null;case c:Gf(t);var o=t.memoizedState;if(null!==o&&null!==o.dehydrated){if(null===t.alternate)throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");Qc()}var i=t.flags;return i&lr?(t.flags=-65537&i|Zn,0!=(2&t.mode)&&Xh(t),t):null;case m:return Gf(t),null;case 4:return Hf(t),null;case l:return _d(t.type._context,t),null;case g:case y:return hy(t),null;default:return null}}function ov(e,t,n){switch(Tc(t),t.tag){case 1:var r=t.type.childContextTypes;null!=r&&Zu(t);break;case 3:t.stateNode,Hf(t),Ju(t),Zf();break;case 5:jf(t);break;case 4:Hf(t);break;case c:case m:Gf(t);break;case l:_d(t.type._context,t);break;case g:case y:hy(t)}}Vm=function(e,t,n,r){for(var a,o,i=t.child;null!==i;){if(5===i.tag||6===i.tag)a=e,o=i.stateNode,a.appendChild(o);else if(4===i.tag);else if(null!==i.child){i.child.return=i,i=i.child;continue}if(i===t)return;for(;null===i.sibling;){if(null===i.return||i.return===t)return;i=i.return}i.sibling.return=i.return,i=i.sibling}},Wm=function(e,t,n,r,a){var o=e.memoizedProps;if(o!==r){var i=function(e,t,n,r,a,o){var i=o;if(typeof r.children!=typeof n.children&&("string"==typeof r.children||"number"==typeof r.children)){var l=""+r.children,s=Ls(i.ancestorInfo,t);Fs(null,l,s)}return Ns(e,t,n,r)}(t.stateNode,n,o,r,0,Uf());t.updateQueue=i,i&&Zm(t)}},Bm=function(e,t,n,r){n!==r&&Zm(t)};var iv;iv=new Set;var lv=!1,sv=!1,uv="function"==typeof WeakSet?WeakSet:Set,cv=null,dv=null,fv=null;function pv(e,t){try{_v(4,e)}catch(n){Py(e,t,n)}}function hv(e,t,n){try{!function(e,t){if(t.props=e.memoizedProps,t.state=e.memoizedState,2&e.mode)try{Kh(),t.componentWillUnmount()}finally{Yh(e)}else t.componentWillUnmount()}(e,n)}catch(n){Py(e,t,n)}}function mv(e,t){try{Cv(e)}catch(n){Py(e,t,n)}}function vv(e,t){var n=e.ref;if(null!==n)if("function"==typeof n){var r;try{if(2&e.mode)try{Kh(),r=n(null)}finally{Yh(e)}else r=n(null)}catch(n){Py(e,t,n)}"function"==typeof r&&o("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ze(e))}else n.current=null}function gv(e,t,n){try{n()}catch(n){Py(e,t,n)}}var yv=!1;function bv(e,t){Qs(e.containerInfo),cv=t,function(){for(;null!==cv;){var e=cv,t=e.child;0!=(e.subtreeFlags&hr)&&null!==t?(t.return=e,cv=t):wv()}}();var n=yv;return yv=!1,n}function wv(){for(;null!==cv;){var e=cv;Be(e);try{Sv(e)}catch(t){Py(e,e.return,t)}We();var t=e.sibling;if(null!==t)return t.return=e.return,void(cv=t);cv=e.return}}function Sv(e){var t,n=e.alternate;if(0!=(e.flags&tr)){switch(Be(e),e.tag){case 0:case s:case f:break;case 1:if(null!==n){var r=n.memoizedProps,a=n.memoizedState,i=e.stateNode;e.type!==e.elementType||pm||(i.props!==e.memoizedProps&&o("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ze(e)||"instance"),i.state!==e.memoizedState&&o("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ze(e)||"instance"));var l=i.getSnapshotBeforeUpdate(e.elementType===e.type?r:fd(e.type,r),a),u=iv;void 0!==l||u.has(e.type)||(u.add(e.type),o("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.",ze(e))),i.__reactInternalSnapshotBeforeUpdate=l}break;case 3:var c=e.stateNode;1===(t=c.containerInfo).nodeType?t.textContent="":9===t.nodeType&&t.documentElement&&t.removeChild(t.documentElement);break;case 5:case 6:case 4:case p:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}We()}}function Ev(e,t,n){var r,a=t.updateQueue,o=null!==a?a.lastEffect:null;if(null!==o){var i=o.next,l=i;do{if((l.tag&e)===e){var s=l.destroy;l.destroy=void 0,void 0!==s&&(0!=(8&e)?(r=t,null!==Wr&&"function"==typeof Wr.markComponentPassiveEffectUnmountStarted&&Wr.markComponentPassiveEffectUnmountStarted(r)):0!=(4&e)&&ea(t),0!=(2&e)&&Gy(!0),gv(t,n,s),0!=(2&e)&&Gy(!1),0!=(8&e)?null!==Wr&&"function"==typeof Wr.markComponentPassiveEffectUnmountStopped&&Wr.markComponentPassiveEffectUnmountStopped():0!=(4&e)&&ta())}l=l.next}while(l!==i)}}function _v(e,t){var n,r=t.updateQueue,a=null!==r?r.lastEffect:null;if(null!==a){var i=a.next,l=i;do{if((l.tag&e)===e){0!=(8&e)?(n=t,null!==Wr&&"function"==typeof Wr.markComponentPassiveEffectMountStarted&&Wr.markComponentPassiveEffectMountStarted(n)):0!=(4&e)&&Jr(t);var s=l.create;0!=(2&e)&&Gy(!0),l.destroy=s(),0!=(2&e)&&Gy(!1),0!=(8&e)?null!==Wr&&"function"==typeof Wr.markComponentPassiveEffectMountStopped&&Wr.markComponentPassiveEffectMountStopped():0!=(4&e)&&null!==Wr&&"function"==typeof Wr.markComponentLayoutEffectMountStopped&&Wr.markComponentLayoutEffectMountStopped();var u=l.destroy;if(void 0!==u&&"function"!=typeof u){var c=void 0;o("%s must not return anything besides a function, which is used for clean-up.%s",c=0!=(4&l.tag)?"useLayoutEffect":0!=(2&l.tag)?"useInsertionEffect":"useEffect",null===u?" You returned null. If your effect does not require clean up, return undefined (or nothing).":"function"==typeof u.then?"\n\nIt looks like you wrote "+c+"(async () => ...) or returned a Promise. Instead, write the async function inside your effect and call it immediately:\n\n"+c+"(() => {\n async function fetchData() {\n // You can await here\n const response = await MyAPI.getData(someId);\n // ...\n }\n fetchData();\n}, [someId]); // Or [] if effect doesn't need props or state\n\nLearn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-fetching":" You returned: "+u)}}l=l.next}while(l!==i)}}function kv(e,t){if(0!=(4&t.flags)&&t.tag===u){var n=t.stateNode.passiveEffectDuration,r=t.memoizedProps,a=r.id,o=r.onPostCommit,i=jh(),l=null===t.alternate?"mount":"update";$h()&&(l="nested-update"),"function"==typeof o&&o(a,l,n,i);var s=t.return;e:for(;null!==s;){switch(s.tag){case 3:s.stateNode.passiveEffectDuration+=n;break e;case u:s.stateNode.passiveEffectDuration+=n;break e}s=s.return}}}function Tv(e,t,n,r){if(0!=(n.flags&vr))switch(n.tag){case 0:case s:case f:if(!sv)if(2&n.mode)try{Kh(),_v(5,n)}finally{Yh(n)}else _v(5,n);break;case 1:var a=n.stateNode;if(4&n.flags&&!sv)if(null===t)if(n.type!==n.elementType||pm||(a.props!==n.memoizedProps&&o("Expected %s props to match memoized props before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ze(n)||"instance"),a.state!==n.memoizedState&&o("Expected %s state to match memoized state before componentDidMount. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ze(n)||"instance")),2&n.mode)try{Kh(),a.componentDidMount()}finally{Yh(n)}else a.componentDidMount();else{var i=n.elementType===n.type?t.memoizedProps:fd(n.type,t.memoizedProps),l=t.memoizedState;if(n.type!==n.elementType||pm||(a.props!==n.memoizedProps&&o("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ze(n)||"instance"),a.state!==n.memoizedState&&o("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ze(n)||"instance")),2&n.mode)try{Kh(),a.componentDidUpdate(i,l,a.__reactInternalSnapshotBeforeUpdate)}finally{Yh(n)}else a.componentDidUpdate(i,l,a.__reactInternalSnapshotBeforeUpdate)}var d=n.updateQueue;null!==d&&(n.type!==n.elementType||pm||(a.props!==n.memoizedProps&&o("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.",ze(n)||"instance"),a.state!==n.memoizedState&&o("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.",ze(n)||"instance")),Qd(0,d,a));break;case 3:var h=n.updateQueue;if(null!==h){var b=null;if(null!==n.child)switch(n.child.tag){case 5:case 1:b=n.child.stateNode}Qd(0,h,b)}break;case 5:var w=n.stateNode;if(null===t&&4&n.flags)!function(e,t,n,r){switch(t){case"button":case"input":case"select":case"textarea":return void(n.autoFocus&&e.focus());case"img":n.src&&(e.src=n.src)}}(w,n.type,n.memoizedProps);break;case 6:case 4:break;case u:var S=n.memoizedProps,E=S.onCommit,_=S.onRender,k=n.stateNode.effectDuration,T=jh(),x=null===t?"mount":"update";$h()&&(x="nested-update"),"function"==typeof _&&_(n.memoizedProps.id,x,n.actualDuration,n.treeBaseDuration,n.actualStartTime,T),"function"==typeof E&&E(n.memoizedProps.id,x,k,T),D=n,jg.push(D),Hg||(Hg=!0,By(Lr,(function(){return Cy(),null})));var C=n.return;e:for(;null!==C;){switch(C.tag){case 3:C.stateNode.effectDuration+=k;break e;case u:C.stateNode.effectDuration+=k;break e}C=C.return}break;case c:!function(e,t){if(null===t.memoizedState){var n=t.alternate;if(null!==n){var r=n.memoizedState;if(null!==r){var a=r.dehydrated;null!==a&&function(e){Bo(e)}(a)}}}}(0,n);break;case m:case p:case v:case g:case y:case 25:break;default:throw new Error("This unit of work tag should not have side-effects. This error is likely caused by a bug in React. Please file an issue.")}var D;sv||n.flags&er&&Cv(n)}function xv(e){switch(e.tag){case 0:case s:case f:if(2&e.mode)try{Kh(),pv(e,e.return)}finally{Yh(e)}else pv(e,e.return);break;case 1:var t=e.stateNode;"function"==typeof t.componentDidMount&&function(e,t,n){try{n.componentDidMount()}catch(n){Py(e,t,n)}}(e,e.return,t),mv(e,e.return);break;case 5:mv(e,e.return)}}function Cv(e){var t=e.ref;if(null!==t){var n,r=e.stateNode;if(e.tag,n=r,"function"==typeof t){var a;if(2&e.mode)try{Kh(),a=t(n)}finally{Yh(e)}else a=t(n);"function"==typeof a&&o("Unexpected return value from a callback ref in %s. A callback ref should not return a function.",ze(e))}else t.hasOwnProperty("current")||o("Unexpected ref object provided for %s. Use either a ref-setter function or React.createRef().",ze(e)),t.current=n}}function Dv(e){var t,n=e.alternate;if(null!==n&&(e.alternate=null,Dv(n)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag){var r=e.stateNode;null!==r&&(delete(t=r)[gu],delete t[yu],delete t[wu],delete t[Su],delete t[Eu])}e.stateNode=null,e._debugOwner=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function Rv(e){return 5===e.tag||3===e.tag||4===e.tag}function Nv(e){var t=e;e:for(;;){for(;null===t.sibling;){if(null===t.return||Rv(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&t.tag!==h;){if(2&t.flags)continue e;if(null===t.child||4===t.tag)continue e;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}function Pv(e){var t=function(e){for(var t=e.return;null!==t;){if(Rv(t))return t;t=t.return}throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.")}(e);switch(t.tag){case 5:var n=t.stateNode;32&t.flags&&(ou(n),t.flags&=-33),Ov(e,Nv(e),n);break;case 3:case 4:var r=t.stateNode.containerInfo;Iv(e,Nv(e),r);break;default:throw new Error("Invalid host parent fiber. This error is likely caused by a bug in React. Please file an issue.")}}function Iv(e,t,n){var r=e.tag;if(5===r||6===r){var a=e.stateNode;t?function(e,t,n){8===e.nodeType?e.parentNode.insertBefore(t,n):e.insertBefore(t,n)}(n,a,t):function(e,t){var n;8===e.nodeType?(n=e.parentNode).insertBefore(t,e):(n=e).appendChild(t),null==e._reactRootContainer&&null===n.onclick&&Ds(n)}(n,a)}else if(4===r);else{var o=e.child;if(null!==o){Iv(o,t,n);for(var i=o.sibling;null!==i;)Iv(i,t,n),i=i.sibling}}}function Ov(e,t,n){var r=e.tag;if(5===r||6===r){var a=e.stateNode;t?function(e,t,n){e.insertBefore(t,n)}(n,a,t):function(e,t){e.appendChild(t)}(n,a)}else if(4===r);else{var o=e.child;if(null!==o){Ov(o,t,n);for(var i=o.sibling;null!==i;)Ov(i,t,n),i=i.sibling}}}var Mv=null,Av=!1;function Fv(e,t,n){var r,a,o=t;e:for(;null!==o;){switch(o.tag){case 5:Mv=o.stateNode,Av=!1;break e;case 3:case 4:Mv=o.stateNode.containerInfo,Av=!0;break e}o=o.return}if(null===Mv)throw new Error("Expected to find a host parent. This error is likely caused by a bug in React. Please file an issue.");zv(e,t,n),Mv=null,Av=!1,null!==(a=(r=n).alternate)&&(a.return=null),r.return=null}function Lv(e,t,n){for(var r=n.child;null!==r;)zv(e,t,r),r=r.sibling}function zv(e,t,n){switch(function(e){if(Vr&&"function"==typeof Vr.onCommitFiberUnmount)try{Vr.onCommitFiberUnmount(jr,e)}catch(e){Br||(Br=!0,o("React instrumentation encountered an error: %s",e))}}(n),n.tag){case 5:sv||vv(n,t);case 6:var r=Mv,a=Av;return Mv=null,Lv(e,t,n),Av=a,void(null!==(Mv=r)&&(Av?(_=Mv,k=n.stateNode,8===_.nodeType?_.parentNode.removeChild(k):_.removeChild(k)):function(e,t){e.removeChild(t)}(Mv,n.stateNode)));case h:return void(null!==Mv&&(Av?function(e,t){8===e.nodeType?iu(e.parentNode,t):1===e.nodeType&&iu(e,t),Bo(e)}(Mv,n.stateNode):iu(Mv,n.stateNode)));case 4:var i=Mv,l=Av;return Mv=n.stateNode.containerInfo,Av=!0,Lv(e,t,n),Mv=i,void(Av=l);case 0:case s:case d:case f:if(!sv){var u=n.updateQueue;if(null!==u){var c=u.lastEffect;if(null!==c){var p=c.next,m=p;do{var y=m,b=y.destroy,w=y.tag;void 0!==b&&(0!=(2&w)?gv(n,t,b):0!=(4&w)&&(ea(n),2&n.mode?(Kh(),gv(n,t,b),Yh(n)):gv(n,t,b),ta())),m=m.next}while(m!==p)}}}return void Lv(e,t,n);case 1:if(!sv){vv(n,t);var S=n.stateNode;"function"==typeof S.componentWillUnmount&&hv(n,t,S)}return void Lv(e,t,n);case v:return void Lv(e,t,n);case g:if(1&n.mode){var E=sv;sv=E||null!==n.memoizedState,Lv(e,t,n),sv=E}else Lv(e,t,n);break;default:return void Lv(e,t,n)}var _,k}function Hv(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new uv),t.forEach((function(t){var r=Ay.bind(null,e,t);if(!n.has(t)){if(n.add(t),qr){if(null===dv||null===fv)throw Error("Expected finished root and lanes to be set. This is a bug in React.");Vy(fv,dv)}t.then(r,r)}}))}}function Uv(e,t,n){var r=t.deletions;if(null!==r)for(var a=0;a<r.length;a++){var o=r[a];try{Fv(e,t,o)}catch(e){Py(o,t,e)}}var i=Ue;if(t.subtreeFlags&mr)for(var l=t.child;null!==l;)Be(l),$v(l,e),l=l.sibling;Be(i)}function $v(e,t,n){var r=e.alternate,a=e.flags;switch(e.tag){case 0:case s:case d:case f:if(Uv(t,e),jv(e),4&a){try{Ev(3,e,e.return),_v(3,e)}catch(t){Py(e,e.return,t)}if(2&e.mode){try{Kh(),Ev(5,e,e.return)}catch(t){Py(e,e.return,t)}Yh(e)}else try{Ev(5,e,e.return)}catch(t){Py(e,e.return,t)}}return;case 1:return Uv(t,e),jv(e),void(a&er&&null!==r&&vv(r,r.return));case 5:if(Uv(t,e),jv(e),a&er&&null!==r&&vv(r,r.return),32&e.flags){var o=e.stateNode;try{ou(o)}catch(t){Py(e,e.return,t)}}if(4&a){var i=e.stateNode;if(null!=i){var l=e.memoizedProps,u=null!==r?r.memoizedProps:l,p=e.type,h=e.updateQueue;if(e.updateQueue=null,null!==h)try{!function(e,t,n,r,a,o){Ps(e,t,n,r,a),Pu(e,a)}(i,h,p,u,l)}catch(t){Py(e,e.return,t)}}}return;case 6:if(Uv(t,e),jv(e),4&a){if(null===e.stateNode)throw new Error("This should have a text node initialized. This error is likely caused by a bug in React. Please file an issue.");var b=e.stateNode,w=e.memoizedProps;null!==r&&r.memoizedProps;try{!function(e,t,n){e.nodeValue=n}(b,0,w)}catch(t){Py(e,e.return,t)}}return;case 3:if(Uv(t,e),jv(e),4&a)if(null!==r)if(r.memoizedState.isDehydrated)try{Bo(t.containerInfo)}catch(t){Py(e,e.return,t)}return;case 4:return Uv(t,e),void jv(e);case c:Uv(t,e),jv(e);var S=e.child;if(S.flags&ar){var E=S.stateNode,_=null!==S.memoizedState;if(E.isHidden=_,_)null!==S.alternate&&null!==S.alternate.memoizedState||(Pg=Or())}if(4&a){try{!function(e){e.memoizedState}(e)}catch(t){Py(e,e.return,t)}Hv(e)}return;case g:var k=null!==r&&null!==r.memoizedState;if(1&e.mode){var T=sv;sv=T||k,Uv(t,e),sv=T}else Uv(t,e);if(jv(e),a&ar){var x=e.stateNode,C=null!==e.memoizedState,D=e;if(x.isHidden=C,C&&!k&&0!=(1&D.mode)){cv=D;for(var R=D.child;null!==R;)cv=R,qv(R),R=R.sibling}!function(e,t){for(var n=null,r=e;;){if(5===r.tag){if(null===n){n=r;try{var a=r.stateNode;t?lu(a):su(r.stateNode,r.memoizedProps)}catch(t){Py(e,e.return,t)}}}else if(6===r.tag){if(null===n)try{var o=r.stateNode;t?o.nodeValue="":uu(o,r.memoizedProps)}catch(t){Py(e,e.return,t)}}else if((r.tag!==g&&r.tag!==y||null===r.memoizedState||r===e)&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===e)return;for(;null===r.sibling;){if(null===r.return||r.return===e)return;n===r&&(n=null),r=r.return}n===r&&(n=null),r.sibling.return=r.return,r=r.sibling}}(D,C)}return;case m:return Uv(t,e),jv(e),void(4&a&&Hv(e));case v:return;default:return Uv(t,e),void jv(e)}}function jv(e){var t=e.flags;if(2&t){try{Pv(e)}catch(t){Py(e,e.return,t)}e.flags&=-3}t&rr&&(e.flags&=-4097)}function Vv(e,t,n){dv=n,fv=t,cv=e,Wv(e,t,n),dv=null,fv=null}function Wv(e,t,n){for(var r=0!=(1&e.mode);null!==cv;){var a=cv,o=a.child;if(a.tag===g&&r){var i=null!==a.memoizedState||lv;if(i){Bv(e,t,n);continue}var l=a.alternate,s=null!==l&&null!==l.memoizedState,u=lv,c=sv;lv=i,(sv=s||sv)&&!c&&(cv=a,Gv(a));for(var d=o;null!==d;)cv=d,Wv(d,t,n),d=d.sibling;cv=a,lv=u,sv=c,Bv(e,t,n)}else 0!=(a.subtreeFlags&vr)&&null!==o?(o.return=a,cv=o):Bv(e,t,n)}}function Bv(e,t,n){for(;null!==cv;){var r=cv;if(0!=(r.flags&vr)){var a=r.alternate;Be(r);try{Tv(0,a,r)}catch(e){Py(r,r.return,e)}We()}if(r===e)return void(cv=null);var o=r.sibling;if(null!==o)return o.return=r.return,void(cv=o);cv=r.return}}function qv(e){for(;null!==cv;){var t=cv,n=t.child;switch(t.tag){case 0:case s:case d:case f:if(2&t.mode)try{Kh(),Ev(4,t,t.return)}finally{Yh(t)}else Ev(4,t,t.return);break;case 1:vv(t,t.return);var r=t.stateNode;"function"==typeof r.componentWillUnmount&&hv(t,t.return,r);break;case 5:vv(t,t.return);break;case g:if(null!==t.memoizedState){Yv(e);continue}}null!==n?(n.return=t,cv=n):Yv(e)}}function Yv(e){for(;null!==cv;){var t=cv;if(t===e)return void(cv=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(cv=n);cv=t.return}}function Gv(e){for(;null!==cv;){var t=cv,n=t.child;if(t.tag===g)if(null!==t.memoizedState){Kv(e);continue}null!==n?(n.return=t,cv=n):Kv(e)}}function Kv(e){for(;null!==cv;){var t=cv;Be(t);try{xv(t)}catch(e){Py(t,t.return,e)}if(We(),t===e)return void(cv=null);var n=t.sibling;if(null!==n)return n.return=t.return,void(cv=n);cv=t.return}}function Qv(e,t,n,r){cv=t,function(e,t,n,r){for(;null!==cv;){var a=cv,o=a.child;0!=(a.subtreeFlags&gr)&&null!==o?(o.return=a,cv=o):Xv(e,t,n,r)}}(t,e,n,r)}function Xv(e,t,n,r){for(;null!==cv;){var a=cv;if(0!=(a.flags&nr)){Be(a);try{Zv(t,a,n,r)}catch(e){Py(a,a.return,e)}We()}if(a===e)return void(cv=null);var o=a.sibling;if(null!==o)return o.return=a.return,void(cv=o);cv=a.return}}function Zv(e,t,n,r){switch(t.tag){case 0:case s:case f:if(2&t.mode){Qh();try{_v(9,t)}finally{Gh(t)}}else _v(9,t)}}function Jv(e){cv=e,function(){for(;null!==cv;){var e=cv,t=e.child;if(0!=(cv.flags&Xn)){var n=e.deletions;if(null!==n){for(var r=0;r<n.length;r++){var a=n[r];cv=a,ng(a,e)}var o=e.alternate;if(null!==o){var i=o.child;if(null!==i){o.child=null;do{var l=i.sibling;i.sibling=null,i=l}while(null!==i)}}cv=e}}0!=(e.subtreeFlags&gr)&&null!==t?(t.return=e,cv=t):eg()}}()}function eg(){for(;null!==cv;){var e=cv;0!=(e.flags&nr)&&(Be(e),tg(e),We());var t=e.sibling;if(null!==t)return t.return=e.return,void(cv=t);cv=e.return}}function tg(e){switch(e.tag){case 0:case s:case f:2&e.mode?(Qh(),Ev(9,e,e.return),Gh(e)):Ev(9,e,e.return)}}function ng(e,t){for(;null!==cv;){var n=cv;Be(n),ag(n,t),We();var r=n.child;null!==r?(r.return=n,cv=r):rg(e)}}function rg(e){for(;null!==cv;){var t=cv,n=t.sibling,r=t.return;if(Dv(t),t===e)return void(cv=null);if(null!==n)return n.return=r,void(cv=n);cv=r}}function ag(e,t){switch(e.tag){case 0:case s:case f:2&e.mode?(Qh(),Ev(8,e,t),Gh(e)):Ev(8,e,t)}}function og(e){switch(e.tag){case 0:case s:case f:try{_v(5,e)}catch(t){Py(e,e.return,t)}break;case 1:var t=e.stateNode;try{t.componentDidMount()}catch(t){Py(e,e.return,t)}}}function ig(e){switch(e.tag){case 0:case s:case f:try{_v(9,e)}catch(t){Py(e,e.return,t)}}}function lg(e){switch(e.tag){case 0:case s:case f:try{Ev(5,e,e.return)}catch(t){Py(e,e.return,t)}break;case 1:var t=e.stateNode;"function"==typeof t.componentWillUnmount&&hv(e,e.return,t)}}function sg(e){switch(e.tag){case 0:case s:case f:try{Ev(9,e,e.return)}catch(t){Py(e,e.return,t)}}}if("function"==typeof Symbol&&Symbol.for){var ug=Symbol.for;ug("selector.component"),ug("selector.has_pseudo_class"),ug("selector.role"),ug("selector.test_id"),ug("selector.text")}var cg=[];var dg=n.ReactCurrentActQueue;function fg(){var e="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0;return e||null===dg.current||o("The current testing environment is not configured to support act(...)"),e}var pg=Math.ceil,hg=n.ReactCurrentDispatcher,mg=n.ReactCurrentOwner,vg=n.ReactCurrentBatchConfig,gg=n.ReactCurrentActQueue,yg=0,bg=null,wg=null,Sg=0,Eg=0,_g=Uu(0),kg=0,Tg=null,xg=0,Cg=0,Dg=0,Rg=null,Ng=null,Pg=0,Ig=1/0,Og=null;function Mg(){Ig=Or()+500}function Ag(){return Ig}var Fg=!1,Lg=null,zg=null,Hg=!1,Ug=null,$g=0,jg=[],Vg=null,Wg=0,Bg=null,qg=!1,Yg=!1,Gg=0,Kg=null,Qg=Ha,Xg=0,Zg=!1;function Jg(){return bg}function ey(){return 0!=(6&yg)?Or():Qg!==Ha?Qg:Qg=Or()}function ty(e){if(0==(1&e.mode))return 1;if(0!=(2&yg)&&0!==Sg)return Za(Sg);if(null!==ed.transition){if(null!==vg.transition){var t=vg.transition;t._updatedFibers||(t._updatedFibers=new Set),t._updatedFibers.add(e)}return 0===Xg&&(Xg=Qa()),Xg}var n,r=_o();return 0!==r?r:void 0===(n=window.event)?wo:ei(n.type)}function ny(e){var t;return 0==(1&e.mode)?1:(t=$a,0==(($a<<=1)&xa)&&($a=Ca),t)}function ry(e,t,n,r){!function(){if(Wg>50)throw Wg=0,Bg=null,new Error("Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.");Gg>50&&(Gg=0,Kg=null,o("Maximum update depth exceeded. This can happen when a component calls setState inside useEffect, but useEffect either doesn't have a dependency array, or one of the dependencies changes on every render."))}(),Zg&&o("useInsertionEffect must not schedule updates."),qg&&(Yg=!0),lo(e,n,r),0!=(2&yg)&&e===bg?function(e){if($e&&!mh)switch(e.tag){case 0:case s:case f:var t=wg&&ze(wg)||"Unknown",n=t;if(!$y.has(n))$y.add(n),o("Cannot update a component (`%s`) while rendering a different component (`%s`). To locate the bad setState() call inside `%s`, follow the stack trace as described in https://reactjs.org/link/setstate-in-render",ze(e)||"Unknown",t,t);break;case 1:jy||(o("Cannot update during an existing state transition (such as within `render`). Render methods should be a pure function of props and state."),jy=!0)}}(t):(qr&&co(e,t,n),function(e){if(1&e.mode){if(!fg())return}else{if(t="undefined"!=typeof IS_REACT_ACT_ENVIRONMENT?IS_REACT_ACT_ENVIRONMENT:void 0,"undefined"==typeof jest||!1===t)return;if(0!==yg)return;if(0!==e.tag&&e.tag!==s&&e.tag!==f)return}var t;if(null===gg.current){var n=Ue;try{Be(e),o("An update to %s inside a test was not wrapped in act(...).\n\nWhen testing, code that causes React state updates should be wrapped into act(...):\n\nact(() => {\n /* fire events that update state */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act",ze(e))}finally{n?Be(e):We()}}}(t),e===bg&&(0==(2&yg)&&(Cg=ro(Cg,n)),4===kg&&sy(e,Sg)),ay(e,r),1!==n||0!==yg||0!=(1&t.mode)||gg.isBatchingLegacy||(Mg(),uc()))}function ay(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.pendingLanes,r=e.suspendedLanes,a=e.pingedLanes,o=e.expirationTimes,i=n;i>0;){var l=Ja(i),s=1<<l,u=o[l];u===Ha?0!=(s&r)&&0==(s&a)||(o[l]=Wa(s,t)):u<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=Va(e,e===bg?Sg:0);if(0===r)return null!==n&&qy(n),e.callbackNode=null,void(e.callbackPriority=0);var a=Xa(r),i=e.callbackPriority;if(i!==a||null!==gg.current&&n!==Wy){var l,s;if(null!=n&&qy(n),1===a)0===e.tag?(null!==gg.isBatchingLegacy&&(gg.didScheduleLegacyUpdate=!0),s=uy.bind(null,e),ic=!0,sc(s)):sc(uy.bind(null,e)),null!==gg.current?gg.current.push(cc):ru((function(){0==(6&yg)&&cc()})),l=null;else{var u;switch(xo(r)){case yo:u=Ar;break;case bo:u=Fr;break;case wo:u=Lr;break;case So:u=Hr;break;default:u=Lr}l=By(u,oy.bind(null,e))}e.callbackPriority=a,e.callbackNode=l}else null==n&&1!==i&&o("Expected scheduled callback to exist. This error is likely caused by a bug in React. Please file an issue.")}function oy(e,t){if(Hh=!1,Uh=!1,Qg=Ha,Xg=0,0!=(6&yg))throw new Error("Should not already be working.");var n=e.callbackNode;if(Cy()&&e.callbackNode!==n)return null;var r=Va(e,e===bg?Sg:0);if(0===r)return null;var a=!Ga(0,r)&&!function(e,t){return 0!=(t&e.expiredLanes)}(e,r)&&!t,o=a?function(e,t){var n=yg;yg|=2;var r=gy();if(bg!==e||Sg!==t){if(qr){var a=e.memoizedUpdaters;a.size>0&&(Vy(e,Sg),a.clear()),fo(e,t)}Og=null,Mg(),my(e,t)}aa(t);for(;;)try{_y();break}catch(t){vy(e,t)}return bd(),yy(r),yg=n,null!==wg?(null!==Wr&&"function"==typeof Wr.markRenderYielded&&Wr.markRenderYielded(),0):(oa(),bg=null,Sg=0,kg)}(e,r):Sy(e,r);if(0!==o){if(2===o){var i=Ba(e);0!==i&&(r=i,o=iy(e,i))}if(1===o){var l=Tg;throw my(e,0),sy(e,r),ay(e,Or()),l}if(6===o)sy(e,r);else{var s=!Ga(0,r),u=e.current.alternate;if(s&&!function(e){var t=e;for(;;){if(t.flags&or){var n=t.updateQueue;if(null!==n){var r=n.stores;if(null!==r)for(var a=0;a<r.length;a++){var o=r[a],i=o.getSnapshot,l=o.value;try{if(!fl(i(),l))return!1}catch(e){return!1}}}}var s=t.child;if(t.subtreeFlags&or&&null!==s)s.return=t,t=s;else{if(t===e)return!0;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}(u)){if(2===(o=Sy(e,r))){var c=Ba(e);0!==c&&(r=c,o=iy(e,c))}if(1===o){var d=Tg;throw my(e,0),sy(e,r),ay(e,Or()),d}}e.finishedWork=u,e.finishedLanes=r,function(e,t,n){switch(t){case 0:case 1:throw new Error("Root did not complete. This is a bug in React.");case 2:case 5:xy(e,Ng,Og);break;case 3:if(sy(e,n),Ya(n)&&!Yy()){var r=Pg+500-Or();if(r>10){if(0!==Va(e,0))break;var a=e.suspendedLanes;if(!no(a,n)){ey(),so(e,a);break}e.timeoutHandle=eu(xy.bind(null,e,Ng,Og),r);break}}xy(e,Ng,Og);break;case 4:if(sy(e,n),function(e){return(e&pa)===e}(n))break;if(!Yy()){var o=function(e,t){for(var n=e.eventTimes,r=Ha;t>0;){var a=Ja(t),o=1<<a,i=n[a];i>r&&(r=i),t&=~o}return r}(e,n),i=o,l=Or()-i,s=((u=l)<120?120:u<480?480:u<1080?1080:u<1920?1920:u<3e3?3e3:u<4320?4320:1960*pg(u/1960))-l;if(s>10){e.timeoutHandle=eu(xy.bind(null,e,Ng,Og),s);break}}xy(e,Ng,Og);break;default:throw new Error("Unknown root exit status.")}var u}(e,o,r)}}return ay(e,Or()),e.callbackNode===n?oy.bind(null,e):null}function iy(e,t){var n=Rg;Co(e)&&(my(e,t).flags|=Jn,o("An error occurred during hydration. The server HTML was replaced with client content in <%s>.",e.containerInfo.nodeName.toLowerCase()));var r=Sy(e,t);if(2!==r){var a=Ng;Ng=n,null!==a&&ly(a)}return r}function ly(e){null===Ng?Ng=e:Ng.push.apply(Ng,e)}function sy(e,t){t=ao(t,Dg),function(e,t){e.suspendedLanes|=t,e.pingedLanes&=~t;for(var n=e.expirationTimes,r=t;r>0;){var a=Ja(r),o=1<<a;n[a]=Ha,r&=~o}}(e,t=ao(t,Cg))}function uy(e){if(Hh=Uh,Uh=!1,0!=(6&yg))throw new Error("Should not already be working.");Cy();var t=Va(e,0);if(!to(t,1))return ay(e,Or()),null;var n=Sy(e,t);if(0!==e.tag&&2===n){var r=Ba(e);0!==r&&(t=r,n=iy(e,r))}if(1===n){var a=Tg;throw my(e,0),sy(e,t),ay(e,Or()),a}if(6===n)throw new Error("Root did not complete. This is a bug in React.");var o=e.current.alternate;return e.finishedWork=o,e.finishedLanes=t,xy(e,Ng,Og),ay(e,Or()),null}function cy(e,t){var n=yg;yg|=1;try{return e(t)}finally{0!==(yg=n)||gg.isBatchingLegacy||(Mg(),uc())}}function dy(e){null!==Ug&&0===Ug.tag&&0==(6&yg)&&Cy();var t=yg;yg|=1;var n=vg.transition,r=_o();try{return vg.transition=null,ko(yo),e?e():void 0}finally{ko(r),vg.transition=n,0==(6&(yg=t))&&cc()}}function fy(){return 0!=(6&yg)}function py(e,t){ju(_g,Eg,e),Eg=ro(Eg,t)}function hy(e){Eg=_g.current,$u(_g,e)}function my(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,tu(n)),null!==wg)for(var r=wg.return;null!==r;){r.alternate;ov(0,r),r=r.return}bg=e;var a=pb(e.current,null);return wg=a,Sg=Eg=t,kg=0,Tg=null,xg=0,Cg=0,Dg=0,Rg=null,Ng=null,function(){if(null!==Dd){for(var e=0;e<Dd.length;e++){var t=Dd[e],n=t.interleaved;if(null!==n){t.interleaved=null;var r=n.next,a=t.pending;if(null!==a){var o=a.next;a.next=r,n.next=o}t.pending=n}}Dd=null}}(),td.discardPendingWarnings(),a}function vy(e,t){for(;;){var n=wg;try{if(bd(),kp(),We(),mg.current=null,null===n||null===n.return)return kg=1,Tg=t,void(wg=null);2&n.mode&&qh(n,!0),Zr(),null!==t&&"object"==typeof t&&"function"==typeof t.then?ra(n,t,Sg):na(n,t,Sg),lm(e,n.return,n,t,Sg),Ty(n)}catch(e){t=e,wg===n&&null!==n?(n=n.return,wg=n):n=wg;continue}return}}function gy(){var e=hg.current;return hg.current=kh,null===e?kh:e}function yy(e){hg.current=e}function by(e){xg=ro(e,xg)}function wy(){0!==kg&&3!==kg&&2!==kg||(kg=4),null!==bg&&(qa(xg)||qa(Cg))&&sy(bg,Sg)}function Sy(e,t){var n=yg;yg|=2;var r=gy();if(bg!==e||Sg!==t){if(qr){var a=e.memoizedUpdaters;a.size>0&&(Vy(e,Sg),a.clear()),fo(e,t)}Og=null,my(e,t)}for(aa(t);;)try{Ey();break}catch(t){vy(e,t)}if(bd(),yg=n,yy(r),null!==wg)throw new Error("Cannot commit an incomplete root. This error is likely caused by a bug in React. Please file an issue.");return oa(),bg=null,Sg=0,kg}function Ey(){for(;null!==wg;)ky(wg)}function _y(){for(;null!==wg&&!Pr();)ky(wg)}function ky(e){var t,n=e.alternate;Be(e),0!=(2&e.mode)?(Wh(e),t=zy(n,e,Eg),qh(e,!0)):t=zy(n,e,Eg),We(),e.memoizedProps=e.pendingProps,null===t?Ty(e):wg=t,mg.current=null}function Ty(e){var t=e;do{var n=t.alternate,r=t.return;if(0==(t.flags&ir)){Be(t);var a=void 0;if(0==(2&t.mode)?a=rv(n,t,Eg):(Wh(t),a=rv(n,t,Eg),qh(t,!1)),We(),null!==a)return void(wg=a)}else{var o=av(0,t);if(null!==o)return o.flags&=32767,void(wg=o);if(0!=(2&t.mode)){qh(t,!1);for(var i=t.actualDuration,l=t.child;null!==l;)i+=l.actualDuration,l=l.sibling;t.actualDuration=i}if(null===r)return kg=6,void(wg=null);r.flags|=ir,r.subtreeFlags=0,r.deletions=null}var s=t.sibling;if(null!==s)return void(wg=s);wg=t=r}while(null!==t);0===kg&&(kg=5)}function xy(e,t,n){var r=_o(),a=vg.transition;try{vg.transition=null,ko(yo),function(e,t,n,r){do{Cy()}while(null!==Ug);if(function(){td.flushLegacyContextWarning(),td.flushPendingUnsafeLifecycleWarnings()}(),0!=(6&yg))throw new Error("Should not already be working.");var a=e.finishedWork,i=e.finishedLanes;if(function(e){null!==Wr&&"function"==typeof Wr.markCommitStarted&&Wr.markCommitStarted(e)}(i),null===a)return Qr(),null;0===i&&o("root.finishedLanes should not be empty during a commit. This is a bug in React.");if(e.finishedWork=null,e.finishedLanes=0,a===e.current)throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");e.callbackNode=null,e.callbackPriority=0;var l=ro(a.lanes,a.childLanes);(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;for(var r=e.entanglements,a=e.eventTimes,o=e.expirationTimes,i=n;i>0;){var l=Ja(i),s=1<<l;r[l]=0,a[l]=Ha,o[l]=Ha,i&=~s}})(e,l),e===bg&&(bg=null,wg=null,Sg=0);0==(a.subtreeFlags&gr)&&0==(a.flags&gr)||Hg||(Hg=!0,Vg=n,By(Lr,(function(){return Cy(),null})));var s=0!=(15990&a.subtreeFlags),u=0!=(15990&a.flags);if(s||u){var c=vg.transition;vg.transition=null;var d=_o();ko(yo);var f=yg;yg|=4,mg.current=null,bv(e,a),Vh(),function(e,t,n){dv=n,fv=e,Be(t),$v(t,e),Be(t),dv=null,fv=null}(e,a,i),e.containerInfo,kl(Ks),Go(Gs),Gs=null,Ks=null,e.current=a,function(e){null!==Wr&&"function"==typeof Wr.markLayoutEffectsStarted&&Wr.markLayoutEffectsStarted(e)}(i),Vv(a,e,i),null!==Wr&&"function"==typeof Wr.markLayoutEffectsStopped&&Wr.markLayoutEffectsStopped(),Ir(),yg=f,ko(d),vg.transition=c}else e.current=a,Vh();var p=Hg;Hg?(Hg=!1,Ug=e,$g=i):(Gg=0,Kg=null);0===(l=e.pendingLanes)&&(zg=null);p||Fy(e.current,!1);(function(e,t){if(Vr&&"function"==typeof Vr.onCommitFiberRoot)try{var n,r=(e.current.flags&Zn)===Zn;switch(t){case yo:n=Ar;break;case bo:n=Fr;break;case wo:n=Lr;break;case So:n=Hr;break;default:n=Lr}Vr.onCommitFiberRoot(jr,e,n,r)}catch(e){Br||(Br=!0,o("React instrumentation encountered an error: %s",e))}})(a.stateNode,r),qr&&e.memoizedUpdaters.clear();if(function(){cg.forEach((function(e){return e()}))}(),ay(e,Or()),null!==t)for(var h=e.onRecoverableError,m=0;m<t.length;m++){var v=t[m],g=v.stack,y=v.digest;h(v.value,{componentStack:g,digest:y})}if(Fg){Fg=!1;var b=Lg;throw Lg=null,b}to($g,1)&&0!==e.tag&&Cy();to(l=e.pendingLanes,1)?(Uh=!0,e===Bg?Wg++:(Wg=0,Bg=e)):Wg=0;cc(),Qr()}(e,t,n,r)}finally{vg.transition=a,ko(r)}return null}function Cy(){if(null!==Ug){var e=xo($g),t=(i=e,0===(a=wo)||a>i?a:i),n=vg.transition,r=_o();try{return vg.transition=null,ko(t),function(){if(null===Ug)return!1;var e=Vg;Vg=null;var t=Ug,n=$g;if(Ug=null,$g=0,0!=(6&yg))throw new Error("Cannot flush passive effects while already rendering.");qg=!0,Yg=!1,function(e){null!==Wr&&"function"==typeof Wr.markPassiveEffectsStarted&&Wr.markPassiveEffectsStarted(e)}(n);var r=yg;yg|=4,Jv(t.current),Qv(t,t.current,n,e);var a=jg;jg=[];for(var i=0;i<a.length;i++){kv(0,a[i])}void(null!==Wr&&"function"==typeof Wr.markPassiveEffectsStopped&&Wr.markPassiveEffectsStopped()),Fy(t.current,!0),yg=r,cc(),Yg?t===Kg?Gg++:(Gg=0,Kg=t):Gg=0;qg=!1,Yg=!1,function(e){if(Vr&&"function"==typeof Vr.onPostCommitFiberRoot)try{Vr.onPostCommitFiberRoot(jr,e)}catch(e){Br||(Br=!0,o("React instrumentation encountered an error: %s",e))}}(t);var l=t.current.stateNode;return l.effectDuration=0,l.passiveEffectDuration=0,!0}()}finally{ko(r),vg.transition=n}}var a,i;return!1}function Dy(e){return null!==zg&&zg.has(e)}var Ry=function(e){Fg||(Fg=!0,Lg=e)};function Ny(e,t,n){var r=jd(e,nm(e,Zh(n,t),1),1),a=ey();null!==r&&(lo(r,1,a),ay(r,a))}function Py(e,t,n){if(function(e){Gn(null,(function(){throw e})),Kn()}(n),Gy(!1),3!==e.tag){var r=null;for(r=t;null!==r;){if(3===r.tag)return void Ny(r,e,n);if(1===r.tag){var a=r.type,i=r.stateNode;if("function"==typeof a.getDerivedStateFromError||"function"==typeof i.componentDidCatch&&!Dy(i)){var l=jd(r,rm(r,Zh(n,e),1),1),s=ey();return void(null!==l&&(lo(l,1,s),ay(l,s)))}}r=r.return}o("Internal React error: Attempted to capture a commit phase error inside a detached tree. This indicates a bug in React. Likely causes include deleting the same fiber more than once, committing an already-finished tree, or an inconsistent return pointer.\n\nError message:\n\n%s",n)}else Ny(e,e,n)}function Iy(e,t,n){var r=e.pingCache;null!==r&&r.delete(t);var a=ey();so(e,n),function(e){0!==e.tag&&fg()&&null===gg.current&&o("A suspended resource finished loading inside a test, but the event was not wrapped in act(...).\n\nWhen testing, code that resolves suspended data should be wrapped into act(...):\n\nact(() => {\n /* finish loading suspended data */\n});\n/* assert on the output */\n\nThis ensures that you're testing the behavior the user would see in the browser. Learn more at https://reactjs.org/link/wrap-tests-with-act")}(e),bg===e&&no(Sg,n)&&(4===kg||3===kg&&Ya(Sg)&&Or()-Pg<500?my(e,0):Dg=ro(Dg,n)),ay(e,a)}function Oy(e,t){0===t&&(t=ny(e));var n=ey(),r=Id(e,t);null!==r&&(lo(r,t,n),ay(r,n))}function My(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Oy(e,n)}function Ay(e,t){var n,r=0;switch(e.tag){case c:n=e.stateNode;var a=e.memoizedState;null!==a&&(r=a.retryLane);break;case m:n=e.stateNode;break;default:throw new Error("Pinged unknown suspense boundary type. This is probably a bug in React.")}null!==n&&n.delete(t),Oy(e,r)}function Fy(e,t){Be(e),Ly(e,fr,lg),t&&Ly(e,pr,sg),Ly(e,fr,og),t&&Ly(e,pr,ig),We()}function Ly(e,t,n){for(var r=e,a=null;null!==r;){var o=r.subtreeFlags&t;r!==a&&null!==r.child&&0!==o?r=r.child:(0!=(r.flags&t)&&n(r),r=null!==r.sibling?r.sibling:a=r.return)}}var zy,Hy=null;function Uy(e){if(0==(2&yg)&&1&e.mode){var t=e.tag;if(2===t||3===t||1===t||0===t||t===s||t===d||t===f){var n=ze(e)||"ReactComponent";if(null!==Hy){if(Hy.has(n))return;Hy.add(n)}else Hy=new Set([n]);var r=Ue;try{Be(e),o("Can't perform a React state update on a component that hasn't mounted yet. This indicates that you have a side-effect in your render function that asynchronously later calls tries to update the component. Move this work to useEffect instead.")}finally{r?Be(e):We()}}}}zy=function(e,t,n){var r=Sb(null,t);try{return Xm(e,t,n)}catch(o){if(Nc||null!==o&&"object"==typeof o&&"function"==typeof o.then)throw o;if(bd(),kp(),ov(0,t),Sb(t,r),2&t.mode&&Wh(t),Gn(null,Xm,null,e,t,n),Vn){var a=Kn();"object"==typeof a&&null!==a&&a._suppressLogging&&"object"==typeof o&&null!==o&&!o._suppressLogging&&(o._suppressLogging=!0)}throw o}};var $y,jy=!1;function Vy(e,t){qr&&e.memoizedUpdaters.forEach((function(n){co(e,n,t)}))}$y=new Set;var Wy={};function By(e,t){var n=gg.current;return null!==n?(n.push(t),Wy):Rr(e,t)}function qy(e){if(e!==Wy)return Nr(e)}function Yy(){return null!==gg.current}function Gy(e){Zg=e}var Ky=null,Qy=null,Xy=function(e){Ky=e};function Zy(e){if(null===Ky)return e;var t=Ky(e);return void 0===t?e:t.current}function Jy(e){return Zy(e)}function eb(e){if(null===Ky)return e;var t=Ky(e);if(void 0===t){if(null!=e&&"function"==typeof e.render){var n=Zy(e.render);if(e.render!==n){var r={$$typeof:ie,render:n};return void 0!==e.displayName&&(r.displayName=e.displayName),r}}return e}return t.current}function tb(e,t){if(null===Ky)return!1;var n=e.elementType,r=t.type,a=!1,o="object"==typeof r&&null!==r?r.$$typeof:null;switch(e.tag){case 1:"function"==typeof r&&(a=!0);break;case 0:("function"==typeof r||o===ce)&&(a=!0);break;case s:(o===ie||o===ce)&&(a=!0);break;case d:case f:(o===ue||o===ce)&&(a=!0);break;default:return!1}if(a){var i=Ky(n);if(void 0!==i&&i===Ky(r))return!0}return!1}function nb(e){null!==Ky&&"function"==typeof WeakSet&&(null===Qy&&(Qy=new WeakSet),Qy.add(e))}var rb=function(e,t){if(null!==Ky){var n=t.staleFamilies,r=t.updatedFamilies;Cy(),dy((function(){ob(e.current,r,n)}))}},ab=function(e,t){e.context===Vu&&(Cy(),dy((function(){Pb(t,e,null,null)})))};function ob(e,t,n){var r=e.alternate,a=e.child,o=e.sibling,i=e.tag,l=e.type,u=null;switch(i){case 0:case f:case 1:u=l;break;case s:u=l.render}if(null===Ky)throw new Error("Expected resolveFamily to be set during hot reload.");var c=!1,d=!1;if(null!==u){var p=Ky(u);void 0!==p&&(n.has(p)?d=!0:t.has(p)&&(1===i?d=!0:c=!0))}if(null!==Qy&&(Qy.has(e)||null!==r&&Qy.has(r))&&(d=!0),d&&(e._debugNeedsRemount=!0),d||c){var h=Id(e,1);null!==h&&ry(h,e,1,Ha)}null===a||d||ob(a,t,n),null!==o&&ob(o,t,n)}var ib,lb=function(e,t){var n=new Set,r=new Set(t.map((function(e){return e.current})));return sb(e.current,r,n),n};function sb(e,t,n){var r=e.child,a=e.sibling,o=e.tag,i=e.type,l=null;switch(o){case 0:case f:case 1:l=i;break;case s:l=i.render}var u=!1;null!==l&&t.has(l)&&(u=!0),u?function(e,t){if(function(e,t){var n=e,r=!1;for(;;){if(5===n.tag)r=!0,t.add(n.stateNode);else if(null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)return r;for(;null===n.sibling;){if(null===n.return||n.return===e)return r;n=n.return}n.sibling.return=n.return,n=n.sibling}return!1}(e,t))return;var n=e;for(;;){switch(n.tag){case 5:return void t.add(n.stateNode);case 4:case 3:return void t.add(n.stateNode.containerInfo)}if(null===n.return)throw new Error("Expected to reach root first.");n=n.return}}(e,n):null!==r&&sb(r,t,n),null!==a&&sb(a,t,n)}ib=!1;try{var ub=Object.preventExtensions({});new Map([[ub,null]]),new Set([ub])}catch(e){ib=!0}function cb(e,t,n,r){this.tag=e,this.key=n,this.elementType=null,this.type=null,this.stateNode=null,this.return=null,this.child=null,this.sibling=null,this.index=0,this.ref=null,this.pendingProps=t,this.memoizedProps=null,this.updateQueue=null,this.memoizedState=null,this.dependencies=null,this.mode=r,this.flags=0,this.subtreeFlags=0,this.deletions=null,this.lanes=0,this.childLanes=0,this.alternate=null,this.actualDuration=Number.NaN,this.actualStartTime=Number.NaN,this.selfBaseDuration=Number.NaN,this.treeBaseDuration=Number.NaN,this.actualDuration=0,this.actualStartTime=-1,this.selfBaseDuration=0,this.treeBaseDuration=0,this._debugSource=null,this._debugOwner=null,this._debugNeedsRemount=!1,this._debugHookTypes=null,ib||"function"!=typeof Object.preventExtensions||Object.preventExtensions(this)}var db=function(e,t,n,r){return new cb(e,t,n,r)};function fb(e){var t=e.prototype;return!(!t||!t.isReactComponent)}function pb(e,t){var n=e.alternate;null===n?((n=db(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n._debugSource=e._debugSource,n._debugOwner=e._debugOwner,n._debugHookTypes=e._debugHookTypes,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null,n.actualDuration=0,n.actualStartTime=-1),n.flags=e.flags&yr,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue;var r=e.dependencies;switch(n.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n.selfBaseDuration=e.selfBaseDuration,n.treeBaseDuration=e.treeBaseDuration,n._debugNeedsRemount=e._debugNeedsRemount,n.tag){case 2:case 0:case f:n.type=Zy(e.type);break;case 1:n.type=Jy(e.type);break;case s:n.type=eb(e.type)}return n}function hb(e,t){e.flags&=14680066;var n=e.alternate;if(null===n)e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null,e.selfBaseDuration=0,e.treeBaseDuration=0;else{e.childLanes=n.childLanes,e.lanes=n.lanes,e.child=n.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=n.memoizedProps,e.memoizedState=n.memoizedState,e.updateQueue=n.updateQueue,e.type=n.type;var r=n.dependencies;e.dependencies=null===r?null:{lanes:r.lanes,firstContext:r.firstContext},e.selfBaseDuration=n.selfBaseDuration,e.treeBaseDuration=n.treeBaseDuration}return e}function mb(e,t,n,r,a,i){var f=2,p=e;if("function"==typeof e)fb(e)?(f=1,p=Jy(p)):p=Zy(p);else if("string"==typeof e)f=5;else e:switch(e){case te:return gb(n.children,a,i,t);case ne:f=8,0!=(1&(a|=8))&&(a|=la);break;case re:return function(e,t,n,r){"string"!=typeof e.id&&o('Profiler must specify an "id" of type `string` as a prop. Received the type `%s` instead.',typeof e.id);var a=db(u,e,r,2|t);return a.elementType=re,a.lanes=n,a.stateNode={effectDuration:0,passiveEffectDuration:0},a}(n,a,i,t);case le:return function(e,t,n,r){var a=db(c,e,r,t);return a.elementType=le,a.lanes=n,a}(n,a,i,t);case se:return function(e,t,n,r){var a=db(m,e,r,t);return a.elementType=se,a.lanes=n,a}(n,a,i,t);case de:return yb(n,a,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case ae:f=l;break e;case oe:f=9;break e;case ie:f=s,p=eb(p);break e;case ue:f=d;break e;case ce:f=16,p=null;break e}var h="";(void 0===e||"object"==typeof e&&null!==e&&0===Object.keys(e).length)&&(h+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var v=r?ze(r):null;throw v&&(h+="\n\nCheck the render method of `"+v+"`."),new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: "+(null==e?e:typeof e)+"."+h)}var g=db(f,n,t,a);return g.elementType=e,g.type=p,g.lanes=i,g._debugOwner=r,g}function vb(e,t,n){var r;r=e._owner;var a=mb(e.type,e.key,e.props,r,t,n);return a._debugSource=e._source,a._debugOwner=e._owner,a}function gb(e,t,n,r){var a=db(7,e,r,t);return a.lanes=n,a}function yb(e,t,n,r){var a=db(g,e,r,t);a.elementType=de,a.lanes=n;return a.stateNode={isHidden:!1},a}function bb(e,t,n){var r=db(6,e,null,t);return r.lanes=n,r}function wb(e,t,n){var r=null!==e.children?e.children:[],a=db(4,r,e.key,t);return a.lanes=n,a.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},a}function Sb(e,t){return null===e&&(e=db(2,null,null,0)),e.tag=t.tag,e.key=t.key,e.elementType=t.elementType,e.type=t.type,e.stateNode=t.stateNode,e.return=t.return,e.child=t.child,e.sibling=t.sibling,e.index=t.index,e.ref=t.ref,e.pendingProps=t.pendingProps,e.memoizedProps=t.memoizedProps,e.updateQueue=t.updateQueue,e.memoizedState=t.memoizedState,e.dependencies=t.dependencies,e.mode=t.mode,e.flags=t.flags,e.subtreeFlags=t.subtreeFlags,e.deletions=t.deletions,e.lanes=t.lanes,e.childLanes=t.childLanes,e.alternate=t.alternate,e.actualDuration=t.actualDuration,e.actualStartTime=t.actualStartTime,e.selfBaseDuration=t.selfBaseDuration,e.treeBaseDuration=t.treeBaseDuration,e._debugSource=t._debugSource,e._debugOwner=t._debugOwner,e._debugNeedsRemount=t._debugNeedsRemount,e._debugHookTypes=t._debugHookTypes,e}function Eb(e,t,n,r,a){this.tag=t,this.containerInfo=e,this.pendingChildren=null,this.current=null,this.pingCache=null,this.finishedWork=null,this.timeoutHandle=-1,this.context=null,this.pendingContext=null,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=io(0),this.expirationTimes=io(Ha),this.pendingLanes=0,this.suspendedLanes=0,this.pingedLanes=0,this.expiredLanes=0,this.mutableReadLanes=0,this.finishedLanes=0,this.entangledLanes=0,this.entanglements=io(0),this.identifierPrefix=r,this.onRecoverableError=a,this.mutableSourceEagerHydrationData=null,this.effectDuration=0,this.passiveEffectDuration=0,this.memoizedUpdaters=new Set;for(var o=this.pendingUpdatersLaneMap=[],i=0;i<da;i++)o.push(new Set);switch(t){case 1:this._debugRootType=n?"hydrateRoot()":"createRoot()";break;case 0:this._debugRootType=n?"hydrate()":"render()"}}function _b(e,t,n,r,a,o,i,l,s,u){var c=new Eb(e,t,n,l,s),d=function(e,t,n){var r;return 1===e?(r=1,!0===t&&(r|=8,r|=la)):r=0,qr&&(r|=2),db(3,null,null,r)}(t,o);c.current=d,d.stateNode=c;var f={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null};return d.memoizedState=f,Hd(d),c}var kb,Tb,xb="18.2.0";function Cb(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return P(r),{$$typeof:ee,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}function Db(e){if(!e)return Vu;var t=Qn(e),n=ac(t);if(1===t.tag){var r=t.type;if(Xu(r))return tc(t,r,n)}return n}function Rb(e,t,n,r,a,o,i,l){return _b(e,t,!1,null,0,r,0,o,i)}function Nb(e,t,n,r,a,o,i,l,s,u){var c=_b(n,r,!0,e,0,o,0,l,s);c.context=Db(null);var d=c.current,f=ey(),p=ty(d),h=$d(f,p);return h.callback=null!=t?t:null,jd(d,h,p),function(e,t,n){e.current.lanes=t,lo(e,t,n),ay(e,n)}(c,p,f),c}function Pb(e,t,n,r){!function(e,t){if(Vr&&"function"==typeof Vr.onScheduleFiberRoot)try{Vr.onScheduleFiberRoot(jr,e,t)}catch(e){Br||(Br=!0,o("React instrumentation encountered an error: %s",e))}}(t,e);var a=t.current,i=ey(),l=ty(a);!function(e){null!==Wr&&"function"==typeof Wr.markRenderScheduled&&Wr.markRenderScheduled(e)}(l);var s=Db(n);null===t.context?t.context=s:t.pendingContext=s,$e&&null!==Ue&&!kb&&(kb=!0,o("Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.\n\nCheck the render method of %s.",ze(Ue)||"Unknown"));var u=$d(i,l);u.payload={element:e},null!==(r=void 0===r?null:r)&&("function"!=typeof r&&o("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",r),u.callback=r);var c=jd(a,u,l);return null!==c&&(ry(c,a,l,i),Vd(c,a,l)),l}function Ib(e){var t=e.current;return t.child?(t.child.tag,t.child.stateNode):null}function Ob(e,t){var n,r,a=e.memoizedState;null!==a&&null!==a.dehydrated&&(a.retryLane=(n=a.retryLane,r=t,0!==n&&n<r?n:r))}function Mb(e,t){Ob(e,t);var n=e.alternate;n&&Ob(n,t)}function Ab(e){var t=Cr(e);return null===t?null:t.stateNode}kb=!1,Tb={};var Fb=function(e){return null};var Lb=function(e){return!1};var zb,Hb,Ub,$b,jb,Vb,Wb,Bb,qb,Yb=function(e,t,n){var r=t[n],a=wt(e)?e.slice():Se({},e);return n+1===t.length?(wt(a)?a.splice(r,1):delete a[r],a):(a[r]=Yb(e[r],t,n+1),a)},Gb=function(e,t){return Yb(e,t,0)},Kb=function(e,t,n,r){var a=t[r],o=wt(e)?e.slice():Se({},e);r+1===t.length?(o[n[r]]=o[a],wt(o)?o.splice(a,1):delete o[a]):o[a]=Kb(e[a],t,n,r+1);return o},Qb=function(e,t,n){if(t.length===n.length){for(var r=0;r<n.length-1;r++)if(t[r]!==n[r])return void a("copyWithRename() expects paths to be the same except for the deepest key");return Kb(e,t,n,0)}a("copyWithRename() expects paths of the same length")},Xb=function(e,t,n,r){if(n>=t.length)return r;var a=t[n],o=wt(e)?e.slice():Se({},e);return o[a]=Xb(e[a],t,n+1,r),o},Zb=function(e,t,n){return Xb(e,t,0,n)},Jb=function(e,t){for(var n=e.memoizedState;null!==n&&t>0;)n=n.next,t--;return n};function ew(e){var t=Tr(e);return null===t?null:t.stateNode}function tw(e){return null}function nw(){return Ue}zb=function(e,t,n,r){var a=Jb(e,t);if(null!==a){var o=Zb(a.memoizedState,n,r);a.memoizedState=o,a.baseState=o,e.memoizedProps=Se({},e.memoizedProps);var i=Id(e,1);null!==i&&ry(i,e,1,Ha)}},Hb=function(e,t,n){var r=Jb(e,t);if(null!==r){var a=Gb(r.memoizedState,n);r.memoizedState=a,r.baseState=a,e.memoizedProps=Se({},e.memoizedProps);var o=Id(e,1);null!==o&&ry(o,e,1,Ha)}},Ub=function(e,t,n,r){var a=Jb(e,t);if(null!==a){var o=Qb(a.memoizedState,n,r);a.memoizedState=o,a.baseState=o,e.memoizedProps=Se({},e.memoizedProps);var i=Id(e,1);null!==i&&ry(i,e,1,Ha)}},$b=function(e,t,n){e.pendingProps=Zb(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=Id(e,1);null!==r&&ry(r,e,1,Ha)},jb=function(e,t){e.pendingProps=Gb(e.memoizedProps,t),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var n=Id(e,1);null!==n&&ry(n,e,1,Ha)},Vb=function(e,t,n){e.pendingProps=Qb(e.memoizedProps,t,n),e.alternate&&(e.alternate.pendingProps=e.pendingProps);var r=Id(e,1);null!==r&&ry(r,e,1,Ha)},Wb=function(e){var t=Id(e,1);null!==t&&ry(t,e,1,Ha)},Bb=function(e){Fb=e},qb=function(e){Lb=e};var rw="function"==typeof reportError?reportError:function(e){console.error(e)};function aw(e){this._internalRoot=e}function ow(e){this._internalRoot=e}function iw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function lw(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function sw(e){1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&o("createRoot(): Creating roots directly with document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try using a container element created for your app."),xu(e)&&(e._reactRootContainer?o("You are calling ReactDOMClient.createRoot() on a container that was previously passed to ReactDOM.render(). This is not supported."):o("You are calling ReactDOMClient.createRoot() on a container that has already been passed to createRoot() before. Instead, call root.render() on the existing root instead if you want to update it."))}ow.prototype.render=aw.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw new Error("Cannot update an unmounted root.");"function"==typeof arguments[1]?o("render(...): does not support the second callback argument. To execute a side effect after rendering, declare it in a component body with useEffect()."):iw(arguments[1])?o("You passed a container to the second argument of root.render(...). You don't need to pass it again since you already passed it to create the root."):void 0!==arguments[1]&&o("You passed a second argument to root.render(...) but it only accepts one argument.");var n=t.containerInfo;if(8!==n.nodeType){var r=Ab(t.current);r&&r.parentNode!==n&&o("render(...): It looks like the React-rendered content of the root container was removed without using React. This is not supported and will cause errors. Instead, call root.unmount() to empty a root's container.")}Pb(e,t,null,null)},ow.prototype.unmount=aw.prototype.unmount=function(){"function"==typeof arguments[0]&&o("unmount(...): does not support a callback argument. To execute a side effect after rendering, declare it in a component body with useEffect().");var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;fy()&&o("Attempted to synchronously unmount a root while React was already rendering. React cannot finish unmounting the root until the current render has completed, which may lead to a race condition."),dy((function(){Pb(null,e,null,null)})),Tu(t)}},ow.prototype.unstable_scheduleHydration=function(e){e&&function(e){for(var t=vo(),n={blockedOn:null,target:e,priority:t},r=0;r<Fo.length&&To(t,Fo[r].priority);r++);Fo.splice(r,0,n),0===r&&Uo(n)}(e)};var uw,cw,dw=n.ReactCurrentOwner;function fw(e){return e?9===e.nodeType?e.documentElement:e.firstChild:null}function pw(){}function hw(e,t,n,r,a){uw(n),function(e,t){null!==e&&"function"!=typeof e&&o("%s(...): Expected the last optional `callback` argument to be a function. Instead received: %s.",t,e)}(void 0===a?null:a,"render");var i,l=n._reactRootContainer;if(l){if("function"==typeof a){var s=a;a=function(){var e=Ib(i);s.call(e)}}Pb(t,i=l,e,a)}else i=function(e,t,n,r,a){if(a){if("function"==typeof r){var o=r;r=function(){var e=Ib(i);o.call(e)}}var i=Nb(t,r,e,0,0,!1,0,"",pw);return e._reactRootContainer=i,ku(i.current,e),es(8===e.nodeType?e.parentNode:e),dy(),i}for(var l;l=e.lastChild;)e.removeChild(l);if("function"==typeof r){var s=r;r=function(){var e=Ib(u);s.call(e)}}var u=Rb(e,0,0,!1,0,"",pw);return e._reactRootContainer=u,ku(u.current,e),es(8===e.nodeType?e.parentNode:e),dy((function(){Pb(t,u,n,r)})),u}(n,t,e,a,r);return Ib(i)}uw=function(e){if(e._reactRootContainer&&8!==e.nodeType){var t=Ab(e._reactRootContainer.current);t&&t.parentNode!==e&&o("render(...): It looks like the React-rendered content of this container was removed without using React. This is not supported and will cause errors. Instead, call ReactDOM.unmountComponentAtNode to empty a container.")}var n=!!e._reactRootContainer,r=fw(e);!(!r||!Du(r))&&!n&&o("render(...): Replacing React-rendered children with a new root component. If you intended to update the children of this node, you should instead have the existing children update their state and render the new components instead of calling ReactDOM.render."),1===e.nodeType&&e.tagName&&"BODY"===e.tagName.toUpperCase()&&o("render(): Rendering components directly into document.body is discouraged, since its children are often manipulated by third-party scripts and browser extensions. This may lead to subtle reconciliation issues. Try rendering into a container element created for your app.")},cw=function(e){switch(e.tag){case 3:var t=e.stateNode;if(Co(t)){var n=function(e){return ja(e.pendingLanes)}(t);!function(e,t){0!==t&&(uo(e,ro(t,1)),ay(e,Or()),0==(6&yg)&&(Mg(),cc()))}(t,n)}break;case c:dy((function(){var t=Id(e,1);if(null!==t){var n=ey();ry(t,e,1,n)}})),Mb(e,1)}},po=cw,function(e){ho=e}((function(e){if(e.tag===c){var t=Oa,n=Id(e,t);if(null!==n)ry(n,e,t,ey());Mb(e,t)}})),function(e){mo=e}((function(e){if(e.tag===c){var t=ty(e),n=Id(e,t);if(null!==n)ry(n,e,t,ey());Mb(e,t)}})),function(e){vo=e}(_o),function(e){go=e}((function(e,t){var n=Eo;try{return Eo=e,t()}finally{Eo=n}})),"function"==typeof Map&&null!=Map.prototype&&"function"==typeof Map.prototype.forEach&&"function"==typeof Set&&null!=Set.prototype&&"function"==typeof Set.prototype.clear&&"function"==typeof Set.prototype.forEach||o("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Tn=function(e,t,n){switch(t){case"input":return void ft(e,n);case"textarea":return void function(e,t){Rt(e,t)}(e,n);case"select":return void function(e,t){var n=e,r=t.value;null!=r&&_t(n,!!t.multiple,r,!1)}(e,n)}},Pn=cy,In=dy;var mw={usingClientEntryPoint:!1,Events:[Du,Ru,Nu,Rn,Nn,cy]};var vw=function(e){var t=e.findFiberByHostInstance,r=n.ReactCurrentDispatcher;return function(e){if("undefined"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)return!1;var t=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(t.isDisabled)return!0;if(!t.supportsFiber)return o("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"),!0;try{e=Se({},e,{getLaneLabelMap:Kr,injectProfilingHooks:Gr}),jr=t.inject(e),Vr=t}catch(e){o("React instrumentation encountered an error: %s.",e)}return!!t.checkDCE}({bundleType:e.bundleType,version:e.version,rendererPackageName:e.rendererPackageName,rendererConfig:e.rendererConfig,overrideHookState:zb,overrideHookStateDeletePath:Hb,overrideHookStateRenamePath:Ub,overrideProps:$b,overridePropsDeletePath:jb,overridePropsRenamePath:Vb,setErrorHandler:Bb,setSuspenseHandler:qb,scheduleUpdate:Wb,currentDispatcherRef:r,findHostInstanceByFiber:ew,findFiberByHostInstance:t||tw,findHostInstancesForRefresh:lb,scheduleRefresh:rb,scheduleRoot:ab,setRefreshHandler:Xy,getCurrentFiber:nw,reconcilerVersion:xb})}({findFiberByHostInstance:Cu,bundleType:1,version:xb,rendererPackageName:"react-dom"});if(!vw&&T&&window.top===window.self&&(navigator.userAgent.indexOf("Chrome")>-1&&-1===navigator.userAgent.indexOf("Edge")||navigator.userAgent.indexOf("Firefox")>-1)){var gw=window.location.protocol;/^(https?|file):$/.test(gw)&&console.info("%cDownload the React DevTools for a better development experience: https://reactjs.org/link/react-devtools"+("file:"===gw?"\nYou might need to use a local HTTP server (instead of file://): https://reactjs.org/link/react-devtools-faq":""),"font-weight:bold")}reactDom_development.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mw,reactDom_development.createPortal=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(!iw(t))throw new Error("Target container is not a DOM element.");return Cb(e,t,null,n)},reactDom_development.createRoot=function(e,t){return mw.usingClientEntryPoint||o('You are importing createRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t){if(!iw(e))throw new Error("createRoot(...): Target container is not a DOM element.");sw(e);var n=!1,r="",i=rw;null!=t&&(t.hydrate?a("hydrate through createRoot is deprecated. Use ReactDOMClient.hydrateRoot(container, <App />) instead."):"object"==typeof t&&null!==t&&t.$$typeof===J&&o("You passed a JSX element to createRoot. You probably meant to call root.render instead. Example usage:\n\n let root = createRoot(domContainer);\n root.render(<App />);"),!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError),void 0!==t.transitionCallbacks&&t.transitionCallbacks);var l=Rb(e,1,0,n,0,r,i);return ku(l.current,e),es(8===e.nodeType?e.parentNode:e),new aw(l)}(e,t)},reactDom_development.findDOMNode=function(e){var t=dw.current;return null!==t&&null!==t.stateNode&&(t.stateNode._warnedAboutRefsInRender||o("%s is accessing findDOMNode inside its render(). render() should be a pure function of props and state. It should never access something that requires stale data from the previous render, such as refs. Move this logic to componentDidMount and componentDidUpdate instead.",Fe(t.type)||"A component"),t.stateNode._warnedAboutRefsInRender=!0),null==e?null:1===e.nodeType?e:function(e,t){var n=Qn(e);if(void 0===n){if("function"==typeof e.render)throw new Error("Unable to find node on an unmounted component.");var r=Object.keys(e).join(",");throw new Error("Argument appears to not be a ReactComponent. Keys: "+r)}var a=Tr(n);if(null===a)return null;if(8&a.mode){var i=ze(n)||"Component";if(!Tb[i]){Tb[i]=!0;var l=Ue;try{Be(a),8&n.mode?o("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i):o("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node",t,t,i)}finally{l?Be(l):We()}}}return a.stateNode}(e,"findDOMNode")},reactDom_development.flushSync=function(e){return fy()&&o("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task."),dy(e)},reactDom_development.hydrate=function(e,t,n){if(o("ReactDOM.hydrate is no longer supported in React 18. Use hydrateRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!lw(t))throw new Error("Target container is not a DOM element.");return xu(t)&&void 0===t._reactRootContainer&&o("You are calling ReactDOM.hydrate() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call hydrateRoot(container, element)?"),hw(null,e,t,!0,n)},reactDom_development.hydrateRoot=function(e,t,n){return mw.usingClientEntryPoint||o('You are importing hydrateRoot from "react-dom" which is not supported. You should instead import it from "react-dom/client".'),function(e,t,n){if(!iw(e))throw new Error("hydrateRoot(...): Target container is not a DOM element.");sw(e),void 0===t&&o("Must provide initial children as second argument to hydrateRoot. Example usage: hydrateRoot(domContainer, <App />)");var r=null!=n&&n.hydratedSources||null,a=!1,i="",l=rw;null!=n&&(!0===n.unstable_strictMode&&(a=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError));var s=Nb(t,null,e,1,0,a,0,i,l);if(ku(s.current,e),es(e),r)for(var u=0;u<r.length;u++)Jf(s,r[u]);return new ow(s)}(e,t,n)},reactDom_development.render=function(e,t,n){if(o("ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!lw(t))throw new Error("Target container is not a DOM element.");return xu(t)&&void 0===t._reactRootContainer&&o("You are calling ReactDOM.render() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.render(element)?"),hw(null,e,t,!1,n)},reactDom_development.unmountComponentAtNode=function(e){if(!lw(e))throw new Error("unmountComponentAtNode(...): Target container is not a DOM element.");if(xu(e)&&void 0===e._reactRootContainer&&o("You are calling ReactDOM.unmountComponentAtNode() on a container that was previously passed to ReactDOMClient.createRoot(). This is not supported. Did you mean to call root.unmount()?"),e._reactRootContainer){var t=fw(e);return t&&!Du(t)&&o("unmountComponentAtNode(): The node you're attempting to unmount was rendered by another copy of React."),dy((function(){hw(null,null,e,!1,(function(){e._reactRootContainer=null,Tu(e)}))})),!0}var n=fw(e),r=!(!n||!Du(n)),a=1===e.nodeType&&lw(e.parentNode)&&!!e.parentNode._reactRootContainer;return r&&o("unmountComponentAtNode(): The node you're attempting to unmount was rendered by React and is not a top-level container. %s",a?"You may have accidentally passed in a React root node instead of its container.":"Instead, have the parent component update its state and rerender in order to remove this component."),!1},reactDom_development.unstable_batchedUpdates=cy,reactDom_development.unstable_renderSubtreeIntoContainer=function(e,t,n,r){return function(e,t,n,r){if(o("ReactDOM.unstable_renderSubtreeIntoContainer() is no longer supported in React 18. Consider using a portal instead. Until you switch to the createRoot API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot"),!lw(n))throw new Error("Target container is not a DOM element.");if(null==e||void 0===e._reactInternals)throw new Error("parentComponent must be a valid React Component");return hw(e,t,n,!1,r)}(e,t,n,r)},reactDom_development.version=xb,"undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error)}()),reactDom_development}function flushSync(e){e()}if(function(e){"production"===process.env.NODE_ENV?(!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE){if("production"!==process.env.NODE_ENV)throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}}(),e.exports=requireReactDom_production_min()):e.exports=requireReactDom_development()}(reactDom),("undefined"!=typeof globalThis?globalThis:window).FullCalendarVDom={Component:react.exports.Component,createElement:react.exports.createElement,render:reactDom.exports.render,createRef:react.exports.createRef,Fragment:react.exports.Fragment,createContext:react.exports.createContext,createPortal:reactDom.exports.createPortal,flushSync:flushSync,unmountComponentAtNode:reactDom.exports.unmountComponentAtNode},"undefined"==typeof FullCalendarVDom)throw new Error("Please import the top-level fullcalendar lib before attempting to import a plugin.");var Component=FullCalendarVDom.Component,createElement=FullCalendarVDom.createElement;FullCalendarVDom.render;var createRef=FullCalendarVDom.createRef,Fragment=FullCalendarVDom.Fragment,createContext=FullCalendarVDom.createContext,createPortal=FullCalendarVDom.createPortal;FullCalendarVDom.flushSync,FullCalendarVDom.unmountComponentAtNode;
51
51
  /*!
52
52
  FullCalendar v5.11.3
53
53
  Docs & License: https://fullcalendar.io/
54
54
  (c) 2022 Adam Shaw
55
55
  */
56
- var EventSourceApi=function(){function e(e,t){this.context=e,this.internalEventSource=t}return e.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),e}();function removeElement(e){e.parentNode&&e.parentNode.removeChild(e)}function elementClosest(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(elementMatches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function elementMatches(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function findElements(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],o=0;o<n.length;o+=1)for(var a=n[o].querySelectorAll(t),i=0;i<a.length;i+=1)r.push(a[i]);return r}var PIXEL_PROP_RE=/(top|left|right|bottom|width|height)$/i;function applyStyle(e,t){for(var n in t)applyStyleProp(e,n,t[n])}function applyStyleProp(e,t,n){null==n?e.style[t]="":"number"==typeof n&&PIXEL_PROP_RE.test(t)?e.style[t]=n+"px":e.style[t]=n}function getEventTargetViaRoot(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}function getElRoot(e){return e.getRootNode?e.getRootNode():document}var guid$1=0;function getUniqueDomId(){return"fc-dom-"+(guid$1+=1)}function preventDefault(e){e.preventDefault()}function buildDelegationHandler(e,t){return function(n){var r=elementClosest(n.target,e);r&&t.call(r,n,r)}}function listenBySelector(e,t,n,r){var o=buildDelegationHandler(n,r);return e.addEventListener(t,o),function(){e.removeEventListener(t,o)}}function listenToHoverBySelector(e,t,n,r){var o;return listenBySelector(e,"mouseover",t,(function(e,t){if(t!==o){o=t,n(e,t);var a=function(e){o=null,r(e,t),t.removeEventListener("mouseleave",a)};t.addEventListener("mouseleave",a)}}))}var transitionEventNames=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function whenTransitionDone(e,t){var n=function(r){t(r),transitionEventNames.forEach((function(t){e.removeEventListener(t,n)}))};transitionEventNames.forEach((function(t){e.addEventListener(t,n)}))}function createAriaClickAttrs(e){return __assign$1({onClick:e},createAriaKeyboardAttrs(e))}function createAriaKeyboardAttrs(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var guidNumber=0;function guid(){return String(guidNumber+=1)}function disableCursor(){document.body.classList.add("fc-not-allowed")}function enableCursor(){document.body.classList.remove("fc-not-allowed")}function preventSelection(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",preventDefault)}function allowSelection(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",preventDefault)}function preventContextMenu(e){e.addEventListener("contextmenu",preventDefault)}function allowContextMenu(e){e.removeEventListener("contextmenu",preventDefault)}function parseFieldSpecs(e){var t,n,r=[],o=[];for("string"==typeof e?o=e.split(/\s*,\s*/):"function"==typeof e?o=[e]:Array.isArray(e)&&(o=e),t=0;t<o.length;t+=1)"string"==typeof(n=o[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r}function compareByFieldSpecs(e,t,n){var r,o;for(r=0;r<n.length;r+=1)if(o=compareByFieldSpec(e,t,n[r]))return o;return 0}function compareByFieldSpec(e,t,n){return n.func?n.func(e,t):flexibleCompare(e[n.field],t[n.field])*(n.order||1)}function flexibleCompare(e,t){return e||t?null==t?-1:null==e?1:"string"==typeof e||"string"==typeof t?String(e).localeCompare(String(t)):e-t:0}function padStart(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function formatWithOrdinals(e,t,n){return"function"==typeof e?e.apply(void 0,t):"string"==typeof e?t.reduce((function(e,t,n){return e.replace("$"+n,t||"")}),e):n}function compareNumbers(e,t){return e-t}function isInt(e){return e%1==0}function computeSmallestCellWidth(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var DAY_IDS=["sun","mon","tue","wed","thu","fri","sat"];function addWeeks(e,t){var n=dateToUtcArray(e);return n[2]+=7*t,arrayToUtcDate(n)}function addDays(e,t){var n=dateToUtcArray(e);return n[2]+=t,arrayToUtcDate(n)}function addMs(e,t){var n=dateToUtcArray(e);return n[6]+=t,arrayToUtcDate(n)}function diffWeeks(e,t){return diffDays(e,t)/7}function diffDays(e,t){return(t.valueOf()-e.valueOf())/864e5}function diffHours(e,t){return(t.valueOf()-e.valueOf())/36e5}function diffMinutes(e,t){return(t.valueOf()-e.valueOf())/6e4}function diffSeconds(e,t){return(t.valueOf()-e.valueOf())/1e3}function diffDayAndTime(e,t){var n=startOfDay(e),r=startOfDay(t);return{years:0,months:0,days:Math.round(diffDays(n,r)),milliseconds:t.valueOf()-r.valueOf()-(e.valueOf()-n.valueOf())}}function diffWholeWeeks(e,t){var n=diffWholeDays(e,t);return null!==n&&n%7==0?n/7:null}function diffWholeDays(e,t){return timeAsMs(e)===timeAsMs(t)?Math.round(diffDays(e,t)):null}function startOfDay(e){return arrayToUtcDate([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function startOfHour(e){return arrayToUtcDate([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}function startOfMinute(e){return arrayToUtcDate([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}function startOfSecond(e){return arrayToUtcDate([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}function weekOfYear(e,t,n){var r=e.getUTCFullYear(),o=weekOfGivenYear(e,r,t,n);if(o<1)return weekOfGivenYear(e,r-1,t,n);var a=weekOfGivenYear(e,r+1,t,n);return a>=1?Math.min(o,a):o}function weekOfGivenYear(e,t,n,r){var o=arrayToUtcDate([t,0,1+firstWeekOffset(t,n,r)]),a=startOfDay(e),i=Math.round(diffDays(o,a));return Math.floor(i/7)+1}function firstWeekOffset(e,t,n){var r=7+t-n;return-((7+arrayToUtcDate([e,0,r]).getUTCDay()-t)%7)+r-1}function dateToLocalArray(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function arrayToLocalDate(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function dateToUtcArray(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function arrayToUtcDate(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function isValidDate(e){return!isNaN(e.valueOf())}function timeAsMs(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function createEventInstance(e,t,n,r){return{instanceId:guid(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var hasOwnProperty=Object.prototype.hasOwnProperty;function mergeProps(e,t){var n={};if(t)for(var r in t){for(var o=[],a=e.length-1;a>=0;a-=1){var i=e[a][r];if("object"==typeof i&&i)o.unshift(i);else if(void 0!==i){n[r]=i;break}}o.length&&(n[r]=mergeProps(o))}for(a=e.length-1;a>=0;a-=1){var l=e[a];for(var s in l)s in n||(n[s]=l[s])}return n}function filterHash(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function mapHash(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function arrayToHash(e){for(var t={},n=0,r=e;n<r.length;n++){t[r[n]]=!0}return t}function hashValuesToArray(e){var t=[];for(var n in e)t.push(e[n]);return t}function isPropsEqual(e,t){if(e===t)return!0;for(var n in e)if(hasOwnProperty.call(e,n)&&!(n in t))return!1;for(var n in t)if(hasOwnProperty.call(t,n)&&e[n]!==t[n])return!1;return!0}function getUnequalProps(e,t){var n=[];for(var r in e)hasOwnProperty.call(e,r)&&(r in t||n.push(r));for(var r in t)hasOwnProperty.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function compareObjs(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!isObjValsEqual(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function isObjValsEqual(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function collectFromHash(e,t,n,r){void 0===t&&(t=0),void 0===r&&(r=1);var o=[];null==n&&(n=Object.keys(e).length);for(var a=t;a<n;a+=r){var i=e[a];void 0!==i&&o.push(i)}return o}function parseRecurring(e,t,n,r){for(var o=0;o<r.length;o+=1){var a=r[o].parse(e,n);if(a){var i=e.allDay;return null==i&&null==(i=t)&&null==(i=a.allDayGuess)&&(i=!1),{allDay:i,duration:a.duration,typeData:a.typeData,typeId:o}}}return null}function expandRecurring(e,t,n){var r=n.dateEnv,o=n.pluginHooks,a=n.options,i=e.defs,l=e.instances;for(var s in l=filterHash(l,(function(e){return!i[e.defId].recurringDef})),i){var u=i[s];if(u.recurringDef){var c=u.recurringDef.duration;c||(c=u.allDay?a.defaultAllDayEventDuration:a.defaultTimedEventDuration);for(var d=0,f=expandRecurringRanges(u,c,t,r,o.recurringTypes);d<f.length;d++){var p=f[d],h=createEventInstance(s,{start:p,end:r.add(p,c)});l[h.instanceId]=h}}}return{defs:i,instances:l}}function expandRecurringRanges(e,t,n,r,o){var a=o[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(a=a.map(startOfDay)),a}var INTERNAL_UNITS=["years","months","days","milliseconds"],PARSE_RE=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function createDuration(e,t){var n;return"string"==typeof e?parseString(e):"object"==typeof e&&e?parseObject(e):"number"==typeof e?parseObject(((n={})[t||"milliseconds"]=e,n)):null}function parseString(e){var t=PARSE_RE.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}function parseObject(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function durationsEqual(e,t){return e.years===t.years&&e.months===t.months&&e.days===t.days&&e.milliseconds===t.milliseconds}function addDurations(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function subtractDurations(e,t){return{years:e.years-t.years,months:e.months-t.months,days:e.days-t.days,milliseconds:e.milliseconds-t.milliseconds}}function multiplyDuration(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function asRoughYears(e){return asRoughDays(e)/365}function asRoughMonths(e){return asRoughDays(e)/30}function asRoughDays(e){return asRoughMs(e)/864e5}function asRoughMs(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function wholeDivideDurations(e,t){for(var n=null,r=0;r<INTERNAL_UNITS.length;r+=1){var o=INTERNAL_UNITS[r];if(t[o]){var a=e[o]/t[o];if(!isInt(a)||null!==n&&n!==a)return null;n=a}else if(e[o])return null}return n}function greatestDurationDenominator(e){var t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function buildIsoString(e,t,n){void 0===n&&(n=!1);var r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",formatTimeZoneOffset(t,!0)))),r}function formatDayString(e){return e.toISOString().replace(/T.*$/,"")}function formatIsoTimeString(e){return padStart(e.getUTCHours(),2)+":"+padStart(e.getUTCMinutes(),2)+":"+padStart(e.getUTCSeconds(),2)}function formatTimeZoneOffset(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),o=Math.floor(r/60),a=Math.round(r%60);return t?n+padStart(o,2)+":"+padStart(a,2):"GMT"+n+o+(a?":"+padStart(a,2):"")}function isArraysEqual(e,t,n){if(e===t)return!0;var r,o=e.length;if(o!==t.length)return!1;for(r=0;r<o;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function memoize(e,t,n){var r,o;return function(){for(var a=[],i=0;i<arguments.length;i++)a[i]=arguments[i];if(r){if(!isArraysEqual(r,a)){n&&n(o);var l=e.apply(this,a);t&&t(l,o)||(o=l)}}else o=e.apply(this,a);return r=a,o}}function memoizeObjArg(e,t,n){var r,o,a=this;return function(i){if(r){if(!isPropsEqual(r,i)){n&&n(o);var l=e.call(a,i);t&&t(l,o)||(o=l)}}else o=e.call(a,i);return r=i,o}}var EXTENDED_SETTINGS_AND_SEVERITIES={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},STANDARD_DATE_PROP_SEVERITIES={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},MERIDIEM_RE=/\s*([ap])\.?m\.?/i,COMMA_RE=/,/g,MULTI_SPACE_RE=/\s+/g,LTR_RE=/\u200e/g,UTC_RE=/UTC|GMT/,NativeFormatter=function(){function e(e){var t={},n={},r=0;for(var o in e)o in EXTENDED_SETTINGS_AND_SEVERITIES?(n[o]=e[o],r=Math.max(EXTENDED_SETTINGS_AND_SEVERITIES[o],r)):(t[o]=e[o],o in STANDARD_DATE_PROP_SEVERITIES&&(r=Math.max(STANDARD_DATE_PROP_SEVERITIES[o],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=memoize(buildFormattingFunc)}return e.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},e.prototype.formatRange=function(e,t,n,r){var o=this.standardDateProps,a=this.extendedSettings,i=computeMarkerDiffSeverity(e.marker,t.marker,n.calendarSystem);if(!i)return this.format(e,n);var l=i;!(l>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(l=1);var s=this.format(e,n),u=this.format(t,n);if(s===u)return s;var c=buildFormattingFunc(computePartialFormattingOptions(o,l),a,n),d=c(e),f=c(t),p=findCommonInsertion(s,d,u,f),h=a.separator||r||n.defaultSeparator||"";return p?p.before+d+h+f+p.after:s+h+u},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},e}();function buildFormattingFunc(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return formatTimeZoneOffset(e.timeZoneOffset)}:0===r&&t.week?function(e){return formatWeekNumber(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:buildNativeFormattingFunc(e,t,n)}function buildNativeFormattingFunc(e,t,n){e=__assign$1({},e),t=__assign$1({},t),sanitizeSettings(e,t),e.timeZone="UTC";var r,o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var a=__assign$1({},e);delete a.minute,r=new Intl.DateTimeFormat(n.locale.codes,a)}return function(a){var i=a.marker;return postProcess((r&&!i.getUTCMinutes()?r:o).format(i),a,e,t,n)}}function sanitizeSettings(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit")),"long"===e.timeZoneName&&(e.timeZoneName="short"),t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}function postProcess(e,t,n,r,o){return e=e.replace(LTR_RE,""),"short"===n.timeZoneName&&(e=injectTzoStr(e,"UTC"===o.timeZone||null==t.timeZoneOffset?"UTC":formatTimeZoneOffset(t.timeZoneOffset))),r.omitCommas&&(e=e.replace(COMMA_RE,"").trim()),r.omitZeroMinute&&(e=e.replace(":00","")),!1===r.meridiem?e=e.replace(MERIDIEM_RE,"").trim():"narrow"===r.meridiem?e=e.replace(MERIDIEM_RE,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(MERIDIEM_RE,(function(e,t){return t.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(e=e.replace(MERIDIEM_RE,(function(e){return e.toLocaleLowerCase()}))),e=(e=e.replace(MULTI_SPACE_RE," ")).trim()}function injectTzoStr(e,t){var n=!1;return e=e.replace(UTC_RE,(function(){return n=!0,t})),n||(e+=" "+t),e}function formatWeekNumber(e,t,n,r,o){var a=[];return"long"===o?a.push(n):"short"!==o&&"narrow"!==o||a.push(t),"long"!==o&&"short"!==o||a.push(" "),a.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&a.reverse(),a.join("")}function computeMarkerDiffSeverity(e,t,n){return n.getMarkerYear(e)!==n.getMarkerYear(t)?5:n.getMarkerMonth(e)!==n.getMarkerMonth(t)?4:n.getMarkerDay(e)!==n.getMarkerDay(t)?2:timeAsMs(e)!==timeAsMs(t)?1:0}function computePartialFormattingOptions(e,t){var n={};for(var r in e)(!(r in STANDARD_DATE_PROP_SEVERITIES)||STANDARD_DATE_PROP_SEVERITIES[r]<=t)&&(n[r]=e[r]);return n}function findCommonInsertion(e,t,n,r){for(var o=0;o<e.length;){var a=e.indexOf(t,o);if(-1===a)break;var i=e.substr(0,a);o=a+t.length;for(var l=e.substr(o),s=0;s<n.length;){var u=n.indexOf(r,s);if(-1===u)break;var c=n.substr(0,u);s=u+r.length;var d=n.substr(s);if(i===c&&l===d)return{before:i,after:l}}}return null}function expandZonedMarker(e,t){var n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function createVerboseFormattingArg(e,t,n,r){var o=expandZonedMarker(e,n.calendarSystem);return{date:o,start:o,end:t?expandZonedMarker(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var CmdFormatter=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,createVerboseFormattingArg(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,createVerboseFormattingArg(e,t,n,r))},e}(),FuncFormatter=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(createVerboseFormattingArg(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(createVerboseFormattingArg(e,t,n,r))},e}();function createFormatter(e){return"object"==typeof e&&e?new NativeFormatter(e):"string"==typeof e?new CmdFormatter(e):"function"==typeof e?new FuncFormatter(e):null}var BASE_OPTION_REFINERS={navLinkDayClick:identity,navLinkWeekClick:identity,duration:createDuration,bootstrapFontAwesome:identity,buttonIcons:identity,customButtons:identity,defaultAllDayEventDuration:createDuration,defaultTimedEventDuration:createDuration,nextDayThreshold:createDuration,scrollTime:createDuration,scrollTimeReset:Boolean,slotMinTime:createDuration,slotMaxTime:createDuration,dayPopoverFormat:createFormatter,slotDuration:createDuration,snapDuration:createDuration,headerToolbar:identity,footerToolbar:identity,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:createFormatter,dayHeaderClassNames:identity,dayHeaderContent:identity,dayHeaderDidMount:identity,dayHeaderWillUnmount:identity,dayCellClassNames:identity,dayCellContent:identity,dayCellDidMount:identity,dayCellWillUnmount:identity,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:identity,weekNumbers:Boolean,weekNumberClassNames:identity,weekNumberContent:identity,weekNumberDidMount:identity,weekNumberWillUnmount:identity,editable:Boolean,viewClassNames:identity,viewDidMount:identity,viewWillUnmount:identity,nowIndicator:Boolean,nowIndicatorClassNames:identity,nowIndicatorContent:identity,nowIndicatorDidMount:identity,nowIndicatorWillUnmount:identity,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:identity,locale:identity,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:identity,eventOrder:parseFieldSpecs,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:identity,contentHeight:identity,direction:String,weekNumberFormat:createFormatter,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:identity,initialDate:identity,now:identity,eventDataTransform:identity,stickyHeaderDates:identity,stickyFooterScrollbar:identity,viewHeight:identity,defaultAllDay:Boolean,eventSourceFailure:identity,eventSourceSuccess:identity,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:identity,eventConstraint:identity,eventAllow:identity,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:identity,eventContent:identity,eventDidMount:identity,eventWillUnmount:identity,selectConstraint:identity,selectOverlap:identity,selectAllow:identity,droppable:Boolean,unselectCancel:String,slotLabelFormat:identity,slotLaneClassNames:identity,slotLaneContent:identity,slotLaneDidMount:identity,slotLaneWillUnmount:identity,slotLabelClassNames:identity,slotLabelContent:identity,slotLabelDidMount:identity,slotLabelWillUnmount:identity,dayMaxEvents:identity,dayMaxEventRows:identity,dayMinWidth:Number,slotLabelInterval:createDuration,allDayText:String,allDayClassNames:identity,allDayContent:identity,allDayDidMount:identity,allDayWillUnmount:identity,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:createFormatter,rerenderDelay:Number,moreLinkText:identity,moreLinkHint:identity,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:identity,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:createDuration,hiddenDays:identity,monthMode:Boolean,fixedWeekCount:Boolean,validRange:identity,visibleRange:identity,titleFormat:identity,eventInteractive:Boolean,noEventsText:String,viewHint:identity,navLinkHint:identity,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:identity,moreLinkClassNames:identity,moreLinkContent:identity,moreLinkDidMount:identity,moreLinkWillUnmount:identity},BASE_OPTION_DEFAULTS={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30},CALENDAR_LISTENER_REFINERS={datesSet:identity,eventsSet:identity,eventAdd:identity,eventChange:identity,eventRemove:identity,windowResize:identity,eventClick:identity,eventMouseEnter:identity,eventMouseLeave:identity,select:identity,unselect:identity,loading:identity,_unmount:identity,_beforeprint:identity,_afterprint:identity,_noEventDrop:identity,_noEventResize:identity,_resize:identity,_scrollRequest:identity},CALENDAR_OPTION_REFINERS={buttonText:identity,buttonHints:identity,views:identity,plugins:identity,initialEvents:identity,events:identity,eventSources:identity},COMPLEX_OPTION_COMPARATORS={headerToolbar:isMaybeObjectsEqual,footerToolbar:isMaybeObjectsEqual,buttonText:isMaybeObjectsEqual,buttonHints:isMaybeObjectsEqual,buttonIcons:isMaybeObjectsEqual,dateIncrement:isMaybeObjectsEqual};function isMaybeObjectsEqual(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?isPropsEqual(e,t):e===t}var VIEW_OPTION_REFINERS={type:String,component:identity,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:identity,usesMinMaxTime:Boolean,classNames:identity,content:identity,didMount:identity,willUnmount:identity};function mergeRawOptions(e){return mergeProps(e,COMPLEX_OPTION_COMPARATORS)}function refineProps(e,t){var n={},r={};for(var o in t)o in e&&(n[o]=t[o](e[o]));for(var o in e)o in t||(r[o]=e[o]);return{refined:n,extra:r}}function identity(e){return e}function parseEvents(e,t,n,r){for(var o=createEmptyEventStore(),a=buildEventRefiners(n),i=0,l=e;i<l.length;i++){var s=parseEvent(l[i],t,n,r,a);s&&eventTupleToStore(s,o)}return o}function eventTupleToStore(e,t){return void 0===t&&(t=createEmptyEventStore()),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function getRelevantEvents(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],o=filterEventStoreDefs(e,(function(e){return isEventDefsGrouped(r,e)}));return o.defs[r.defId]=r,o.instances[n.instanceId]=n,o}return createEmptyEventStore()}function isEventDefsGrouped(e,t){return Boolean(e.groupId&&e.groupId===t.groupId)}function createEmptyEventStore(){return{defs:{},instances:{}}}function mergeEventStores(e,t){return{defs:__assign$1(__assign$1({},e.defs),t.defs),instances:__assign$1(__assign$1({},e.instances),t.instances)}}function filterEventStoreDefs(e,t){var n=filterHash(e.defs,t),r=filterHash(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function excludeSubEventStore(e,t){var n=e.defs,r=e.instances,o={},a={};for(var i in n)t.defs[i]||(o[i]=n[i]);for(var l in r)!t.instances[l]&&o[r[l].defId]&&(a[l]=r[l]);return{defs:o,instances:a}}function normalizeConstraint(e,t){return Array.isArray(e)?parseEvents(e,null,t,!0):"object"==typeof e&&e?parseEvents([e],null,t,!0):null!=e?String(e):null}function parseClassNames(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var EVENT_UI_REFINERS={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:identity,overlap:identity,allow:identity,className:parseClassNames,classNames:parseClassNames,color:String,backgroundColor:String,borderColor:String,textColor:String},EMPTY_EVENT_UI={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function createEventUi(e,t){var n=normalizeConstraint(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function combineEventUis(e){return e.reduce(combineTwoEventUis,EMPTY_EVENT_UI)}function combineTwoEventUis(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var EVENT_NON_DATE_REFINERS={id:String,groupId:String,title:String,url:String,interactive:Boolean},EVENT_DATE_REFINERS={start:identity,end:identity,date:identity,allDay:Boolean},EVENT_REFINERS=__assign$1(__assign$1(__assign$1({},EVENT_NON_DATE_REFINERS),EVENT_DATE_REFINERS),{extendedProps:identity});function parseEvent(e,t,n,r,o){void 0===o&&(o=buildEventRefiners(n));var a=refineEventDef(e,n,o),i=a.refined,l=a.extra,s=computeIsDefaultAllDay(t,n),u=parseRecurring(i,s,n.dateEnv,n.pluginHooks.recurringTypes);if(u)return(c=parseEventDef(i,l,t?t.sourceId:"",u.allDay,Boolean(u.duration),n)).recurringDef={typeId:u.typeId,typeData:u.typeData,duration:u.duration},{def:c,instance:null};var c,d=parseSingle(i,s,n,r);return d?{def:c=parseEventDef(i,l,t?t.sourceId:"",d.allDay,d.hasEnd,n),instance:createEventInstance(c.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function refineEventDef(e,t,n){return void 0===n&&(n=buildEventRefiners(t)),refineProps(e,n)}function buildEventRefiners(e){return __assign$1(__assign$1(__assign$1({},EVENT_UI_REFINERS),EVENT_REFINERS),e.pluginHooks.eventRefiners)}function parseEventDef(e,t,n,r,o,a){for(var i={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:guid(),sourceId:n,allDay:r,hasEnd:o,interactive:e.interactive,ui:createEventUi(e,a),extendedProps:__assign$1(__assign$1({},e.extendedProps||{}),t)},l=0,s=a.pluginHooks.eventDefMemberAdders;l<s.length;l++){var u=s[l];__assign$1(i,u(e))}return Object.freeze(i.ui.classNames),Object.freeze(i.extendedProps),i}function parseSingle(e,t,n,r){var o,a,i=e.allDay,l=null,s=!1,u=null,c=null!=e.start?e.start:e.date;if(o=n.dateEnv.createMarkerMeta(c))l=o.marker;else if(!r)return null;return null!=e.end&&(a=n.dateEnv.createMarkerMeta(e.end)),null==i&&(i=null!=t?t:(!o||o.isTimeUnspecified)&&(!a||a.isTimeUnspecified)),i&&l&&(l=startOfDay(l)),a&&(u=a.marker,i&&(u=startOfDay(u)),l&&u<=l&&(u=null)),u?s=!0:r||(s=n.options.forceEventDuration||!1,u=n.dateEnv.add(l,i?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration)),{allDay:i,hasEnd:s,range:{start:l,end:u},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:a?a.forcedTzo:null}}function computeIsDefaultAllDay(e,t){var n=null;return e&&(n=e.defaultAllDay),null==n&&(n=t.options.defaultAllDay),n}function computeAlignedDayRange(e){var t=Math.floor(diffDays(e.start,e.end))||1,n=startOfDay(e.start);return{start:n,end:addDays(n,t)}}function computeVisibleDayRange(e,t){void 0===t&&(t=createDuration(0));var n=null,r=null;if(e.end){r=startOfDay(e.end);var o=e.end.valueOf()-r.valueOf();o&&o>=asRoughMs(t)&&(r=addDays(r,1))}return e.start&&(n=startOfDay(e.start),r&&r<=n&&(r=addDays(n,1))),{start:n,end:r}}function isMultiDayRange(e){var t=computeVisibleDayRange(e);return diffDays(t.start,t.end)>1}function diffDates(e,t,n,r){return"year"===r?createDuration(n.diffWholeYears(e,t),"year"):"month"===r?createDuration(n.diffWholeMonths(e,t),"month"):diffDayAndTime(e,t)}function parseRange(e,t){var n=null,r=null;return e.start&&(n=t.createMarker(e.start)),e.end&&(r=t.createMarker(e.end)),n||r?n&&r&&r<n?null:{start:n,end:r}:null}function invertRanges(e,t){var n,r,o=[],a=t.start;for(e.sort(compareRanges),n=0;n<e.length;n+=1)(r=e[n]).start>a&&o.push({start:a,end:r.start}),r.end>a&&(a=r.end);return a<t.end&&o.push({start:a,end:t.end}),o}function compareRanges(e,t){return e.start.valueOf()-t.start.valueOf()}function intersectRanges(e,t){var n=e.start,r=e.end,o=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(o={start:n,end:r}),o}function rangesEqual(e,t){return(null===e.start?null:e.start.valueOf())===(null===t.start?null:t.start.valueOf())&&(null===e.end?null:e.end.valueOf())===(null===t.end?null:t.end.valueOf())}function rangesIntersect(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function rangeContainsRange(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function rangeContainsMarker(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function constrainMarkerToRange(e,t){return null!=t.start&&e<t.start?t.start:null!=t.end&&e>=t.end?new Date(t.end.valueOf()-1):e}function sliceEventStore(e,t,n,r){var o={},a={},i={},l=[],s=[],u=compileEventUis(e.defs,t);for(var c in e.defs){"inverse-background"===(p=u[(w=e.defs[c]).defId]).display&&(w.groupId?(o[w.groupId]=[],i[w.groupId]||(i[w.groupId]=w)):a[c]=[])}for(var d in e.instances){var f=e.instances[d],p=u[(w=e.defs[f.defId]).defId],h=f.range,v=!w.allDay&&r?computeVisibleDayRange(h,r):h,m=intersectRanges(v,n);m&&("inverse-background"===p.display?w.groupId?o[w.groupId].push(m):a[f.defId].push(m):"none"!==p.display&&("background"===p.display?l:s).push({def:w,ui:p,instance:f,range:m,isStart:v.start&&v.start.valueOf()===m.start.valueOf(),isEnd:v.end&&v.end.valueOf()===m.end.valueOf()}))}for(var g in o)for(var y=0,b=invertRanges(o[g],n);y<b.length;y++){var w,E=b[y];p=u[(w=i[g]).defId];l.push({def:w,ui:p,instance:null,range:E,isStart:!1,isEnd:!1})}for(var c in a)for(var S=0,k=invertRanges(a[c],n);S<k.length;S++){E=k[S];l.push({def:e.defs[c],ui:u[c],instance:null,range:E,isStart:!1,isEnd:!1})}return{bg:l,fg:s}}function hasBgRendering(e){return"background"===e.ui.display||"inverse-background"===e.ui.display}function setElSeg(e,t){e.fcSeg=t}function getElSeg(e){return e.fcSeg||e.parentNode.fcSeg||null}function compileEventUis(e,t){return mapHash(e,(function(e){return compileEventUi(e,t)}))}function compileEventUi(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),combineEventUis(n)}function sortEventSegs(e,t){var n=e.map(buildSegCompareObj);return n.sort((function(e,n){return compareByFieldSpecs(e,n,t)})),n.map((function(e){return e._seg}))}function buildSegCompareObj(e){var t=e.eventRange,n=t.def,r=t.instance?t.instance.range:t.range,o=r.start?r.start.valueOf():0,a=r.end?r.end.valueOf():0;return __assign$1(__assign$1(__assign$1({},n.extendedProps),n),{id:n.publicId,start:o,end:a,duration:a-o,allDay:Number(n.allDay),_seg:e})}function computeSegDraggable(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,o=r.def,a=r.ui,i=a.startEditable,l=0,s=n;l<s.length;l++){i=(0,s[l])(i,o,a,t)}return i}function computeSegStartResizable(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function computeSegEndResizable(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function buildSegTimeText(e,t,n,r,o,a,i){var l=n.dateEnv,s=n.options,u=s.displayEventTime,c=s.displayEventEnd,d=e.eventRange.def,f=e.eventRange.instance;null==u&&(u=!1!==r),null==c&&(c=!1!==o);var p=f.range.start,h=f.range.end,v=a||e.start||e.eventRange.range.start,m=i||e.end||e.eventRange.range.end,g=startOfDay(p).valueOf()===startOfDay(v).valueOf(),y=startOfDay(addMs(h,-1)).valueOf()===startOfDay(addMs(m,-1)).valueOf();return u&&!d.allDay&&(g||y)?(v=g?p:v,m=y?h:m,c&&d.hasEnd?l.formatRange(v,m,t,{forcedStartTzo:a?null:f.forcedStartTzo,forcedEndTzo:i?null:f.forcedEndTzo}):l.format(v,t,{forcedTzo:a?null:f.forcedStartTzo})):""}function getSegMeta(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&rangeContainsMarker(t,r.start)}}function getEventClassNames(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}function buildEventRangeKey(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}function getSegAnchorAttrs(e,t){var n=e.eventRange,r=n.def,o=n.instance,a=r.url;if(a)return{href:a};var i=t.emitter,l=t.options.eventInteractive;return null==l&&null==(l=r.interactive)&&(l=Boolean(i.hasHandlers("eventClick"))),l?createAriaKeyboardAttrs((function(e){i.trigger("eventClick",{el:e.target,event:new EventApi(t,r,o),jsEvent:e,view:t.viewApi})})):{}}var STANDARD_PROPS={start:identity,end:identity,allDay:Boolean};function parseDateSpan(e,t,n){var r=parseOpenDateSpan(e,t),o=r.range;if(!o.start)return null;if(!o.end){if(null==n)return null;o.end=t.add(o.start,n)}return r}function parseOpenDateSpan(e,t){var n=refineProps(e,STANDARD_PROPS),r=n.refined,o=n.extra,a=r.start?t.createMarkerMeta(r.start):null,i=r.end?t.createMarkerMeta(r.end):null,l=r.allDay;return null==l&&(l=a&&a.isTimeUnspecified&&(!i||i.isTimeUnspecified)),__assign$1({range:{start:a?a.marker:null,end:i?i.marker:null},allDay:l},o)}function isDateSpansEqual(e,t){return rangesEqual(e.range,t.range)&&e.allDay===t.allDay&&isSpanPropsEqual(e,t)}function isSpanPropsEqual(e,t){for(var n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(var n in e)if(!(n in t))return!1;return!0}function buildDateSpanApi(e,t){return __assign$1(__assign$1({},buildRangeApi(e.range,t,e.allDay)),{allDay:e.allDay})}function buildRangeApiWithTimeZone(e,t,n){return __assign$1(__assign$1({},buildRangeApi(e,t,n)),{timeZone:t.timeZone})}function buildRangeApi(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function fabricateEventRange(e,t,n){var r=refineEventDef({editable:!1},n),o=parseEventDef(r.refined,r.extra,"",e.allDay,!0,n);return{def:o,ui:compileEventUi(o,t),instance:createEventInstance(o.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}function triggerDateSelect(e,t,n){n.emitter.trigger("select",__assign$1(__assign$1({},buildDateSpanApiWithContext(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function triggerDateUnselect(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}function buildDateSpanApiWithContext(e,t){for(var n={},r=0,o=t.pluginHooks.dateSpanTransforms;r<o.length;r++){var a=o[r];__assign$1(n,a(e,t))}return __assign$1(n,buildDateSpanApi(e,t.dateEnv)),n}function getDefaultEventEnd(e,t,n){var r=n.dateEnv,o=n.options,a=t;return e?(a=startOfDay(a),a=r.add(a,o.defaultAllDayEventDuration)):a=r.add(a,o.defaultTimedEventDuration),a}function applyMutationToEventStore(e,t,n,r){var o=compileEventUis(e.defs,t),a=createEmptyEventStore();for(var i in e.defs){var l=e.defs[i];a.defs[i]=applyMutationToEventDef(l,o[i],n,r)}for(var s in e.instances){var u=e.instances[s];l=a.defs[u.defId];a.instances[s]=applyMutationToEventInstance(u,l,o[u.defId],n,r)}return a}function applyMutationToEventDef(e,t,n,r){var o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);var a=__assign$1(__assign$1(__assign$1({},e),o),{ui:__assign$1(__assign$1({},e.ui),o.ui)});n.extendedProps&&(a.extendedProps=__assign$1(__assign$1({},a.extendedProps),n.extendedProps));for(var i=0,l=r.pluginHooks.eventDefMutationAppliers;i<l.length;i++){(0,l[i])(a,n,r)}return!a.hasEnd&&r.options.forceEventDuration&&(a.hasEnd=!0),a}function applyMutationToEventInstance(e,t,n,r,o){var a=o.dateEnv,i=r.standardProps&&!0===r.standardProps.allDay,l=r.standardProps&&!1===r.standardProps.hasEnd,s=__assign$1({},e);return i&&(s.range=computeAlignedDayRange(s.range)),r.datesDelta&&n.startEditable&&(s.range={start:a.add(s.range.start,r.datesDelta),end:a.add(s.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(s.range={start:a.add(s.range.start,r.startDelta),end:s.range.end}),r.endDelta&&n.durationEditable&&(s.range={start:s.range.start,end:a.add(s.range.end,r.endDelta)}),l&&(s.range={start:s.range.start,end:getDefaultEventEnd(t.allDay,s.range.start,o)}),t.allDay&&(s.range={start:startOfDay(s.range.start),end:startOfDay(s.range.end)}),s.range.end<s.range.start&&(s.range.end=getDefaultEventEnd(t.allDay,s.range.start,o)),s}var ViewApi=function(){function e(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}return Object.defineProperty(e.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),e.prototype.getOption=function(e){return this.getCurrentData().options[e]},e}(),EVENT_SOURCE_REFINERS={id:String,defaultAllDay:Boolean,url:String,format:String,events:identity,eventDataTransform:identity,success:identity,failure:identity};function parseEventSource(e,t,n){var r;if(void 0===n&&(n=buildEventSourceRefiners(t)),"string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){var o=refineProps(r,n),a=o.refined,i=o.extra,l=buildEventSourceMeta(a,t);if(l)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:a.defaultAllDay,eventDataTransform:a.eventDataTransform,success:a.success,failure:a.failure,publicId:a.id||"",sourceId:guid(),sourceDefId:l.sourceDefId,meta:l.meta,ui:createEventUi(a,t),extendedProps:i}}return null}function buildEventSourceRefiners(e){return __assign$1(__assign$1(__assign$1({},EVENT_UI_REFINERS),EVENT_SOURCE_REFINERS),e.pluginHooks.eventSourceRefiners)}function buildEventSourceMeta(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var o=n[r].parseMeta(e);if(o)return{sourceDefId:r,meta:o}}return null}function reduceCurrentDate(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}function getInitialDate(e,t){var n=e.initialDate;return null!=n?t.createMarker(n):getNow(e.now,t)}function getNow(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var CalendarApi=function(){function e(){}return e.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},e.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(e.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];(t=this.currentDataManager.emitter).trigger.apply(t,__spreadArray([e],n))},e.prototype.changeView=function(e,t){var n=this;this.batchRendering((function(){if(n.unselect(),t)if(t.start&&t.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(t)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))},e.prototype.zoomTo=function(e,t){var n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})},e.prototype.getUnitViewSpec=function(e){var t,n,r=this.getCurrentData(),o=r.viewSpecs,a=r.toolbarConfig,i=[].concat(a.header?a.header.viewsWithButtons:[],a.footer?a.footer.viewsWithButtons:[]);for(var l in o)i.push(l);for(t=0;t<i.length;t+=1)if((n=o[i[t]])&&n.singleUnit===e)return n;return null},e.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},e.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},e.prototype.prevYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})},e.prototype.nextYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})},e.prototype.today=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:getNow(e.calendarOptions.now,e.dateEnv)})},e.prototype.gotoDate=function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})},e.prototype.incrementDate=function(e){var t=this.getCurrentData(),n=createDuration(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))},e.prototype.getDate=function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)},e.prototype.formatDate=function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),createFormatter(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),createFormatter(n),n)},e.prototype.formatIso=function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},e.prototype.select=function(e,t){var n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var r=this.getCurrentData(),o=parseDateSpan(n,r.dateEnv,createDuration({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),triggerDateSelect(o,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),triggerDateUnselect(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof EventApi){var n=e._def,r=e._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:eventTupleToStore({def:n,instance:r})}),this.triggerEventAdd(e)),e}var o,a=this.getCurrentData();if(t instanceof EventSourceApi)o=t.internalEventSource;else if("boolean"==typeof t)t&&(o=hashValuesToArray(a.eventSources)[0]);else if(null!=t){var i=this.getEventSourceById(t);if(!i)return console.warn('Could not find an event source with ID "'+t+'"'),null;o=i.internalEventSource}var l=parseEvent(e,o,a,!1);if(l){var s=new EventApi(a,l.def,l.def.recurringDef?null:l.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:eventTupleToStore(l)}),this.triggerEventAdd(s),s}return null},e.prototype.triggerEventAdd=function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:eventApiToStore(e)})}})},e.prototype.getEventById=function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,o=n.instances;for(var a in e=String(e),r){var i=r[a];if(i.publicId===e){if(i.recurringDef)return new EventApi(t,i,null);for(var l in o){var s=o[l];if(s.defId===i.defId)return new EventApi(t,i,s)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return buildEventApis(e.eventStore,e)},e.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},e.prototype.getEventSources=function(){var e=this.getCurrentData(),t=e.eventSources,n=[];for(var r in t)n.push(new EventSourceApi(e,t[r]));return n},e.prototype.getEventSourceById=function(e){var t=this.getCurrentData(),n=t.eventSources;for(var r in e=String(e),n)if(n[r].publicId===e)return new EventSourceApi(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof EventSourceApi)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=parseEventSource(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new EventSourceApi(t,n)):null},e.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},e.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},e.prototype.scrollToTime=function(e){var t=createDuration(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),EventApi=function(){function e(e,t,n){this._context=e,this._def=t,this._instance=n||null}return e.prototype.setProp=function(e,t){var n,r;if(e in EVENT_DATE_REFINERS)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=EVENT_NON_DATE_REFINERS[e](t),this.mutate({standardProps:{publicId:t}});else if(e in EVENT_NON_DATE_REFINERS)t=EVENT_NON_DATE_REFINERS[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in EVENT_UI_REFINERS){var o=EVENT_UI_REFINERS[e](t);"color"===e?o={backgroundColor:t,borderColor:t}:"editable"===e?o={startEditable:t,durationEditable:t}:((r={})[e]=t,o=r),this.mutate({standardProps:{ui:o}})}else console.warn("Could not set prop '"+e+"'. Use setExtendedProp instead.")},e.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:(n={},n[e]=t,n)})},e.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this._context.dateEnv,r=n.createMarker(e);if(r&&this._instance){var o=diffDates(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:o}):this.mutate({startDelta:o})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e)))&&this._instance)if(n){var o=diffDates(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:o})}else this.mutate({standardProps:{hasEnd:!1}})},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var r,o=this._context.dateEnv,a={allDay:n.allDay},i=o.createMarker(e);if(i&&(null==t||(r=o.createMarker(t)))&&this._instance){var l=this._instance.range;!0===n.allDay&&(l=computeAlignedDayRange(l));var s=diffDates(l.start,i,o,n.granularity);if(r){var u=diffDates(l.end,r,o,n.granularity);durationsEqual(s,u)?this.mutate({datesDelta:s,standardProps:a}):this.mutate({startDelta:s,endDelta:u,standardProps:a})}else a.hasEnd=!1,this.mutate({datesDelta:s,standardProps:a})}},e.prototype.moveStart=function(e){var t=createDuration(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=createDuration(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=createDuration(e);t&&this.mutate({datesDelta:t})},e.prototype.setAllDay=function(e,t){void 0===t&&(t={});var n={allDay:e},r=t.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})},e.prototype.formatRange=function(e){var t=this._context.dateEnv,n=this._instance,r=createFormatter(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,o=this._context,a=o.getCurrentData().eventStore,i=getRelevantEvents(a,n.instanceId);i=applyMutationToEventStore(i,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,o);var l=new e(o,r,n);this._def=i.defs[r.defId],this._instance=i.instances[n.instanceId],o.dispatch({type:"MERGE_EVENTS",eventStore:i}),o.emitter.trigger("eventChange",{oldEvent:l,event:this,relatedEvents:buildEventApis(i,o,n),revert:function(){o.dispatch({type:"RESET_EVENTS",eventStore:a})}})}},e.prototype.remove=function(){var e=this._context,t=eventApiToStore(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})},Object.defineProperty(e.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new EventSourceApi(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,r=this.startStr,o=this.endStr,a={};return t.title&&(a.title=t.title),r&&(a.start=r),o&&(a.end=o),t.publicId&&(a.id=t.publicId),t.groupId&&(a.groupId=t.groupId),t.url&&(a.url=t.url),n.display&&"auto"!==n.display&&(a.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?a.color=n.backgroundColor:(n.backgroundColor&&(a.backgroundColor=n.backgroundColor),n.borderColor&&(a.borderColor=n.borderColor)),n.textColor&&(a.textColor=n.textColor),n.classNames.length&&(a.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?__assign$1(a,t.extendedProps):a.extendedProps=t.extendedProps),a},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function eventApiToStore(e){var t,n,r=e._def,o=e._instance;return{defs:(t={},t[r.defId]=r,t),instances:o?(n={},n[o.instanceId]=o,n):{}}}function buildEventApis(e,t,n){var r=e.defs,o=e.instances,a=[],i=n?n.instanceId:"";for(var l in o){var s=o[l],u=r[s.defId];s.instanceId!==i&&a.push(new EventApi(t,u,s))}return a}var calendarSystemClassMap={};function registerCalendarSystem(e,t){calendarSystemClassMap[e]=t}function createCalendarSystem(e){return new calendarSystemClassMap[e]}var GregorianCalendarSystem=function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return arrayToUtcDate(e)},e.prototype.markerToArray=function(e){return dateToUtcArray(e)},e}();registerCalendarSystem("gregory",GregorianCalendarSystem);var ISO_RE=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function parse(e){var t=ISO_RE.exec(e);if(t){var n=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number("0."+t[12]):0));if(isValidDate(n)){var r=null;return t[13]&&(r=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:n,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}var DateEnv=function(){function e(e){var t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=createCalendarSystem(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}return e.prototype.createMarker=function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker},e.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):arrayToUtcDate(dateToLocalArray(new Date))},e.prototype.createMarkerMeta=function(e){if("string"==typeof e)return this.parse(e);var t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=arrayToUtcDate(e)),null!==t&&isValidDate(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=parse(e);if(null===t)return null;var n=t.marker,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}},e.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},e.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},e.prototype.add=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.subtract=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.addYears=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.addMonths=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return timeAsMs(e)===timeAsMs(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},e.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return timeAsMs(e)===timeAsMs(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null},e.prototype.greatestWholeUnit=function(e,t){var n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(e,t))?{unit:"month",value:n}:null!==(n=diffWholeWeeks(e,t))?{unit:"week",value:n}:null!==(n=diffWholeDays(e,t))?{unit:"day",value:n}:isInt(n=diffHours(e,t))?{unit:"hour",value:n}:isInt(n=diffMinutes(e,t))?{unit:"minute",value:n}:isInt(n=diffSeconds(e,t))?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}},e.prototype.countDurationsBetween=function(e,t,n){var r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/asRoughYears(n):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/asRoughMonths(n):n.days&&null!==(r=diffWholeDays(e,t))?r/asRoughDays(n):(t.valueOf()-e.valueOf())/asRoughMs(n)},e.prototype.startOf=function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?startOfDay(e):"hour"===t?startOfHour(e):"minute"===t?startOfMinute(e):"second"===t?startOfSecond(e):null},e.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])},e.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])},e.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])},e.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):weekOfYear(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(t=addMs(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),buildIsoString(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?arrayToUtcDate(dateToLocalArray(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?arrayToUtcDate(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-arrayToLocalDate(dateToUtcArray(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(dateToUtcArray(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?arrayToLocalDate(dateToUtcArray(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(dateToUtcArray(e))*60):new Date(e.valueOf()-(t||0))},e}(),globalLocales=[],MINIMAL_RAW_EN_LOCALE={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},RAW_EN_LOCALE=__assign$1(__assign$1({},MINIMAL_RAW_EN_LOCALE),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(e,t){return"day"===t?"Today":"This "+e}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show "+e+" more event"+(1===e?"":"s")}});function organizeRawLocales(e){for(var t=e.length>0?e[0].code:"en",n=globalLocales.concat(e),r={en:RAW_EN_LOCALE},o=0,a=n;o<a.length;o++){var i=a[o];r[i.code]=i}return{map:r,defaultCode:t}}function buildLocale(e,t){return"object"!=typeof e||Array.isArray(e)?queryLocale(e,t):parseLocale(e.code,[e.code],e)}function queryLocale(e,t){var n=[].concat(e||[]);return parseLocale(e,n,queryRawLocale(n,t)||RAW_EN_LOCALE)}function queryRawLocale(e,t){for(var n=0;n<e.length;n+=1)for(var r=e[n].toLocaleLowerCase().split("-"),o=r.length;o>0;o-=1){var a=r.slice(0,o).join("-");if(t[a])return t[a]}return null}function parseLocale(e,t,n){var r=mergeProps([MINIMAL_RAW_EN_LOCALE,n],["buttonText"]);delete r.code;var o=r.week;return delete r.week,{codeArg:e,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}var DEF_DEFAULTS={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"},canVGrowWithinCell;function parseBusinessHours(e,t){return parseEvents(refineInputs(e),null,t)}function refineInputs(e){return(!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"==typeof e&&e?[e]:[]).map((function(e){return __assign$1(__assign$1({},DEF_DEFAULTS),e)}))}function pointInsideRect(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function intersectRects(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function constrainPoint(e,t){return{left:Math.min(Math.max(e.left,t.left),t.right),top:Math.min(Math.max(e.top,t.top),t.bottom)}}function getRectCenter(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function diffPoints(e,t){return{left:e.left-t.left,top:e.top-t.top}}function getCanVGrowWithinCell(){return null==canVGrowWithinCell&&(canVGrowWithinCell=computeCanVGrowWithinCell()),canVGrowWithinCell}function computeCanVGrowWithinCell(){if("undefined"==typeof document)return!0;var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}var EMPTY_EVENT_STORE=createEmptyEventStore(),Splitter=function(){function e(){this.getKeysForEventDefs=memoize(this._getKeysForEventDefs),this.splitDateSelection=memoize(this._splitDateSpan),this.splitEventStore=memoize(this._splitEventStore),this.splitIndividualUi=memoize(this._splitIndividualUi),this.splitEventDrag=memoize(this._splitInteraction),this.splitEventResize=memoize(this._splitInteraction),this.eventUiBuilders={}}return e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),o=this.splitDateSelection(e.dateSelection),a=this.splitIndividualUi(e.eventUiBases,r),i=this.splitEventStore(e.eventStore,r),l=this.splitEventDrag(e.eventDrag),s=this.splitEventResize(e.eventResize),u={};for(var c in this.eventUiBuilders=mapHash(n,(function(e,n){return t.eventUiBuilders[n]||memoize(buildEventUiForKey)})),n){var d=n[c],f=i[c]||EMPTY_EVENT_STORE,p=this.eventUiBuilders[c];u[c]={businessHours:d.businessHours||e.businessHours,dateSelection:o[c]||null,eventStore:f,eventUiBases:p(e.eventUiBases[""],d.ui,a[c]),eventSelection:f.instances[e.eventSelection]?e.eventSelection:"",eventDrag:l[c]||null,eventResize:s[c]||null}}return u},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,r=this.getKeysForDateSpan(e);n<r.length;n++){t[r[n]]=e}return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return mapHash(e.defs,(function(e){return t.getKeysForEventDef(e)}))},e.prototype._splitEventStore=function(e,t){var n=e.defs,r=e.instances,o={};for(var a in n)for(var i=0,l=t[a];i<l.length;i++){o[f=l[i]]||(o[f]=createEmptyEventStore()),o[f].defs[a]=n[a]}for(var s in r)for(var u=r[s],c=0,d=t[u.defId];c<d.length;c++){var f;o[f=d[c]]&&(o[f].instances[s]=u)}return o},e.prototype._splitIndividualUi=function(e,t){var n={};for(var r in e)if(r)for(var o=0,a=t[r];o<a.length;o++){var i=a[o];n[i]||(n[i]={}),n[i][r]=e[r]}return n},e.prototype._splitInteraction=function(e){var t={};if(e){var n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),o=this._splitEventStore(e.mutatedEvents,r),a=function(r){t[r]||(t[r]={affectedEvents:n[r]||EMPTY_EVENT_STORE,mutatedEvents:o[r]||EMPTY_EVENT_STORE,isEvent:e.isEvent})};for(var i in n)a(i);for(var i in o)a(i)}return t},e}();function buildEventUiForKey(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var o={"":combineEventUis(r)};return n&&__assign$1(o,n),o}function getDateMeta(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!rangeContainsMarker(r.activeRange,e)),isOther:Boolean(r&&!rangeContainsMarker(r.currentRange,e)),isToday:Boolean(t&&rangeContainsMarker(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function getDayClassNames(e,t){var n=["fc-day","fc-day-"+DAY_IDS[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}var DAY_FORMAT=createFormatter({year:"numeric",month:"long",day:"numeric"}),WEEK_FORMAT=createFormatter({week:"long"});function buildNavLinkAttrs(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var o=e.dateEnv,a=e.options,i=e.calendarApi,l=o.format(t,"week"===n?WEEK_FORMAT:DAY_FORMAT);if(a.navLinks){var s=o.toDate(t),u=function(e){var r="day"===n?a.navLinkDayClick:"week"===n?a.navLinkWeekClick:null;"function"==typeof r?r.call(i,o.toDate(t),e):("string"==typeof r&&(n=r),i.zoomTo(t,n))};return __assign$1({title:formatWithOrdinals(a.navLinkHint,[l,s],l),"data-navlink":""},r?createAriaClickAttrs(u):{onClick:u})}return{"aria-label":l}}var _isRtlScrollbarOnLeft=null,_scrollbarWidths;function getIsRtlScrollbarOnLeft(){return null===_isRtlScrollbarOnLeft&&(_isRtlScrollbarOnLeft=computeIsRtlScrollbarOnLeft()),_isRtlScrollbarOnLeft}function computeIsRtlScrollbarOnLeft(){var e=document.createElement("div");applyStyle(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return removeElement(e),t}function getScrollbarWidths(){return _scrollbarWidths||(_scrollbarWidths=computeScrollbarWidths()),_scrollbarWidths}function computeScrollbarWidths(){var e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);var t=computeScrollbarWidthsForEl(e);return document.body.removeChild(e),t}function computeScrollbarWidthsForEl(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function computeEdges(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,o=parseInt(n.borderRightWidth,10)||0,a=parseInt(n.borderTopWidth,10)||0,i=parseInt(n.borderBottomWidth,10)||0,l=computeScrollbarWidthsForEl(e),s=l.y-r-o,u={borderLeft:r,borderRight:o,borderTop:a,borderBottom:i,scrollbarBottom:l.x-a-i,scrollbarLeft:0,scrollbarRight:0};return getIsRtlScrollbarOnLeft()&&"rtl"===n.direction?u.scrollbarLeft=s:u.scrollbarRight=s,t&&(u.paddingLeft=parseInt(n.paddingLeft,10)||0,u.paddingRight=parseInt(n.paddingRight,10)||0,u.paddingTop=parseInt(n.paddingTop,10)||0,u.paddingBottom=parseInt(n.paddingBottom,10)||0),u}function computeInnerRect(e,t,n){void 0===t&&(t=!1);var r=n?e.getBoundingClientRect():computeRect(e),o=computeEdges(e,t),a={left:r.left+o.borderLeft+o.scrollbarLeft,right:r.right-o.borderRight-o.scrollbarRight,top:r.top+o.borderTop,bottom:r.bottom-o.borderBottom-o.scrollbarBottom};return t&&(a.left+=o.paddingLeft,a.right-=o.paddingRight,a.top+=o.paddingTop,a.bottom-=o.paddingBottom),a}function computeRect(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function computeClippedClientRect(e){for(var t=getClippingParents(e),n=e.getBoundingClientRect(),r=0,o=t;r<o.length;r++){var a=intersectRects(n,o[r].getBoundingClientRect());if(!a)return null;n=a}return n}function getClippingParents(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}function unpromisify(e,t,n){var r=!1,o=function(){r||(r=!0,t.apply(this,arguments))},a=function(){r||(r=!0,n&&n.apply(this,arguments))},i=e(o,a);i&&"function"==typeof i.then&&i.then(o,a)}var Emitter=function(){function e(){this.handlers={},this.thisContext=null}return e.prototype.setThisContext=function(e){this.thisContext=e},e.prototype.setOptions=function(e){this.options=e},e.prototype.on=function(e,t){addToHash(this.handlers,e,t)},e.prototype.off=function(e,t){removeFromHash(this.handlers,e,t)},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=this.handlers[e]||[],o=this.options&&this.options[e],a=[].concat(o||[],r),i=0,l=a;i<l.length;i++){var s=l[i];s.apply(this.thisContext,t)}},e.prototype.hasHandlers=function(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])},e}();function addToHash(e,t,n){(e[t]||(e[t]=[])).push(n)}function removeFromHash(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}var PositionCache=function(){function e(e,t,n,r){this.els=t;var o=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(o.left),r&&this.buildElVerticals(o.top)}return e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var a=o[r].getBoundingClientRect();t.push(a.left-e),n.push(a.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,o=this.els;r<o.length;r++){var a=o[r].getBoundingClientRect();t.push(a.top-e),n.push(a.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},e.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]},e}(),ScrollController=function(){function e(){}return e.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},e.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},e.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},e.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},e.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},e}(),ElementScrollController=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return __extends(t,e),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(e){this.el.scrollTop=e},t.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth},t}(ScrollController),WindowScrollController=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},t.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth},t}(ScrollController),Theme=function(){function e(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}return e.prototype.setIconOverride=function(e){var t,n;if("object"==typeof e&&e){for(n in t=__assign$1({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},e.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e},e.prototype.getClass=function(e){return this.classes[e]||""},e.prototype.getIconClass=function(e,t){var n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}();Theme.prototype.classes={},Theme.prototype.iconClasses={},Theme.prototype.baseIconClass="",Theme.prototype.iconOverridePrefix="";var ScrollResponder=function(){function e(e,t,n,r){var o=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=function(e){o.queuedRequest=__assign$1({},o.queuedRequest||{},e),o.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return e.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},e.prototype.update=function(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},e.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},e.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},e}(),ViewContextType=createContext({});function buildViewContext(e,t,n,r,o,a,i,l,s,u,c,d,f){return{dateEnv:o,options:n,pluginHooks:i,emitter:u,dispatch:l,getCurrentData:s,calendarApi:c,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:a,isRtl:"rtl"===n.direction,addResizeHandler:function(e){u.on("_resize",e)},removeResizeHandler:function(e){u.off("_resize",e)},createScrollResponder:function(e){return new ScrollResponder(e,u,createDuration(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:f}}var PureComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(getUnequalProps(e,this.props),getUnequalProps(t,this.state)),!compareObjs(this.props,e,this.propEquality)||!compareObjs(this.state,t,this.stateEquality)},t.prototype.safeSetState=function(e){compareObjs(this.state,__assign$1(__assign$1({},this.state),e),this.stateEquality)||this.setState(e)},t.addPropsEquality=addPropsEquality,t.addStateEquality=addStateEquality,t.contextType=ViewContextType,t}(Component);PureComponent.prototype.propEquality={},PureComponent.prototype.stateEquality={};var BaseComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.contextType=ViewContextType,t}(PureComponent);function addPropsEquality(e){var t=Object.create(this.prototype.propEquality);__assign$1(t,e),this.prototype.propEquality=t}function addStateEquality(e){var t=Object.create(this.prototype.stateEquality);__assign$1(t,e),this.prototype.stateEquality=t}function setRef(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var DateComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=guid(),t}return __extends(t,e),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(e,t,n,r){return null},t.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!elementClosest(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!(elementClosest(e,".fc-event:not(.fc-bg-event)")||elementClosest(e,".fc-more-link")||elementClosest(e,"a[data-navlink]")||elementClosest(e,".fc-popover"))},t}(BaseComponent);function createPlugin(e){return{id:guid(),deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,contentTypeHandlers:e.contentTypeHandlers||{},listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function buildPluginHooks(e,t){var n={},r={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function o(e){for(var t=0,a=e;t<a.length;t++){var i=a[t];n[i.id]||(n[i.id]=!0,o(i.deps),r=combineHooks(r,i))}}return e&&o(e),o(t),r}function buildBuildPluginHooks(){var e,t=[],n=[];return function(r,o){return e&&isArraysEqual(r,t)&&isArraysEqual(o,n)||(e=buildPluginHooks(r,o)),t=r,n=o,e}}function combineHooks(e,t){return{reducers:e.reducers.concat(t.reducers),isLoadingFuncs:e.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:e.contextInit.concat(t.contextInit),eventRefiners:__assign$1(__assign$1({},e.eventRefiners),t.eventRefiners),eventDefMemberAdders:e.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:__assign$1(__assign$1({},e.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:e.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:e.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:e.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:e.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:e.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:e.dateSpanTransforms.concat(t.dateSpanTransforms),views:__assign$1(__assign$1({},e.views),t.views),viewPropsTransformers:e.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||e.isPropsValid,externalDefTransforms:e.externalDefTransforms.concat(t.externalDefTransforms),viewContainerAppends:e.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:e.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:e.calendarInteractions.concat(t.calendarInteractions),componentInteractions:e.componentInteractions.concat(t.componentInteractions),themeClasses:__assign$1(__assign$1({},e.themeClasses),t.themeClasses),eventSourceDefs:e.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||e.cmdFormatter,recurringTypes:e.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||e.namedTimeZonedImpl,initialView:e.initialView||t.initialView,elementDraggingImpl:e.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:__assign$1(__assign$1({},e.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||e.scrollGridImpl,contentTypeHandlers:__assign$1(__assign$1({},e.contentTypeHandlers),t.contentTypeHandlers),listenerRefiners:__assign$1(__assign$1({},e.listenerRefiners),t.listenerRefiners),optionRefiners:__assign$1(__assign$1({},e.optionRefiners),t.optionRefiners),propSetHandlers:__assign$1(__assign$1({},e.propSetHandlers),t.propSetHandlers)}}var StandardTheme=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(Theme);function compileViewDefs(e,t){var n,r={};for(n in e)ensureViewDef(n,r,e,t);for(n in t)ensureViewDef(n,r,e,t);return r}function ensureViewDef(e,t,n,r){if(t[e])return t[e];var o=buildViewDef(e,t,n,r);return o&&(t[e]=o),o}function buildViewDef(e,t,n,r){var o=n[e],a=r[e],i=function(e){return o&&null!==o[e]?o[e]:a&&null!==a[e]?a[e]:null},l=i("component"),s=i("superType"),u=null;if(s){if(s===e)throw new Error("Can't have a custom view type that references itself");u=ensureViewDef(s,t,n,r)}return!l&&u&&(l=u.component),l?{type:e,component:l,defaults:__assign$1(__assign$1({},u?u.defaults:{}),o?o.rawOptions:{}),overrides:__assign$1(__assign$1({},u?u.overrides:{}),a?a.rawOptions:{})}:null}StandardTheme.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},StandardTheme.prototype.baseIconClass="fc-icon",StandardTheme.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},StandardTheme.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},StandardTheme.prototype.iconOverrideOption="buttonIcons",StandardTheme.prototype.iconOverrideCustomButtonOption="icon",StandardTheme.prototype.iconOverridePrefix="fc-icon-";var RenderHook=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=createRef(),t.handleRootEl=function(e){setRef(t.rootElRef,e),t.props.elRef&&setRef(t.props.elRef,e)},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return createElement(MountHook,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},(function(r){return createElement(ContentHook,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},(function(e,o){return t.children(r,normalizeClassNames(t.classNames,n),e,o)}))}))},t}(BaseComponent),CustomContentRenderContext=createContext(0);function ContentHook(e){return createElement(CustomContentRenderContext.Consumer,null,(function(t){return createElement(ContentHookInner,__assign$1({renderId:t},e))}))}var ContentHookInner=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},t.prototype.componentDidMount=function(){this.updateCustomContent()},t.prototype.componentDidUpdate=function(){this.updateCustomContent()},t.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},t.prototype.renderInnerContent=function(){var e=this.customContentInfo,t=this.getInnerContent(),n=this.getContentMeta(t);return e&&e.contentKey===n.contentKey?e&&(e.contentVal=t[n.contentKey]):(e&&(e.destroy&&e.destroy(),e=this.customContentInfo=null),n.contentKey&&(e=this.customContentInfo=__assign$1({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=normalizeContent(e.content,e.hookProps);return void 0===t&&(t=normalizeContent(e.defaultContent,e.hookProps)),null==t?null:t},t.prototype.getContentMeta=function(e){var t=this.context.pluginHooks.contentTypeHandlers,n="",r=null;if(e)for(var o in t)if(void 0!==e[o]){n=o,r=t[o];break}return{contentKey:n,buildLifecycleFuncs:r}},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t}(BaseComponent),MountHook=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&setRef(t.props.elRef,e)},t}return __extends(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e(__assign$1(__assign$1({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e(__assign$1(__assign$1({},this.props.hookProps),{el:this.rootEl}))},t}(BaseComponent);function buildClassNameNormalizer(){var e,t,n=[];return function(r,o){return t&&isPropsEqual(t,o)&&r===e||(e=r,t=o,n=normalizeClassNames(r,o)),n}}function normalizeClassNames(e,t){return"function"==typeof e&&(e=e(t)),parseClassNames(e)}function normalizeContent(e,t){return"function"==typeof e?e(t,createElement):e}var ViewRoot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=buildClassNameNormalizer(),t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi},o=this.normalizeClassNames(n.viewClassNames,r);return createElement(MountHook,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:e.elRef},(function(t){return e.children(t,["fc-"+e.viewSpec.type+"-view","fc-view"].concat(o))}))},t}(BaseComponent);function parseViewConfigs(e){return mapHash(e,parseViewConfig)}function parseViewConfig(e){var t="function"==typeof e?{component:e}:e,n=t.component;return t.content&&(n=createViewHookComponent(t)),{superType:t.type,component:n,rawOptions:t}}function createViewHookComponent(e){return function(t){return createElement(ViewContextType.Consumer,null,(function(n){return createElement(ViewRoot,{viewSpec:n.viewSpec},(function(r,o){var a=__assign$1(__assign$1({},t),{nextDayThreshold:n.options.nextDayThreshold});return createElement(RenderHook,{hookProps:a,classNames:e.classNames,content:e.content,didMount:e.didMount,willUnmount:e.willUnmount,elRef:r},(function(e,t,n,r){return createElement("div",{className:o.concat(t).join(" "),ref:e},r)}))}))}))}}function buildViewSpecs(e,t,n,r){var o=parseViewConfigs(e),a=parseViewConfigs(t.views);return mapHash(compileViewDefs(o,a),(function(e){return buildViewSpec(e,a,t,n,r)}))}function buildViewSpec(e,t,n,r,o){var a=e.overrides.duration||e.defaults.duration||r.duration||n.duration,i=null,l="",s="",u={};if(a&&(i=createDurationCached(a))){var c=greatestDurationDenominator(i);l=c.unit,1===c.value&&(s=l,u=t[l]?t[l].rawOptions:{})}var d=function(t){var n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[s]?n[s]:null},f=function(t){var n=t.buttonHints||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[s]?n[s]:null};return{type:e.type,component:e.component,duration:i,durationUnit:l,singleUnit:s,optionDefaults:e.defaults,optionOverrides:__assign$1(__assign$1({},u),e.overrides),buttonTextOverride:d(r)||d(n)||e.overrides.buttonText,buttonTextDefault:d(o)||e.defaults.buttonText||d(BASE_OPTION_DEFAULTS)||e.type,buttonTitleOverride:f(r)||f(n)||e.overrides.buttonHint,buttonTitleDefault:f(o)||e.defaults.buttonHint||f(BASE_OPTION_DEFAULTS)}}var durationInputMap={};function createDurationCached(e){var t=JSON.stringify(e),n=durationInputMap[t];return void 0===n&&(n=createDuration(e),durationInputMap[t]=n),n}var DateProfileGenerator=function(){function e(e){this.props=e,this.nowDate=getNow(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,o=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,o=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,o,a,i,l,s,u=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(e=constrainMarkerToRange(e,r)),o=this.buildCurrentRangeInfo(e,t),a=/^(year|month|week|day)$/.test(o.unit),i=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,a),l=i=this.trimHiddenDays(i),u.showNonCurrentDates||(l=intersectRanges(l,o.range)),l=intersectRanges(l=this.adjustActiveRange(l),r),s=rangesIntersect(o.range,r),{validRange:r,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:a,activeRange:l,renderRange:i,slotMinTime:u.slotMinTime,slotMaxTime:u.slotMaxTime,isValid:s,dateIncrement:this.buildDateIncrement(o.duration)}},e.prototype.buildValidRange=function(){var e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.props,o=null,a=null,i=null;return r.duration?(o=r.duration,a=r.durationUnit,i=this.buildRangeFromDuration(e,t,o,a)):(n=this.props.dayCount)?(a="day",i=this.buildRangeFromDayCount(e,t,n)):(i=this.buildCustomVisibleRange(e))?a=r.dateEnv.greatestWholeUnit(i.start,i.end).unit:(a=greatestDurationDenominator(o=this.getFallbackDuration()).unit,i=this.buildRangeFromDuration(e,t,o,a)),{duration:o,unit:a,range:i}},e.prototype.getFallbackDuration=function(){return createDuration({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,o=t.slotMinTime,a=t.slotMaxTime,i=e.start,l=e.end;return r&&(asRoughDays(o)<0&&(i=startOfDay(i),i=n.add(i,o)),asRoughDays(a)>1&&(l=addDays(l=startOfDay(l),-1),l=n.add(l,a))),{start:i,end:l}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var o,a,i,l=this.props,s=l.dateEnv,u=l.dateAlignment;if(!u){var c=this.props.dateIncrement;u=c&&asRoughMs(c)<asRoughMs(n)?greatestDurationDenominator(c).unit:r}function d(){o=s.startOf(e,u),a=s.add(o,n),i={start:o,end:a}}return asRoughDays(n)<=1&&this.isHiddenDay(o)&&(o=startOfDay(o=this.skipHiddenDays(o,t))),d(),this.trimHiddenDays(i)||(e=this.skipHiddenDays(e,t),d()),i},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,o=this.props,a=o.dateEnv,i=o.dateAlignment,l=0,s=e;i&&(s=a.startOf(s,i)),s=startOfDay(s),r=s=this.skipHiddenDays(s,t);do{r=addDays(r,1),this.isHiddenDay(r)||(l+=1)}while(l<n);return{start:s,end:r}},e.prototype.buildCustomVisibleRange=function(e){var t=this.props,n=t.visibleRangeInput,r="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,o=this.refineRange(r);return!o||null!=o.start&&null!=o.end?o:null},e.prototype.buildRenderRange=function(e,t,n){return e},e.prototype.buildDateIncrement=function(e){var t,n=this.props.dateIncrement;return n||((t=this.props.dateAlignment)?createDuration(1,t):e||createDuration({days:1}))},e.prototype.refineRange=function(e){if(e){var t=parseRange(e,this.props.dateEnv);return t&&(t=computeVisibleDayRange(t)),t}return null},e.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(e){var t=e.start,n=e.end;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null},e.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},e.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=addDays(e,t);return e},e}();function reduceViewType(e,t){if("CHANGE_VIEW_TYPE"===t.type)e=t.viewType;return e}function reduceDynamicOptionOverrides(e,t){var n;return"SET_OPTION"===t.type?__assign$1(__assign$1({},e),((n={})[t.optionName]=t.rawOptionValue,n)):e}function reduceDateProfile(e,t,n,r){var o;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if((o=r.buildPrev(e,n)).isValid)return o;break;case"NEXT":if((o=r.buildNext(e,n)).isValid)return o}return e}function initEventSources(e,t,n){var r=t?t.activeRange:null;return addSources({},parseInitialSources(e,n),r,n)}function reduceEventSources(e,t,n,r){var o=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return addSources(e,t.sources,o,r);case"REMOVE_EVENT_SOURCE":return removeSource(e,t.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?fetchDirtySources(e,o,r):e;case"FETCH_EVENT_SOURCES":return fetchSourcesByIds(e,t.sourceIds?arrayToHash(t.sourceIds):excludeStaticSources(e,r),o,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return receiveResponse(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function reduceEventSourcesNewTimeZone(e,t,n){var r=t?t.activeRange:null;return fetchSourcesByIds(e,excludeStaticSources(e,n),r,!0,n)}function computeEventSourcesLoading(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function addSources(e,t,n,r){for(var o={},a=0,i=t;a<i.length;a++){var l=i[a];o[l.sourceId]=l}return n&&(o=fetchDirtySources(o,n,r)),__assign$1(__assign$1({},e),o)}function removeSource(e,t){return filterHash(e,(function(e){return e.sourceId!==t}))}function fetchDirtySources(e,t,n){return fetchSourcesByIds(e,filterHash(e,(function(e){return isSourceDirty(e,t,n)})),t,!1,n)}function isSourceDirty(e,t,n){return doesSourceNeedRange(e,n)?!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end:!e.latestFetchId}function fetchSourcesByIds(e,t,n,r,o){var a={};for(var i in e){var l=e[i];t[i]?a[i]=fetchSource(l,n,r,o):a[i]=l}return a}function fetchSource(e,t,n,r){var o=r.options,a=r.calendarApi,i=r.pluginHooks.eventSourceDefs[e.sourceDefId],l=guid();return i.fetch({eventSource:e,range:t,isRefetch:n,context:r},(function(n){var i=n.rawEvents;o.eventSourceSuccess&&(i=o.eventSourceSuccess.call(a,i,n.xhr)||i),e.success&&(i=e.success.call(a,i,n.xhr)||i),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:l,fetchRange:t,rawEvents:i})}),(function(n){console.warn(n.message,n),o.eventSourceFailure&&o.eventSourceFailure.call(a,n),e.failure&&e.failure(n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:l,fetchRange:t,error:n})})),__assign$1(__assign$1({},e),{isFetching:!0,latestFetchId:l})}function receiveResponse(e,t,n,r){var o,a=e[t];return a&&n===a.latestFetchId?__assign$1(__assign$1({},e),((o={})[t]=__assign$1(__assign$1({},a),{isFetching:!1,fetchRange:r}),o)):e}function excludeStaticSources(e,t){return filterHash(e,(function(e){return doesSourceNeedRange(e,t)}))}function parseInitialSources(e,t){var n=buildEventSourceRefiners(t),r=[].concat(e.eventSources||[]),o=[];e.initialEvents&&r.unshift(e.initialEvents),e.events&&r.unshift(e.events);for(var a=0,i=r;a<i.length;a++){var l=parseEventSource(i[a],t,n);l&&o.push(l)}return o}function doesSourceNeedRange(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function reduceEventStore(e,t,n,r,o){switch(t.type){case"RECEIVE_EVENTS":return receiveRawEvents(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"ADD_EVENTS":return addEvent(e,t.eventStore,r?r.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return mergeEventStores(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?expandRecurring(e,r.activeRange,o):e;case"REMOVE_EVENTS":return excludeSubEventStore(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return excludeEventsBySourceId(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return filterEventStoreDefs(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return createEmptyEventStore();default:return e}}function receiveRawEvents(e,t,n,r,o,a){if(t&&n===t.latestFetchId){var i=parseEvents(transformRawEvents(o,t,a),t,a);return r&&(i=expandRecurring(i,r,a)),mergeEventStores(excludeEventsBySourceId(e,t.sourceId),i)}return e}function transformRawEvents(e,t,n){var r=n.options.eventDataTransform,o=t?t.eventDataTransform:null;return o&&(e=transformEachRawEvent(e,o)),r&&(e=transformEachRawEvent(e,r)),e}function transformEachRawEvent(e,t){var n;if(t){n=[];for(var r=0,o=e;r<o.length;r++){var a=o[r],i=t(a);i?n.push(i):null==i&&n.push(a)}}else n=e;return n}function addEvent(e,t,n,r){return n&&(t=expandRecurring(t,n,r)),mergeEventStores(e,t)}function rezoneEventStoreDates(e,t,n){var r=e.defs,o=mapHash(e.instances,(function(e){var o=r[e.defId];return o.allDay||o.recurringDef?e:__assign$1(__assign$1({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})}));return{defs:r,instances:o}}function excludeEventsBySourceId(e,t){return filterEventStoreDefs(e,(function(e){return e.sourceId!==t}))}function excludeInstances(e,t){return{defs:e.defs,instances:filterHash(e.instances,(function(e){return!t[e.instanceId]}))}}function reduceDateSelection(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function reduceSelectedEvent(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function reduceEventDrag(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function reduceEventResize(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function parseToolbars(e,t,n,r,o){return{header:e.headerToolbar?parseToolbar(e.headerToolbar,e,t,n,r,o):null,footer:e.footerToolbar?parseToolbar(e.footerToolbar,e,t,n,r,o):null}}function parseToolbar(e,t,n,r,o,a){var i={},l=[],s=!1;for(var u in e){var c=parseSection(e[u],t,n,r,o,a);i[u]=c.widgets,l.push.apply(l,c.viewsWithButtons),s=s||c.hasTitle}return{sectionWidgets:i,viewsWithButtons:l,hasTitle:s}}function parseSection(e,t,n,r,o,a){var i="rtl"===t.direction,l=t.customButtons||{},s=n.buttonText||{},u=t.buttonText||{},c=n.buttonHints||{},d=t.buttonHints||{},f=e?e.split(" "):[],p=[],h=!1;return{widgets:f.map((function(e){return e.split(",").map((function(e){if("title"===e)return h=!0,{buttonName:e};var n,f,v,m,g,y;if(n=l[e])v=function(e){n.click&&n.click.call(e.target,e,e.target)},(m=r.getCustomButtonIconClass(n))||(m=r.getIconClass(e,i))||(g=n.text),y=n.hint||n.text;else if(f=o[e]){p.push(e),v=function(){a.changeView(e)},(g=f.buttonTextOverride)||(m=r.getIconClass(e,i))||(g=f.buttonTextDefault);var b=f.buttonTextOverride||f.buttonTextDefault;y=formatWithOrdinals(f.buttonTitleOverride||f.buttonTitleDefault||t.viewHint,[b,e],b)}else if(a[e])if(v=function(){a[e]()},(g=s[e])||(m=r.getIconClass(e,i))||(g=u[e]),"prevYear"===e||"nextYear"===e){var w="prevYear"===e?"prev":"next";y=formatWithOrdinals(c[w]||d[w],[u.year||"year","year"],u[e])}else y=function(t){return formatWithOrdinals(c[e]||d[e],[u[t]||t,t],u[e])};return{buttonName:e,buttonClick:v,buttonIcon:m,buttonText:g,buttonHint:y}}))})),viewsWithButtons:p,hasTitle:h}}var eventSourceDef$2={ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}},arrayEventSourcePlugin=createPlugin({eventSourceDefs:[eventSourceDef$2]}),eventSourceDef$1={parseMeta:function(e){return"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv;unpromisify(e.eventSource.meta.bind(null,buildRangeApiWithTimeZone(e.range,r)),(function(e){t({rawEvents:e})}),n)}},funcEventSourcePlugin=createPlugin({eventSourceDefs:[eventSourceDef$1]});function requestJson(e,t,n,r,o){var a=null;"GET"===(e=e.toUpperCase())?t=injectQueryStringParams(t,n):a=encodeParams(n);var i=new XMLHttpRequest;i.open(e,t,!0),"GET"!==e&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.onload=function(){if(i.status>=200&&i.status<400){var e=!1,t=void 0;try{t=JSON.parse(i.responseText),e=!0}catch(e){}e?r(t,i):o("Failure parsing JSON",i)}else o("Request failed",i)},i.onerror=function(){o("Request failed",i)},i.send(a)}function injectQueryStringParams(e,t){return e+(-1===e.indexOf("?")?"?":"&")+encodeParams(t)}function encodeParams(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}var JSON_FEED_EVENT_SOURCE_REFINERS={method:String,extraParams:identity,startParam:String,endParam:String,timeZoneParam:String},eventSourceDef={parseMeta:function(e){return!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}},fetch:function(e,t,n){var r=e.eventSource.meta,o=buildRequestParams(r,e.range,e.context);requestJson(r.method,r.url,o,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}},jsonFeedEventSourcePlugin=createPlugin({eventSourceRefiners:JSON_FEED_EVENT_SOURCE_REFINERS,eventSourceDefs:[eventSourceDef]});function buildRequestParams(e,t,n){var r,o,a,i,l=n.dateEnv,s=n.options,u={};return null==(r=e.startParam)&&(r=s.startParam),null==(o=e.endParam)&&(o=s.endParam),null==(a=e.timeZoneParam)&&(a=s.timeZoneParam),i="function"==typeof e.extraParams?e.extraParams():e.extraParams||{},__assign$1(u,i),u[r]=l.formatIso(t.start),u[o]=l.formatIso(t.end),"local"!==l.timeZone&&(u[a]=l.timeZone),u}var SIMPLE_RECURRING_REFINERS={daysOfWeek:identity,startTime:createDuration,endTime:createDuration,duration:createDuration,startRecur:identity,endRecur:identity},recurring={parse:function(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null},r=void 0;return e.duration&&(r=e.duration),!r&&e.startTime&&e.endTime&&(r=subtractDurations(e.endTime,e.startTime)),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}return null},expand:function(e,t,n){var r=intersectRanges(t,{start:e.startRecur,end:e.endRecur});return r?expandRanges(e.daysOfWeek,e.startTime,r,n):[]}},simpleRecurringEventsPlugin=createPlugin({recurringTypes:[recurring],eventRefiners:SIMPLE_RECURRING_REFINERS});function expandRanges(e,t,n,r){for(var o=e?arrayToHash(e):null,a=startOfDay(n.start),i=n.end,l=[];a<i;){var s=void 0;o&&!o[a.getUTCDay()]||(s=t?r.add(a,t):a,l.push(s)),a=addDays(a,1)}return l}var changeHandlerPlugin=createPlugin({optionChangeHandlers:{events:function(e,t){handleEventSources([e],t)},eventSources:handleEventSources}});function handleEventSources(e,t){for(var n=hashValuesToArray(t.getCurrentData().eventSources),r=[],o=0,a=e;o<a.length;o++){for(var i=a[o],l=!1,s=0;s<n.length;s+=1)if(n[s]._raw===i){n.splice(s,1),l=!0;break}l||r.push(i)}for(var u=0,c=n;u<c.length;u++){var d=c[u];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var f=0,p=r;f<p.length;f++){var h=p[f];t.calendarApi.addEventSource(h)}}function handleDateProfile(e,t){t.emitter.trigger("datesSet",__assign$1(__assign$1({},buildRangeApiWithTimeZone(e.activeRange,t.dateEnv)),{view:t.viewApi}))}function handleEventStore(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",buildEventApis(e,t))}var globalPlugins=[arrayEventSourcePlugin,funcEventSourcePlugin,jsonFeedEventSourcePlugin,simpleRecurringEventsPlugin,changeHandlerPlugin,createPlugin({isLoadingFuncs:[function(e){return computeEventSourcesLoading(e.eventSources)}],contentTypeHandlers:{html:buildHtmlRenderer,domNodes:buildDomNodeRenderer},propSetHandlers:{dateProfile:handleDateProfile,eventStore:handleEventStore}})];function buildHtmlRenderer(){var e=null,t="";return{render:function(n,r){n===e&&r===t||(n.innerHTML=r),e=n,t=r},destroy:function(){e.innerHTML="",e=null,t=""}}}function buildDomNodeRenderer(){var e=null,t=[];function n(){t.forEach(removeElement),t=[],e=null}return{render:function(r,o){var a=Array.prototype.slice.call(o);if(r!==e||!isArraysEqual(t,a)){for(var i=0,l=a;i<l.length;i++){var s=l[i];r.appendChild(s)}n()}e=r,t=a},destroy:n}}var DelayedRunner=function(){function e(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return e.prototype.request=function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))},e.prototype.pause=function(e){void 0===e&&(e="");var t=this.pauseDepths;t[e]=(t[e]||0)+1,this.clearTimeout()},e.prototype.resume=function(e,t){void 0===e&&(e="");var n=this.pauseDepths;if(e in n){if(t)delete n[e];else n[e]-=1,n[e]<=0&&delete n[e];this.tryDrain()}},e.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},e.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},e.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},e.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},e.prototype.drained=function(){this.drainedOption&&this.drainedOption()},e}(),TaskRunner=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new DelayedRunner(this.drain.bind(this))}return e.prototype.request=function(e,t){this.queue.push(e),this.delayedRunner.request(t)},e.prototype.pause=function(e){this.delayedRunner.pause(e)},e.prototype.resume=function(e,t){this.delayedRunner.resume(e,t)},e.prototype.drain=function(){for(var e=this.queue;e.length;){for(var t=[],n=void 0;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}},e.prototype.runTask=function(e){this.runTaskOption&&this.runTaskOption(e)},e.prototype.drained=function(e){this.drainedOption&&this.drainedOption(e)},e}();function buildTitle(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,createFormatter(t.titleFormat||buildTitleFormat(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}function buildTitleFormat(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=diffWholeDays(e.currentRange.start,e.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}var CalendarDataManager=function(){function e(e){var t=this;this.computeOptionsData=memoize(this._computeOptionsData),this.computeCurrentViewData=memoize(this._computeCurrentViewData),this.organizeRawLocales=memoize(organizeRawLocales),this.buildLocale=memoize(buildLocale),this.buildPluginHooks=buildBuildPluginHooks(),this.buildDateEnv=memoize(buildDateEnv),this.buildTheme=memoize(buildTheme),this.parseToolbars=memoize(parseToolbars),this.buildViewSpecs=memoize(buildViewSpecs),this.buildDateProfileGenerator=memoizeObjArg(buildDateProfileGenerator),this.buildViewApi=memoize(buildViewApi),this.buildViewUiProps=memoizeObjArg(buildViewUiProps),this.buildEventUiBySource=memoize(buildEventUiBySource,isPropsEqual),this.buildEventUiBases=memoize(buildEventUiBases),this.parseContextBusinessHours=memoizeObjArg(parseContextBusinessHours),this.buildTitle=memoize(buildTitle),this.emitter=new Emitter,this.actionRunner=new TaskRunner(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return t.data},this.dispatch=function(e){t.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var n={},r=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),o=r.calendarOptions.initialView||r.pluginHooks.initialView,a=this.computeCurrentViewData(o,r,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(a.options);var i=getInitialDate(r.calendarOptions,r.dateEnv),l=a.dateProfileGenerator.build(i);rangeContainsMarker(l.activeRange,i)||(i=l.currentRange.start);for(var s={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},u=0,c=r.pluginHooks.contextInit;u<c.length;u++){(0,c[u])(s)}for(var d=initEventSources(r.calendarOptions,l,s),f={dynamicOptionOverrides:n,currentViewType:o,currentDate:i,dateProfile:l,businessHours:this.parseContextBusinessHours(s),eventSources:d,eventUiBases:{},eventStore:createEmptyEventStore(),renderableEventStore:createEmptyEventStore(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(s).selectionConfig},p=__assign$1(__assign$1({},s),f),h=0,v=r.pluginHooks.reducers;h<v.length;h++){var m=v[h];__assign$1(f,m(null,null,p))}computeIsLoading(f,s)&&this.emitter.trigger("loading",!0),this.state=f,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?__assign$1(__assign$1({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t=this,n=t.props,r=t.state,o=t.emitter,a=reduceDynamicOptionOverrides(r.dynamicOptionOverrides,e),i=this.computeOptionsData(n.optionOverrides,a,n.calendarApi),l=reduceViewType(r.currentViewType,e),s=this.computeCurrentViewData(l,i,n.optionOverrides,a);n.calendarApi.currentDataManager=this,o.setThisContext(n.calendarApi),o.setOptions(s.options);var u={dateEnv:i.dateEnv,options:i.calendarOptions,pluginHooks:i.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:o,getCurrentData:this.getCurrentData},c=r.currentDate,d=r.dateProfile;this.data&&this.data.dateProfileGenerator!==s.dateProfileGenerator&&(d=s.dateProfileGenerator.build(c)),d=reduceDateProfile(d,e,c=reduceCurrentDate(c,e),s.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&rangeContainsMarker(d.currentRange,c)||(c=d.currentRange.start);for(var f=reduceEventSources(r.eventSources,e,d,u),p=reduceEventStore(r.eventStore,e,f,d,u),h=computeEventSourcesLoading(f)&&!s.options.progressiveEventRendering&&r.renderableEventStore||p,v=this.buildViewUiProps(u),m=v.eventUiSingleBase,g=v.selectionConfig,y=this.buildEventUiBySource(f),b={dynamicOptionOverrides:a,currentViewType:l,currentDate:c,dateProfile:d,eventSources:f,eventStore:p,renderableEventStore:h,selectionConfig:g,eventUiBases:this.buildEventUiBases(h.defs,m,y),businessHours:this.parseContextBusinessHours(u),dateSelection:reduceDateSelection(r.dateSelection,e),eventSelection:reduceSelectedEvent(r.eventSelection,e),eventDrag:reduceEventDrag(r.eventDrag,e),eventResize:reduceEventResize(r.eventResize,e)},w=__assign$1(__assign$1({},u),b),E=0,S=i.pluginHooks.reducers;E<S.length;E++){var k=S[E];__assign$1(b,k(r,e,w))}var _=computeIsLoading(r,u),T=computeIsLoading(b,u);!_&&T?o.trigger("loading",!0):_&&!T&&o.trigger("loading",!1),this.state=b,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e=this.props,t=this.state,n=this.data,r=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),o=this.computeCurrentViewData(t.currentViewType,r,e.optionOverrides,t.dynamicOptionOverrides),a=this.data=__assign$1(__assign$1(__assign$1({viewTitle:this.buildTitle(t.dateProfile,o.options,r.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},r),o),t),i=r.pluginHooks.optionChangeHandlers,l=n&&n.calendarOptions,s=r.calendarOptions;if(l&&l!==s)for(var u in l.timeZone!==s.timeZone&&(t.eventSources=a.eventSources=reduceEventSourcesNewTimeZone(a.eventSources,t.dateProfile,a),t.eventStore=a.eventStore=rezoneEventStoreDates(a.eventStore,n.dateEnv,a.dateEnv)),i)l[u]!==s[u]&&i[u](s[u],a);e.onData&&e.onData(a)},e.prototype._computeOptionsData=function(e,t,n){var r=this.processRawCalendarOptions(e,t),o=r.refinedOptions,a=r.pluginHooks,i=r.localeDefaults,l=r.availableLocaleData;warnUnknownOptions(r.extra);var s=this.buildDateEnv(o.timeZone,o.locale,o.weekNumberCalculation,o.firstDay,o.weekText,a,l,o.defaultRangeSeparator),u=this.buildViewSpecs(a.views,e,t,i),c=this.buildTheme(o,a);return{calendarOptions:o,pluginHooks:a,dateEnv:s,viewSpecs:u,theme:c,toolbarConfig:this.parseToolbars(o,e,c,u,n),localeDefaults:i,availableRawLocales:l.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=mergeRawOptions([BASE_OPTION_DEFAULTS,e,t]),r=n.locales,o=n.locale,a=this.organizeRawLocales(r),i=a.map,l=this.buildLocale(o||a.defaultCode,i).options,s=this.buildPluginHooks(e.plugins||[],globalPlugins),u=this.currentCalendarOptionsRefiners=__assign$1(__assign$1(__assign$1(__assign$1(__assign$1({},BASE_OPTION_REFINERS),CALENDAR_LISTENER_REFINERS),CALENDAR_OPTION_REFINERS),s.listenerRefiners),s.optionRefiners),c={},d=mergeRawOptions([BASE_OPTION_DEFAULTS,l,e,t]),f={},p=this.currentCalendarOptionsInput,h=this.currentCalendarOptionsRefined,v=!1;for(var m in d)"plugins"!==m&&(d[m]===p[m]||COMPLEX_OPTION_COMPARATORS[m]&&m in p&&COMPLEX_OPTION_COMPARATORS[m](p[m],d[m])?f[m]=h[m]:u[m]?(f[m]=u[m](d[m]),v=!0):c[m]=p[m]);return v&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=f),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:s,availableLocaleData:a,localeDefaults:l,extra:c}},e.prototype._computeCurrentViewData=function(e,t,n,r){var o=t.viewSpecs[e];if(!o)throw new Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");var a=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,n,r),i=a.refinedOptions;return warnUnknownOptions(a.extra),{viewSpec:o,options:i,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:i.slotMinTime,slotMaxTime:i.slotMaxTime,showNonCurrentDates:i.showNonCurrentDates,dayCount:i.dayCount,dateAlignment:i.dateAlignment,dateIncrement:i.dateIncrement,hiddenDays:i.hiddenDays,weekends:i.weekends,nowInput:i.now,validRangeInput:i.validRange,visibleRangeInput:i.visibleRange,monthMode:i.monthMode,fixedWeekCount:i.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},e.prototype.processRawViewOptions=function(e,t,n,r,o){var a=mergeRawOptions([BASE_OPTION_DEFAULTS,e.optionDefaults,n,r,e.optionOverrides,o]),i=__assign$1(__assign$1(__assign$1(__assign$1(__assign$1(__assign$1({},BASE_OPTION_REFINERS),CALENDAR_LISTENER_REFINERS),CALENDAR_OPTION_REFINERS),VIEW_OPTION_REFINERS),t.listenerRefiners),t.optionRefiners),l={},s=this.currentViewOptionsInput,u=this.currentViewOptionsRefined,c=!1,d={};for(var f in a)a[f]===s[f]||COMPLEX_OPTION_COMPARATORS[f]&&COMPLEX_OPTION_COMPARATORS[f](a[f],s[f])?l[f]=u[f]:(a[f]===this.currentCalendarOptionsInput[f]||COMPLEX_OPTION_COMPARATORS[f]&&COMPLEX_OPTION_COMPARATORS[f](a[f],this.currentCalendarOptionsInput[f])?f in this.currentCalendarOptionsRefined&&(l[f]=this.currentCalendarOptionsRefined[f]):i[f]?l[f]=i[f](a[f]):d[f]=a[f],c=!0);return c&&(this.currentViewOptionsInput=a,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:d}},e}();function buildDateEnv(e,t,n,r,o,a,i,l){var s=buildLocale(t||i.defaultCode,i.map);return new DateEnv({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:a.namedTimeZonedImpl,locale:s,weekNumberCalculation:n,firstDay:r,weekText:o,cmdFormatter:a.cmdFormatter,defaultSeparator:l})}function buildTheme(e,t){return new(t.themeClasses[e.themeSystem]||StandardTheme)(e)}function buildDateProfileGenerator(e){return new(e.dateProfileGeneratorClass||DateProfileGenerator)(e)}function buildViewApi(e,t,n){return new ViewApi(e,t,n)}function buildEventUiBySource(e){return mapHash(e,(function(e){return e.ui}))}function buildEventUiBases(e,t,n){var r={"":t};for(var o in e){var a=e[o];a.sourceId&&n[a.sourceId]&&(r[o]=n[a.sourceId])}return r}function buildViewUiProps(e){var t=e.options;return{eventUiSingleBase:createEventUi({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:createEventUi({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function computeIsLoading(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++){if((0,r[n])(e))return!0}return!1}function parseContextBusinessHours(e){return parseBusinessHours(e.options.businessHours,e)}function warnUnknownOptions(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}var CalendarDataProvider=function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new CalendarDataManager({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}return __extends(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)},t}(Component),SegHierarchy=function(){function e(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return e.prototype.addSegs=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var o=r[n];this.insertEntry(o,t)}return t},e.prototype.insertEntry=function(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)},e.prototype.isInsertionValid=function(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)},e.prototype.handleInvalidInsertion=function(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)},e.prototype.splitEntry=function(e,t,n){var r=0,o=[],a=e.span,i=t.span;return a.start<i.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:a.start,end:i.start}},o)),a.end>i.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.end,end:a.end}},o)),r?(n.push.apply(n,__spreadArray([{index:e.index,thickness:e.thickness,span:intersectSpans(i,a)}],o)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(insertAt(r,t.level,t.levelCoord),insertAt(n,t.level,[e])):insertAt(n[t.level],t.lateral,e),this.stackCnts[buildEntryKey(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this,n=t.levelCoords,r=t.entriesByLevel,o=t.strictOrder,a=t.stackCnts,i=n.length,l=0,s=-1,u=-1,c=null,d=0,f=0;f<i;f+=1){var p=n[f];if(!o&&p>=l+e.thickness)break;for(var h=r[f],v=void 0,m=binarySearch(h,e.span.start,getEntrySpanEnd),g=m[0]+m[1];(v=h[g])&&v.span.start<e.span.end;){var y=p+v.thickness;y>l&&(l=y,c=v,s=f,u=g),y===l&&(d=Math.max(d,a[buildEntryKey(v)]+1)),g+=1}}var b=0;if(c)for(b=s+1;b<i&&n[b]<l;)b+=1;var w=-1;return b<i&&n[b]===l&&(w=binarySearch(r[b],e.span.end,getEntrySpanEnd)[0]),{touchingLevel:s,touchingLateral:u,touchingEntry:c,stackCnt:d,levelCoord:l,level:b,lateral:w}},e.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,r=[],o=0;o<n;o+=1)for(var a=e[o],i=t[o],l=0,s=a;l<s.length;l++){var u=s[l];r.push(__assign$1(__assign$1({},u),{levelCoord:i}))}return r},e}();function getEntrySpanEnd(e){return e.span.end}function buildEntryKey(e){return e.index+":"+e.span.start}function groupIntersectingEntries(e){for(var t=[],n=0,r=e;n<r.length;n++){for(var o=r[n],a=[],i={span:o.span,entries:[o]},l=0,s=t;l<s.length;l++){var u=s[l];intersectSpans(u.span,i.span)?i={entries:u.entries.concat(i.entries),span:joinSpans(u.span,i.span)}:a.push(u)}a.push(i),t=a}return t}function joinSpans(e,t){return{start:Math.min(e.start,t.start),end:Math.max(e.end,t.end)}}function intersectSpans(e,t){var n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return n<r?{start:n,end:r}:null}function insertAt(e,t,n){e.splice(t,0,n)}function binarySearch(e,t,n){var r=0,o=e.length;if(!o||t<n(e[r]))return[0,0];if(t>n(e[o-1]))return[o,0];for(;r<o;){var a=Math.floor(r+(o-r)/2),i=n(e[a]);if(t<i)o=a;else{if(!(t>i))return[a,1];r=a+1}}return[r,0]}var Interaction=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function parseInteractionSettings(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}function interactionSettingsToStore(e){var t;return(t={})[e.component.uid]=e,t}var interactionSettingsStore={},ElementDragging=function(){function e(e,t){this.emitter=new Emitter}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}(),config={},ToolbarSection=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return createElement.apply(void 0,__spreadArray(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,r=[],o=!0,a=0,i=e;a<i.length;a++){var l=i[a],s=l.buttonName,u=l.buttonClick,c=l.buttonText,d=l.buttonIcon,f=l.buttonHint;if("title"===s)o=!1,r.push(createElement("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var p=s===t.activeButton,h=!t.isTodayEnabled&&"today"===s||!t.isPrevEnabled&&"prev"===s||!t.isNextEnabled&&"next"===s,v=["fc-"+s+"-button",n.getClass("button")];p&&v.push(n.getClass("buttonActive")),r.push(createElement("button",{type:"button",title:"function"==typeof f?f(t.navUnit):f,disabled:h,"aria-pressed":p,className:v.join(" "),onClick:u},c||(d?createElement("span",{className:d}):"")))}}if(r.length>1){var m=o&&n.getClass("buttonGroup")||"";return createElement.apply(void 0,__spreadArray(["div",{className:m}],r))}return r[0]},t}(BaseComponent),Toolbar=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,o=n.extraClassName,a=!1,i=r.sectionWidgets,l=i.center;return i.left?(a=!0,e=i.left):e=i.start,i.right?(a=!0,t=i.right):t=i.end,createElement("div",{className:[o||"","fc-toolbar",a?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",l||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return createElement(ToolbarSection,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})},t}(BaseComponent),ViewContainer=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(e){t.el=e,setRef(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=e.aspectRatio,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",a="";return n?null!==t.availableWidth?o=t.availableWidth/n:a=1/n*100+"%":o=e.height||"",createElement("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:o,paddingBottom:a}},e.children)},t.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},t.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},t}(BaseComponent),EventClicking=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var r=n.component,o=r.context,a=getElSeg(t);if(a&&r.isValidSegDownEl(e.target)){var i=elementClosest(e.target,".fc-event-forced-url"),l=i?i.querySelector("a[href]").href:"";o.emitter.trigger("eventClick",{el:t,event:new EventApi(r.context,a.eventRange.def,a.eventRange.instance),jsEvent:e,view:o.viewApi}),l&&!e.defaultPrevented&&(window.location.href=l)}},n.destroy=listenBySelector(t.el,"click",".fc-event",n.handleSegClick),n}return __extends(t,e),t}(Interaction),EventHovering=function(e){function t(t){var n=e.call(this,t)||this;return n.handleEventElRemove=function(e){e===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(e,t){getElSeg(t)&&(n.currentSegEl=t,n.triggerEvent("eventMouseEnter",e,t))},n.handleSegLeave=function(e,t){n.currentSegEl&&(n.currentSegEl=null,n.triggerEvent("eventMouseLeave",e,t))},n.removeHoverListeners=listenToHoverBySelector(t.el,".fc-event",n.handleSegEnter,n.handleSegLeave),n}return __extends(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,o=r.context,a=getElSeg(n);t&&!r.isValidSegDownEl(t.target)||o.emitter.trigger(e,{el:n,event:new EventApi(o,a.eventRange.def,a.eventRange.instance),jsEvent:t,view:o.viewApi})},t}(Interaction),CalendarContent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=memoize(buildViewContext),t.buildViewPropTransformers=memoize(buildViewPropTransformers),t.buildToolbarProps=memoize(buildToolbarProps),t.headerRef=createRef(),t.footerRef=createRef(),t.interactionsStore={},t.state={viewLabelId:getUniqueDomId()},t.registerInteractiveComponent=function(e,n){var r=parseInteractionSettings(e,n),o=[EventClicking,EventHovering].concat(t.props.pluginHooks.componentInteractions).map((function(e){return new e(r)}));t.interactionsStore[e.uid]=o,interactionSettingsStore[e.uid]=r},t.unregisterInteractiveComponent=function(e){var n=t.interactionsStore[e.uid];if(n){for(var r=0,o=n;r<o.length;r++){o[r].destroy()}delete t.interactionsStore[e.uid]}delete interactionSettingsStore[e.uid]},t.resizeRunner=new DelayedRunner((function(){t.props.emitter.trigger("_resize",!0),t.props.emitter.trigger("windowResize",{view:t.props.viewApi})})),t.handleWindowResize=function(e){var n=t.props.options;n.handleWindowResize&&e.target===window&&t.resizeRunner.request(n.windowResizeDelay)},t}return __extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,r=t.options,o=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,getNow(t.options.now,t.dateEnv),t.viewTitle),a=!1,i="";t.isHeightAuto||t.forPrint?i="":null!=r.height?a=!0:null!=r.contentHeight?i=r.contentHeight:e=Math.max(r.aspectRatio,.5);var l=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),s=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return createElement(ViewContextType.Provider,{value:l},n.header&&createElement(Toolbar,__assign$1({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:s},o)),createElement(ViewContainer,{liquid:a,height:i,aspectRatio:e,labeledById:s},this.renderView(t),this.buildAppendContent()),n.footer&&createElement(Toolbar,__assign$1({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},o)))},t.prototype.componentDidMount=function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((function(t){return new t(e)})),window.addEventListener("resize",this.handleWindowResize);var t=e.pluginHooks.propSetHandlers;for(var n in t)t[n](e[n],e)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.pluginHooks.propSetHandlers;for(var r in n)t[r]!==e[r]&&n[r](t[r],t)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,t=this.calendarInteractions;e<t.length;e++){t[e].destroy()}this.props.emitter.trigger("_unmount")},t.prototype.buildAppendContent=function(){var e=this.props,t=e.pluginHooks.viewContainerAppends.map((function(t){return t(e)}));return createElement.apply(void 0,__spreadArray([Fragment,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},o=0,a=this.buildViewPropTransformers(t.viewPropsTransformers);o<a.length;o++){var i=a[o];__assign$1(r,i.transform(r,e))}var l=n.component;return createElement(l,__assign$1({},r))},t}(PureComponent);function buildToolbarProps(e,t,n,r,o,a){var i=n.build(o,void 0,!1),l=n.buildPrev(t,r,!1),s=n.buildNext(t,r,!1);return{title:a,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:i.isValid&&!rangeContainsMarker(t.currentRange,o),isPrevEnabled:l.isValid,isNextEnabled:s.isValid}}function buildViewPropTransformers(e){return e.map((function(e){return new e}))}var CalendarRoot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={forPrint:!1},t.handleBeforePrint=function(){t.setState({forPrint:!0})},t.handleAfterPrint=function(){t.setState({forPrint:!1})},t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=e.options,n=this.state.forPrint,r=n||"auto"===t.height||"auto"===t.contentHeight,o=r||null==t.height?"":t.height,a=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root")];return getCanVGrowWithinCell()||a.push("fc-liquid-hack"),e.children(a,o,r,n)},t.prototype.componentDidMount=function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)},t.prototype.componentWillUnmount=function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)},t}(BaseComponent);function computeFallbackHeaderFormat(e,t){return createFormatter(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}var CLASS_NAME="fc-col-header-cell";function renderInner$1(e){return e.text}var TableDateCell=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,r=e.theme,o=e.viewApi,a=this.props,i=a.date,l=a.dateProfile,s=getDateMeta(i,a.todayRange,null,l),u=[CLASS_NAME].concat(getDayClassNames(s,r)),c=t.format(i,a.dayHeaderFormat),d=!s.isDisabled&&a.colCnt>1?buildNavLinkAttrs(this.context,i):{},f=__assign$1(__assign$1(__assign$1({date:t.toDate(i),view:o},a.extraHookProps),{text:c}),s);return createElement(RenderHook,{hookProps:f,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:renderInner$1,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,r){return createElement("th",__assign$1({ref:e,role:"columnheader",className:u.concat(t).join(" "),"data-date":s.isDisabled?void 0:formatDayString(i),colSpan:a.colSpan},a.extraDataAttrs),createElement("div",{className:"fc-scrollgrid-sync-inner"},!s.isDisabled&&createElement("a",__assign$1({ref:n,className:["fc-col-header-cell-cushion",a.isSticky?"fc-sticky":""].join(" ")},d),r)))}))},t}(BaseComponent),WEEKDAY_FORMAT=createFormatter({weekday:"long"}),TableDowCell=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,o=t.viewApi,a=t.options,i=addDays(new Date(2592e5),e.dow),l={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},s=[CLASS_NAME].concat(getDayClassNames(l,r),e.extraClassNames||[]),u=n.format(i,e.dayHeaderFormat),c=__assign$1(__assign$1(__assign$1(__assign$1({date:i},l),{view:o}),e.extraHookProps),{text:u});return createElement(RenderHook,{hookProps:c,classNames:a.dayHeaderClassNames,content:a.dayHeaderContent,defaultContent:renderInner$1,didMount:a.dayHeaderDidMount,willUnmount:a.dayHeaderWillUnmount},(function(t,r,o,a){return createElement("th",__assign$1({ref:t,role:"columnheader",className:s.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),createElement("div",{className:"fc-scrollgrid-sync-inner"},createElement("a",{"aria-label":n.format(i,WEEKDAY_FORMAT),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:o},a)))}))},t}(BaseComponent),NowTimer=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=getNow(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var e=this.props,t=this.context,n=addMs(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),o=t.dateEnv.add(r,createDuration(1,e.unit)),a=o.valueOf()-n.valueOf();return a=Math.min(864e5,a),{currentState:{nowDate:r,todayRange:buildDayRange(r)},nextState:{nowDate:o,todayRange:buildDayRange(o)},waitMs:a}},t.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,r=t.waitMs;this.timeoutId=setTimeout((function(){e.setState(n,(function(){e.setTimeout()}))}),r)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=ViewContextType,t}(Component);function buildDayRange(e){var t=startOfDay(e);return{start:t,end:addDays(t,1)}}var DayHeader=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=memoize(createDayHeaderFormatter),t}return __extends(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,o=t.datesRepDistinctDays,a=t.renderIntro,i=this.createDayHeaderFormatter(e.options.dayHeaderFormat,o,n.length);return createElement(NowTimer,{unit:"day"},(function(e,t){return createElement("tr",{role:"row"},a&&a("day"),n.map((function(e){return o?createElement(TableDateCell,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:i}):createElement(TableDowCell,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:i})})))}))},t}(BaseComponent);function createDayHeaderFormatter(e,t,n){return e||computeFallbackHeaderFormat(t,n)}var DaySeriesModel=function(){function e(e,t){for(var n=e.start,r=e.end,o=[],a=[],i=-1;n<r;)t.isHiddenDay(n)?o.push(i+.5):(i+=1,o.push(i),a.push(n)),n=addDays(n,1);this.dates=a,this.indices=o,this.cnt=a.length}return e.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(addDays(e.end,-1)),r=Math.max(0,t),o=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(o=Math.floor(o))?{firstIndex:r,lastIndex:o,isStart:t===r,isEnd:n===o}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(diffDays(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},e}(),DayTableModel=function(){function e(e,t){var n,r,o,a=e.dates;if(t){for(r=a[0].getUTCDay(),n=1;n<a.length&&a[n].getUTCDay()!==r;n+=1);o=Math.ceil(a.length/n)}else o=1,n=a.length;this.rowCnt=o,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return e.prototype.buildCells=function(){for(var e=[],t=0;t<this.rowCnt;t+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(t,r));e.push(n)}return e},e.prototype.buildCell=function(e,t){var n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}},e.prototype.buildHeaderDates=function(){for(var e=[],t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e},e.prototype.sliceRange=function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),r=[];if(n)for(var o=n.firstIndex,a=n.lastIndex,i=o;i<=a;){var l=Math.floor(i/t),s=Math.min((l+1)*t,a+1);r.push({row:l,firstCol:i%t,lastCol:(s-1)%t,isStart:n.isStart&&i===o,isEnd:n.isEnd&&s-1===a}),i=s}return r},e}(),Slicer=function(){function e(){this.sliceBusinessHours=memoize(this._sliceBusinessHours),this.sliceDateSelection=memoize(this._sliceDateSpan),this.sliceEventStore=memoize(this._sliceEventStore),this.sliceEventDrag=memoize(this._sliceInteraction),this.sliceEventResize=memoize(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];var i=e.eventUiBases,l=this.sliceEventStore.apply(this,__spreadArray([e.eventStore,i,t,n],o));return{dateSelectionSegs:this.sliceDateSelection.apply(this,__spreadArray([e.dateSelection,i,r],o)),businessHourSegs:this.sliceBusinessHours.apply(this,__spreadArray([e.businessHours,t,n,r],o)),fgEventSegs:l.fg,bgEventSegs:l.bg,eventDrag:this.sliceEventDrag.apply(this,__spreadArray([e.eventDrag,i,t,n],o)),eventResize:this.sliceEventResize.apply(this,__spreadArray([e.eventResize,i,t,n],o)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this._sliceDateSpan.apply(this,__spreadArray([{range:{start:e,end:addMs(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];return e?this._sliceEventStore.apply(this,__spreadArray([expandRecurring(e,computeActiveRange(t,Boolean(n)),r),{},t,n],o)).bg:[]},e.prototype._sliceEventStore=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];if(e){var i=sliceEventStore(e,t,computeActiveRange(n,Boolean(r)),r);return{bg:this.sliceEventRanges(i.bg,o),fg:this.sliceEventRanges(i.fg,o)}}return{bg:[],fg:[]}},e.prototype._sliceInteraction=function(e,t,n,r){for(var o=[],a=4;a<arguments.length;a++)o[a-4]=arguments[a];if(!e)return null;var i=sliceEventStore(e.mutatedEvents,t,computeActiveRange(n,Boolean(r)),r);return{segs:this.sliceEventRanges(i.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},e.prototype._sliceDateSpan=function(e,t,n){for(var r=[],o=3;o<arguments.length;o++)r[o-3]=arguments[o];if(!e)return[];for(var a=fabricateEventRange(e,t,n),i=this.sliceRange.apply(this,__spreadArray([e.range],r)),l=0,s=i;l<s.length;l++){var u=s[l];u.eventRange=a}return i},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var a=o[r];n.push.apply(n,this.sliceEventRange(a,t))}return n},e.prototype.sliceEventRange=function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:addDays(n.start,1)});for(var r=this.sliceRange.apply(this,__spreadArray([n],t)),o=0,a=r;o<a.length;o++){var i=a[o];i.eventRange=e,i.isStart=e.isStart&&i.isStart,i.isEnd=e.isEnd&&i.isEnd}return r},e}();function computeActiveRange(e,t){var n=e.activeRange;return t?n:{start:addMs(n.start,e.slotMinTime.milliseconds),end:addMs(n.end,e.slotMaxTime.milliseconds-864e5)}}function isInteractionValid(e,t,n){var r=e.mutatedEvents.instances;for(var o in r)if(!rangeContainsRange(t.validRange,r[o].range))return!1;return isNewPropsValid({eventDrag:e},n)}function isDateSelectionValid(e,t,n){return!!rangeContainsRange(t.validRange,e.range)&&isNewPropsValid({dateSelection:e},n)}function isNewPropsValid(e,t){var n=t.getCurrentData(),r=__assign$1({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||isPropsValid)(r,t)}function isPropsValid(e,t,n,r){return void 0===n&&(n={}),!(e.eventDrag&&!isInteractionPropsValid(e,t,n,r))&&!(e.dateSelection&&!isDateSelectionPropsValid(e,t,n,r))}function isInteractionPropsValid(e,t,n,r){var o=t.getCurrentData(),a=e.eventDrag,i=a.mutatedEvents,l=i.defs,s=i.instances,u=compileEventUis(l,a.isEvent?e.eventUiBases:{"":o.selectionConfig});r&&(u=mapHash(u,r));var c=excludeInstances(e.eventStore,a.affectedEvents.instances),d=c.defs,f=c.instances,p=compileEventUis(d,e.eventUiBases);for(var h in s){var v=s[h],m=v.range,g=u[v.defId],y=l[v.defId];if(!allConstraintsPass(g.constraints,m,c,e.businessHours,t))return!1;var b=t.options.eventOverlap,w="function"==typeof b?b:null;for(var E in f){var S=f[E];if(rangesIntersect(m,S.range)){if(!1===p[S.defId].overlap&&a.isEvent)return!1;if(!1===g.overlap)return!1;if(w&&!w(new EventApi(t,d[S.defId],S),new EventApi(t,y,v)))return!1}}for(var k=o.eventStore,_=0,T=g.allows;_<T.length;_++){var x=T[_],C=__assign$1(__assign$1({},n),{range:v.range,allDay:y.allDay}),D=k.defs[y.defId],R=k.instances[h],P=void 0;if(P=D?new EventApi(t,D,R):new EventApi(t,y),!x(buildDateSpanApiWithContext(C,t),P))return!1}}return!0}function isDateSelectionPropsValid(e,t,n,r){var o=e.eventStore,a=o.defs,i=o.instances,l=e.dateSelection,s=l.range,u=t.getCurrentData().selectionConfig;if(r&&(u=r(u)),!allConstraintsPass(u.constraints,s,o,e.businessHours,t))return!1;var c=t.options.selectOverlap,d="function"==typeof c?c:null;for(var f in i){var p=i[f];if(rangesIntersect(s,p.range)){if(!1===u.overlap)return!1;if(d&&!d(new EventApi(t,a[p.defId],p),null))return!1}}for(var h=0,v=u.allows;h<v.length;h++){if(!(0,v[h])(buildDateSpanApiWithContext(__assign$1(__assign$1({},n),l),t),null))return!1}return!0}function allConstraintsPass(e,t,n,r,o){for(var a=0,i=e;a<i.length;a++){if(!anyRangesContainRange(constraintToRanges(i[a],t,n,r,o),t))return!1}return!0}function constraintToRanges(e,t,n,r,o){return"businessHours"===e?eventStoreToRanges(expandRecurring(r,t,o)):"string"==typeof e?eventStoreToRanges(filterEventStoreDefs(n,(function(t){return t.groupId===e}))):"object"==typeof e&&e?eventStoreToRanges(expandRecurring(e,t,o)):[]}function eventStoreToRanges(e){var t=e.instances,n=[];for(var r in t)n.push(t[r].range);return n}function anyRangesContainRange(e,t){for(var n=0,r=e;n<r.length;n++){if(rangeContainsRange(r[n],t))return!0}return!1}var VISIBLE_HIDDEN_RE=/^(visible|hidden)$/,Scroller=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,setRef(t.props.elRef,e)},t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,o=["fc-scroller"];return t&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),createElement("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(VISIBLE_HIDDEN_RE.test(this.props.overflowX))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().width>t)return!0}return!1},t.prototype.needsYScrolling=function(){if(VISIBLE_HIDDEN_RE.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().height>t)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return VISIBLE_HIDDEN_RE.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return VISIBLE_HIDDEN_RE.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(BaseComponent),RefMap=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t,o=r.depths,a=r.currentMap,i=!1,l=!1;null!==e?(i=n in a,a[n]=e,o[n]=(o[n]||0)+1,l=!0):(o[n]-=1,o[n]||(delete a[n],delete t.callbackMap[n],i=!0)),t.masterCallback&&(i&&t.masterCallback(null,String(n)),l&&t.masterCallback(e,String(n)))}}return e.prototype.createRef=function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n},e.prototype.collect=function(e,t,n){return collectFromHash(this.currentMap,e,t,n)},e.prototype.getAll=function(){return hashValuesToArray(this.currentMap)},e}();function computeShrinkWidth(e){for(var t=0,n=0,r=findElements(e,".fc-scrollgrid-shrink");n<r.length;n++){var o=r[n];t=Math.max(t,computeSmallestCellWidth(o))}return Math.ceil(t)}function getSectionHasLiquidHeight(e,t){return e.liquid&&t.liquid}function getAllowYScrolling(e,t){return null!=t.maxHeight||getSectionHasLiquidHeight(e,t)}function renderChunkContent(e,t,n,r){var o=n.expandRows;return"function"==typeof t.content?t.content(n):createElement("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:o?n.clientHeight:""}},n.tableColGroupNode,createElement(r?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}function isColPropsEqual(e,t){return isArraysEqual(e,t,isPropsEqual)}function renderMicroColGroup(e,t){for(var n=[],r=0,o=e;r<o.length;r++)for(var a=o[r],i=a.span||1,l=0;l<i;l+=1)n.push(createElement("col",{style:{width:"shrink"===a.width?sanitizeShrinkWidth(t):a.width||"",minWidth:a.minWidth||""}}));return createElement.apply(void 0,__spreadArray(["colgroup",{}],n))}function sanitizeShrinkWidth(e){return null==e?4:e}function hasShrinkWidth(e){for(var t=0,n=e;t<n.length;t++){if("shrink"===n[t].width)return!0}return!1}function getScrollGridClassNames(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}function getSectionClassNames(e,t){var n=["fc-scrollgrid-section","fc-scrollgrid-section-"+e.type,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function renderScrollShim(e){return createElement("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function getStickyHeaderDates(e){var t=e.stickyHeaderDates;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function getStickyFooterScrollbar(e){var t=e.stickyFooterScrollbar;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}var SimpleScrollGrid=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=memoize((function(e){return e}),isColPropsEqual),t.renderMicroColGroup=memoize(renderMicroColGroup),t.scrollerRefs=new RefMap,t.scrollerElRefs=new RefMap(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.safeSetState(__assign$1({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,o=t.sections||[],a=this.processCols(t.cols),i=this.renderMicroColGroup(a,n.shrinkWidth),l=getScrollGridClassNames(t.liquid,r);t.collapsibleWidth&&l.push("fc-scrollgrid-collapsible");for(var s,u=o.length,c=0,d=[],f=[],p=[];c<u&&"header"===(s=o[c]).type;)d.push(this.renderSection(s,i,!0)),c+=1;for(;c<u&&"body"===(s=o[c]).type;)f.push(this.renderSection(s,i,!1)),c+=1;for(;c<u&&"footer"===(s=o[c]).type;)p.push(this.renderSection(s,i,!0)),c+=1;var h=!getCanVGrowWithinCell(),v={role:"rowgroup"};return createElement("table",{role:"grid",className:l.join(" "),style:{height:t.height}},Boolean(!h&&d.length)&&createElement.apply(void 0,__spreadArray(["thead",v],d)),Boolean(!h&&f.length)&&createElement.apply(void 0,__spreadArray(["tbody",v],f)),Boolean(!h&&p.length)&&createElement.apply(void 0,__spreadArray(["tfoot",v],p)),h&&createElement.apply(void 0,__spreadArray(__spreadArray(__spreadArray(["tbody",v],d),f),p)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?createElement(Fragment,{key:e.key},e.outerContent):createElement("tr",{key:e.key,role:"presentation",className:getSectionClassNames(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))},t.prototype.renderChunkTd=function(e,t,n,r){if("outerContent"in n)return n.outerContent;var o=this.props,a=this.state,i=a.forceYScrollbars,l=a.scrollerClientWidths,s=a.scrollerClientHeights,u=getAllowYScrolling(o,e),c=getSectionHasLiquidHeight(o,e),d=o.liquid?i?"scroll":u?"auto":"hidden":"visible",f=e.key,p=renderChunkContent(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===l[f]?null:l[f],clientHeight:void 0!==s[f]?s[f]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return createElement(r?"th":"td",{ref:n.elRef,role:"presentation"},createElement("div",{className:"fc-scroller-harness"+(c?" fc-scroller-harness-liquid":"")},createElement(Scroller,{ref:this.scrollerRefs.createRef(f),elRef:this.scrollerElRefs.createRef(f),overflowY:d,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:c,liquidIsAbsolute:!0},p)))},t.prototype._handleScrollerEl=function(e,t){var n=getSectionByKey(this.props.sections,t);n&&setRef(n.chunk.scrollerElRef,e)},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(){this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.computeShrinkWidth=function(){return hasShrinkWidth(this.props.cols)?computeShrinkWidth(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=getScrollbarWidths(),t=this.scrollerRefs,n=this.scrollerElRefs,r=!1,o={},a={};for(var i in t.currentMap){var l=t.currentMap[i];if(l&&l.needsYScrolling()){r=!0;break}}for(var s=0,u=this.props.sections;s<u.length;s++){i=u[s].key;var c=n.currentMap[i];if(c){var d=c.parentNode;o[i]=Math.floor(d.getBoundingClientRect().width-(r?e.y:0)),a[i]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:o,scrollerClientHeights:a}},t}(BaseComponent);function getSectionByKey(e,t){for(var n=0,r=e;n<r.length;n++){var o=r[n];if(o.key===t)return o}return null}SimpleScrollGrid.addStateEquality({scrollerClientWidths:isPropsEqual,scrollerClientHeights:isPropsEqual});var EventRoot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.seg,o=r.eventRange,a=o.ui,i={event:new EventApi(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:a.textColor,backgroundColor:a.backgroundColor,borderColor:a.borderColor,isDraggable:!e.disableDragging&&computeSegDraggable(r,t),isStartResizable:!e.disableResizing&&computeSegStartResizable(r,t),isEndResizable:!e.disableResizing&&computeSegEndResizable(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)},l=getEventClassNames(i).concat(a.classNames);return createElement(RenderHook,{hookProps:i,classNames:n.eventClassNames,content:n.eventContent,defaultContent:e.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},(function(t,n,r,o){return e.children(t,l.concat(n),r,o,i)}))},t.prototype.componentDidMount=function(){setElSeg(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&setElSeg(this.elRef.current,t)},t}(BaseComponent),StandardEvent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=t.options.eventTimeFormat||e.defaultTimeFormat,o=buildSegTimeText(n,r,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return createElement(EventRoot,{seg:n,timeText:o,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||renderInnerContent$1$1,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(r,o,a,i,l){return createElement("a",__assign$1({className:e.extraClassNames.concat(o).join(" "),style:{borderColor:l.borderColor,backgroundColor:l.backgroundColor},ref:r},getSegAnchorAttrs(n,t)),createElement("div",{className:"fc-event-main",ref:a,style:{color:l.textColor}},i),l.isStartResizable&&createElement("div",{className:"fc-event-resizer fc-event-resizer-start"}),l.isEndResizable&&createElement("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},t}(BaseComponent);function renderInnerContent$1$1(e){return createElement("div",{className:"fc-event-main-frame"},e.timeText&&createElement("div",{className:"fc-event-time"},e.timeText),createElement("div",{className:"fc-event-title-container"},createElement("div",{className:"fc-event-title fc-sticky"},e.event.title||createElement(Fragment,null," "))))}var NowIndicatorRoot=function(e){return createElement(ViewContextType.Consumer,null,(function(t){var n=t.options,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return createElement(RenderHook,{hookProps:r,classNames:n.nowIndicatorClassNames,content:n.nowIndicatorContent,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},e.children)}))},DAY_NUM_FORMAT=createFormatter({day:"numeric"}),DayCellContent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=refineDayCellHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return createElement(ContentHook,{hookProps:r,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(BaseComponent);function refineDayCellHookProps(e){var t=e.date,n=e.dateEnv,r=getDateMeta(t,e.todayRange,null,e.dateProfile);return __assign$1(__assign$1(__assign$1({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,DAY_NUM_FORMAT):""}),e.extraProps)}var DayCellRoot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=memoizeObjArg(refineDayCellHookProps),t.normalizeClassNames=buildClassNameNormalizer(),t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=this.refineHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv}),o=getDayClassNames(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),a=r.isDisabled?{}:{"data-date":formatDayString(e.date)};return createElement(MountHook,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},(function(t){return e.children(t,o,a,r.isDisabled)}))},t}(BaseComponent);function renderFill(e){return createElement("div",{className:"fc-"+e})}var BgEvent=function(e){return createElement(EventRoot,{defaultContent:renderInnerContent$3,seg:e.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(e,t,n,r,o){return createElement("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:o.backgroundColor}},r)}))};function renderInnerContent$3(e){return e.event.title&&createElement("div",{className:"fc-event-title"},e.event.title)}var WeekNumberRoot=function(e){return createElement(ViewContextType.Consumer,null,(function(t){var n=t.dateEnv,r=t.options,o=e.date,a=r.weekNumberFormat||e.defaultFormat,i=n.computeWeekNumber(o),l=n.format(o,a);return createElement(RenderHook,{hookProps:{num:i,text:l,date:o},classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:renderInner,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},e.children)}))};function renderInner(e){return e.text}var PADDING_FROM_VIEWPORT=10,Popover=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:getUniqueDomId()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&setRef(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=getEventTargetViaRoot(e);t.rootEl.contains(n)||t.handleCloseClick()},t.handleDocumentKeyDown=function(e){"Escape"===e.key&&t.handleCloseClick()},t.handleCloseClick=function(){var e=t.props.onClose;e&&e()},t}return __extends(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this.props,o=this.state,a=["fc-popover",t.getClass("popover")].concat(r.extraClassNames||[]);return createPortal(createElement("div",__assign$1({id:r.id,className:a.join(" "),"aria-labelledby":o.titleId},r.extraAttrs,{ref:this.handleRootEl}),createElement("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},createElement("span",{className:"fc-popover-title",id:o.titleId},r.title),createElement("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),createElement("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)},t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)},t.prototype.updateSize=function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,o=this.rootEl,a=computeClippedClientRect(n);if(a){var i=o.getBoundingClientRect(),l=r?elementClosest(n,".fc-scrollgrid").getBoundingClientRect().top:a.top,s=e?a.right-i.width:a.left;l=Math.max(l,PADDING_FROM_VIEWPORT),s=Math.min(s,document.documentElement.clientWidth-PADDING_FROM_VIEWPORT-i.width),s=Math.max(s,PADDING_FROM_VIEWPORT);var u=o.offsetParent.getBoundingClientRect();applyStyle(o,{top:l-u.top,left:s-u.left})}},t}(BaseComponent),MorePopover=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,useEventCenter:!1}):t.context.unregisterInteractiveComponent(t)},t}return __extends(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,o=r.startDate,a=r.todayRange,i=r.dateProfile,l=n.format(o,t.dayPopoverFormat);return createElement(DayCellRoot,{date:o,dateProfile:i,todayRange:a,elRef:this.handleRootEl},(function(e,t,n){return createElement(Popover,{elRef:e,id:r.id,title:l,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},createElement(DayCellContent,{date:o,dateProfile:i,todayRange:a},(function(e,t){return t&&createElement("div",{className:"fc-more-popover-misc",ref:e},t)})),r.children)}))},t.prototype.queryHit=function(e,t,n,r){var o=this.rootEl,a=this.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:a.dateProfile,dateSpan:__assign$1({allDay:!0,range:{start:a.startDate,end:a.endDate}},a.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(DateComponent),MoreLinkRoot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=createRef(),t.state={isPopoverOpen:!1,popoverId:getUniqueDomId()},t.handleClick=function(e){var n=t,r=n.props,o=n.context,a=o.options.moreLinkClick,i=computeRange(r).start;function l(e){var t=e.eventRange,n=t.def,r=t.instance,a=t.range;return{event:new EventApi(o,n,r),start:o.dateEnv.toDate(a.start),end:o.dateEnv.toDate(a.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof a&&(a=a({date:i,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(l),hiddenSegs:r.hiddenSegs.map(l),jsEvent:e,view:o.viewApi})),a&&"popover"!==a?"string"==typeof a&&o.calendarApi.zoomTo(i,a):t.setState({isPopoverOpen:!0})},t.handlePopoverClose=function(){t.setState({isPopoverOpen:!1})},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state;return createElement(ViewContextType.Consumer,null,(function(r){var o=r.viewApi,a=r.options,i=r.calendarApi,l=a.moreLinkText,s=t.moreCnt,u=computeRange(t),c="function"==typeof l?l.call(i,s):"+"+s+" "+l,d=formatWithOrdinals(a.moreLinkHint,[s],c),f={num:s,shortText:"+"+s,text:c,view:o};return createElement(Fragment,null,Boolean(t.moreCnt)&&createElement(RenderHook,{elRef:e.linkElRef,hookProps:f,classNames:a.moreLinkClassNames,content:a.moreLinkContent,defaultContent:t.defaultContent||renderMoreLinkInner$1,didMount:a.moreLinkDidMount,willUnmount:a.moreLinkWillUnmount},(function(r,o,a,i){return t.children(r,["fc-more-link"].concat(o),a,i,e.handleClick,d,n.isPopoverOpen,n.isPopoverOpen?n.popoverId:"")})),n.isPopoverOpen&&createElement(MorePopover,{id:n.popoverId,startDate:u.start,endDate:u.end,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:t.extraDateSpan,parentEl:e.parentEl,alignmentEl:t.alignmentElRef.current,alignGridTop:t.alignGridTop,onClose:e.handlePopoverClose},t.popoverContent()))}))},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=elementClosest(this.linkElRef.current,".fc-view-harness"))},t}(BaseComponent);function renderMoreLinkInner$1(e){return e.text}function computeRange(e){if(e.allDayDate)return{start:e.allDayDate,end:addDays(e.allDayDate,1)};var t=e.hiddenSegs;return{start:computeEarliestSegStart(t),end:computeLatestSegEnd(t)}}function computeEarliestSegStart(e){return e.reduce(pickEarliestStart).eventRange.range.start}function pickEarliestStart(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function computeLatestSegEnd(e){return e.reduce(pickLatestEnd).eventRange.range.end}function pickLatestEnd(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}var FullCalendar$1=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._calendarApi=new CalendarApi,t}return __extends(t,e),t.prototype.render=function(){return react.exports.createElement(CalendarDataProvider,{optionOverrides:this.props,calendarApi:this._calendarApi},(function(e){return react.exports.createElement(CalendarRoot,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,r,o){return react.exports.createElement("div",{className:t.join(" "),style:{height:n}},react.exports.createElement(CalendarContent,__assign$1({isHeightAuto:r,forPrint:o},e)))}))}))},t.prototype.getApi=function(){return this._calendarApi},t}(react.exports.Component),TableView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.headerElRef=createRef(),t}return __extends(t,e),t.prototype.renderSimpleLayout=function(e,t){var n=this.props,r=this.context,o=[],a=getStickyHeaderDates(r.options);return e&&o.push({type:"header",key:"header",isSticky:a,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),createElement(ViewRoot,{viewSpec:r.viewSpec},(function(e,t){return createElement("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},createElement(SimpleScrollGrid,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:o}))}))},t.prototype.renderHScrollLayout=function(e,t,n,r){var o=this.context.pluginHooks.scrollGridImpl;if(!o)throw new Error("No ScrollGrid implementation");var a=this.props,i=this.context,l=!a.forPrint&&getStickyHeaderDates(i.options),s=!a.forPrint&&getStickyFooterScrollbar(i.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:l,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),s&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:renderScrollShim}]}),createElement(ViewRoot,{viewSpec:i.viewSpec},(function(e,t){return createElement("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},createElement(o,{liquid:!a.isHeightAuto&&!a.forPrint,collapsibleWidth:a.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:u}))}))},t}(DateComponent);
56
+ var EventSourceApi=function(){function e(e,t){this.context=e,this.internalEventSource=t}return e.prototype.remove=function(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})},e.prototype.refetch=function(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})},Object.defineProperty(e.prototype,"id",{get:function(){return this.internalEventSource.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this.internalEventSource.meta.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"format",{get:function(){return this.internalEventSource.meta.format},enumerable:!1,configurable:!0}),e}();function removeElement(e){e.parentNode&&e.parentNode.removeChild(e)}function elementClosest(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(elementMatches(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function elementMatches(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function findElements(e,t){for(var n=e instanceof HTMLElement?[e]:e,r=[],a=0;a<n.length;a+=1)for(var o=n[a].querySelectorAll(t),i=0;i<o.length;i+=1)r.push(o[i]);return r}var PIXEL_PROP_RE=/(top|left|right|bottom|width|height)$/i;function applyStyle(e,t){for(var n in t)applyStyleProp(e,n,t[n])}function applyStyleProp(e,t,n){null==n?e.style[t]="":"number"==typeof n&&PIXEL_PROP_RE.test(t)?e.style[t]=n+"px":e.style[t]=n}function getEventTargetViaRoot(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}function getElRoot(e){return e.getRootNode?e.getRootNode():document}var guid$1=0;function getUniqueDomId(){return"fc-dom-"+(guid$1+=1)}function preventDefault(e){e.preventDefault()}function buildDelegationHandler(e,t){return function(n){var r=elementClosest(n.target,e);r&&t.call(r,n,r)}}function listenBySelector(e,t,n,r){var a=buildDelegationHandler(n,r);return e.addEventListener(t,a),function(){e.removeEventListener(t,a)}}function listenToHoverBySelector(e,t,n,r){var a;return listenBySelector(e,"mouseover",t,(function(e,t){if(t!==a){a=t,n(e,t);var o=function(e){a=null,r(e,t),t.removeEventListener("mouseleave",o)};t.addEventListener("mouseleave",o)}}))}var transitionEventNames=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function whenTransitionDone(e,t){var n=function(r){t(r),transitionEventNames.forEach((function(t){e.removeEventListener(t,n)}))};transitionEventNames.forEach((function(t){e.addEventListener(t,n)}))}function createAriaClickAttrs(e){return __assign$1({onClick:e},createAriaKeyboardAttrs(e))}function createAriaKeyboardAttrs(e){return{tabIndex:0,onKeyDown:function(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}var guidNumber=0;function guid(){return String(guidNumber+=1)}function disableCursor(){document.body.classList.add("fc-not-allowed")}function enableCursor(){document.body.classList.remove("fc-not-allowed")}function preventSelection(e){e.classList.add("fc-unselectable"),e.addEventListener("selectstart",preventDefault)}function allowSelection(e){e.classList.remove("fc-unselectable"),e.removeEventListener("selectstart",preventDefault)}function preventContextMenu(e){e.addEventListener("contextmenu",preventDefault)}function allowContextMenu(e){e.removeEventListener("contextmenu",preventDefault)}function parseFieldSpecs(e){var t,n,r=[],a=[];for("string"==typeof e?a=e.split(/\s*,\s*/):"function"==typeof e?a=[e]:Array.isArray(e)&&(a=e),t=0;t<a.length;t+=1)"string"==typeof(n=a[t])?r.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&r.push({func:n});return r}function compareByFieldSpecs(e,t,n){var r,a;for(r=0;r<n.length;r+=1)if(a=compareByFieldSpec(e,t,n[r]))return a;return 0}function compareByFieldSpec(e,t,n){return n.func?n.func(e,t):flexibleCompare(e[n.field],t[n.field])*(n.order||1)}function flexibleCompare(e,t){return e||t?null==t?-1:null==e?1:"string"==typeof e||"string"==typeof t?String(e).localeCompare(String(t)):e-t:0}function padStart(e,t){var n=String(e);return"000".substr(0,t-n.length)+n}function formatWithOrdinals(e,t,n){return"function"==typeof e?e.apply(void 0,t):"string"==typeof e?t.reduce((function(e,t,n){return e.replace("$"+n,t||"")}),e):n}function compareNumbers(e,t){return e-t}function isInt(e){return e%1==0}function computeSmallestCellWidth(e){var t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}var DAY_IDS=["sun","mon","tue","wed","thu","fri","sat"];function addWeeks(e,t){var n=dateToUtcArray(e);return n[2]+=7*t,arrayToUtcDate(n)}function addDays(e,t){var n=dateToUtcArray(e);return n[2]+=t,arrayToUtcDate(n)}function addMs(e,t){var n=dateToUtcArray(e);return n[6]+=t,arrayToUtcDate(n)}function diffWeeks(e,t){return diffDays(e,t)/7}function diffDays(e,t){return(t.valueOf()-e.valueOf())/864e5}function diffHours(e,t){return(t.valueOf()-e.valueOf())/36e5}function diffMinutes(e,t){return(t.valueOf()-e.valueOf())/6e4}function diffSeconds(e,t){return(t.valueOf()-e.valueOf())/1e3}function diffDayAndTime(e,t){var n=startOfDay(e),r=startOfDay(t);return{years:0,months:0,days:Math.round(diffDays(n,r)),milliseconds:t.valueOf()-r.valueOf()-(e.valueOf()-n.valueOf())}}function diffWholeWeeks(e,t){var n=diffWholeDays(e,t);return null!==n&&n%7==0?n/7:null}function diffWholeDays(e,t){return timeAsMs(e)===timeAsMs(t)?Math.round(diffDays(e,t)):null}function startOfDay(e){return arrayToUtcDate([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function startOfHour(e){return arrayToUtcDate([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}function startOfMinute(e){return arrayToUtcDate([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}function startOfSecond(e){return arrayToUtcDate([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}function weekOfYear(e,t,n){var r=e.getUTCFullYear(),a=weekOfGivenYear(e,r,t,n);if(a<1)return weekOfGivenYear(e,r-1,t,n);var o=weekOfGivenYear(e,r+1,t,n);return o>=1?Math.min(a,o):a}function weekOfGivenYear(e,t,n,r){var a=arrayToUtcDate([t,0,1+firstWeekOffset(t,n,r)]),o=startOfDay(e),i=Math.round(diffDays(a,o));return Math.floor(i/7)+1}function firstWeekOffset(e,t,n){var r=7+t-n;return-((7+arrayToUtcDate([e,0,r]).getUTCDay()-t)%7)+r-1}function dateToLocalArray(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function arrayToLocalDate(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function dateToUtcArray(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function arrayToUtcDate(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function isValidDate(e){return!isNaN(e.valueOf())}function timeAsMs(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function createEventInstance(e,t,n,r){return{instanceId:guid(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==r?null:r}}var hasOwnProperty=Object.prototype.hasOwnProperty;function mergeProps(e,t){var n={};if(t)for(var r in t){for(var a=[],o=e.length-1;o>=0;o-=1){var i=e[o][r];if("object"==typeof i&&i)a.unshift(i);else if(void 0!==i){n[r]=i;break}}a.length&&(n[r]=mergeProps(a))}for(o=e.length-1;o>=0;o-=1){var l=e[o];for(var s in l)s in n||(n[s]=l[s])}return n}function filterHash(e,t){var n={};for(var r in e)t(e[r],r)&&(n[r]=e[r]);return n}function mapHash(e,t){var n={};for(var r in e)n[r]=t(e[r],r);return n}function arrayToHash(e){for(var t={},n=0,r=e;n<r.length;n++){t[r[n]]=!0}return t}function hashValuesToArray(e){var t=[];for(var n in e)t.push(e[n]);return t}function isPropsEqual(e,t){if(e===t)return!0;for(var n in e)if(hasOwnProperty.call(e,n)&&!(n in t))return!1;for(var n in t)if(hasOwnProperty.call(t,n)&&e[n]!==t[n])return!1;return!0}function getUnequalProps(e,t){var n=[];for(var r in e)hasOwnProperty.call(e,r)&&(r in t||n.push(r));for(var r in t)hasOwnProperty.call(t,r)&&e[r]!==t[r]&&n.push(r);return n}function compareObjs(e,t,n){if(void 0===n&&(n={}),e===t)return!0;for(var r in t)if(!(r in e)||!isObjValsEqual(e[r],t[r],n[r]))return!1;for(var r in e)if(!(r in t))return!1;return!0}function isObjValsEqual(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function collectFromHash(e,t,n,r){void 0===t&&(t=0),void 0===r&&(r=1);var a=[];null==n&&(n=Object.keys(e).length);for(var o=t;o<n;o+=r){var i=e[o];void 0!==i&&a.push(i)}return a}function parseRecurring(e,t,n,r){for(var a=0;a<r.length;a+=1){var o=r[a].parse(e,n);if(o){var i=e.allDay;return null==i&&null==(i=t)&&null==(i=o.allDayGuess)&&(i=!1),{allDay:i,duration:o.duration,typeData:o.typeData,typeId:a}}}return null}function expandRecurring(e,t,n){var r=n.dateEnv,a=n.pluginHooks,o=n.options,i=e.defs,l=e.instances;for(var s in l=filterHash(l,(function(e){return!i[e.defId].recurringDef})),i){var u=i[s];if(u.recurringDef){var c=u.recurringDef.duration;c||(c=u.allDay?o.defaultAllDayEventDuration:o.defaultTimedEventDuration);for(var d=0,f=expandRecurringRanges(u,c,t,r,a.recurringTypes);d<f.length;d++){var p=f[d],h=createEventInstance(s,{start:p,end:r.add(p,c)});l[h.instanceId]=h}}}return{defs:i,instances:l}}function expandRecurringRanges(e,t,n,r,a){var o=a[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:r.subtract(n.start,t),end:n.end},r);return e.allDay&&(o=o.map(startOfDay)),o}var INTERNAL_UNITS=["years","months","days","milliseconds"],PARSE_RE=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function createDuration(e,t){var n;return"string"==typeof e?parseString(e):"object"==typeof e&&e?parseObject(e):"number"==typeof e?parseObject(((n={})[t||"milliseconds"]=e,n)):null}function parseString(e){var t=PARSE_RE.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}function parseObject(e){var t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function durationsEqual(e,t){return e.years===t.years&&e.months===t.months&&e.days===t.days&&e.milliseconds===t.milliseconds}function addDurations(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function subtractDurations(e,t){return{years:e.years-t.years,months:e.months-t.months,days:e.days-t.days,milliseconds:e.milliseconds-t.milliseconds}}function multiplyDuration(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function asRoughYears(e){return asRoughDays(e)/365}function asRoughMonths(e){return asRoughDays(e)/30}function asRoughDays(e){return asRoughMs(e)/864e5}function asRoughMs(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function wholeDivideDurations(e,t){for(var n=null,r=0;r<INTERNAL_UNITS.length;r+=1){var a=INTERNAL_UNITS[r];if(t[a]){var o=e[a]/t[a];if(!isInt(o)||null!==n&&n!==o)return null;n=o}else if(e[a])return null}return n}function greatestDurationDenominator(e){var t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}function buildIsoString(e,t,n){void 0===n&&(n=!1);var r=e.toISOString();return r=r.replace(".000",""),n&&(r=r.replace("T00:00:00Z","")),r.length>10&&(null==t?r=r.replace("Z",""):0!==t&&(r=r.replace("Z",formatTimeZoneOffset(t,!0)))),r}function formatDayString(e){return e.toISOString().replace(/T.*$/,"")}function formatIsoTimeString(e){return padStart(e.getUTCHours(),2)+":"+padStart(e.getUTCMinutes(),2)+":"+padStart(e.getUTCSeconds(),2)}function formatTimeZoneOffset(e,t){void 0===t&&(t=!1);var n=e<0?"-":"+",r=Math.abs(e),a=Math.floor(r/60),o=Math.round(r%60);return t?n+padStart(a,2)+":"+padStart(o,2):"GMT"+n+a+(o?":"+padStart(o,2):"")}function isArraysEqual(e,t,n){if(e===t)return!0;var r,a=e.length;if(a!==t.length)return!1;for(r=0;r<a;r+=1)if(!(n?n(e[r],t[r]):e[r]===t[r]))return!1;return!0}function memoize(e,t,n){var r,a;return function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];if(r){if(!isArraysEqual(r,o)){n&&n(a);var l=e.apply(this,o);t&&t(l,a)||(a=l)}}else a=e.apply(this,o);return r=o,a}}function memoizeObjArg(e,t,n){var r,a,o=this;return function(i){if(r){if(!isPropsEqual(r,i)){n&&n(a);var l=e.call(o,i);t&&t(l,a)||(a=l)}}else a=e.call(o,i);return r=i,a}}var EXTENDED_SETTINGS_AND_SEVERITIES={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},STANDARD_DATE_PROP_SEVERITIES={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},MERIDIEM_RE=/\s*([ap])\.?m\.?/i,COMMA_RE=/,/g,MULTI_SPACE_RE=/\s+/g,LTR_RE=/\u200e/g,UTC_RE=/UTC|GMT/,NativeFormatter=function(){function e(e){var t={},n={},r=0;for(var a in e)a in EXTENDED_SETTINGS_AND_SEVERITIES?(n[a]=e[a],r=Math.max(EXTENDED_SETTINGS_AND_SEVERITIES[a],r)):(t[a]=e[a],a in STANDARD_DATE_PROP_SEVERITIES&&(r=Math.max(STANDARD_DATE_PROP_SEVERITIES[a],r)));this.standardDateProps=t,this.extendedSettings=n,this.severity=r,this.buildFormattingFunc=memoize(buildFormattingFunc)}return e.prototype.format=function(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)},e.prototype.formatRange=function(e,t,n,r){var a=this.standardDateProps,o=this.extendedSettings,i=computeMarkerDiffSeverity(e.marker,t.marker,n.calendarSystem);if(!i)return this.format(e,n);var l=i;!(l>1)||"numeric"!==a.year&&"2-digit"!==a.year||"numeric"!==a.month&&"2-digit"!==a.month||"numeric"!==a.day&&"2-digit"!==a.day||(l=1);var s=this.format(e,n),u=this.format(t,n);if(s===u)return s;var c=buildFormattingFunc(computePartialFormattingOptions(a,l),o,n),d=c(e),f=c(t),p=findCommonInsertion(s,d,u,f),h=o.separator||r||n.defaultSeparator||"";return p?p.before+d+h+f+p.after:s+h+u},e.prototype.getLargestUnit=function(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}},e}();function buildFormattingFunc(e,t,n){var r=Object.keys(e).length;return 1===r&&"short"===e.timeZoneName?function(e){return formatTimeZoneOffset(e.timeZoneOffset)}:0===r&&t.week?function(e){return formatWeekNumber(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week)}:buildNativeFormattingFunc(e,t,n)}function buildNativeFormattingFunc(e,t,n){e=__assign$1({},e),t=__assign$1({},t),sanitizeSettings(e,t),e.timeZone="UTC";var r,a=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){var o=__assign$1({},e);delete o.minute,r=new Intl.DateTimeFormat(n.locale.codes,o)}return function(o){var i=o.marker;return postProcess((r&&!i.getUTCMinutes()?r:a).format(i),o,e,t,n)}}function sanitizeSettings(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit")),"long"===e.timeZoneName&&(e.timeZoneName="short"),t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}function postProcess(e,t,n,r,a){return e=e.replace(LTR_RE,""),"short"===n.timeZoneName&&(e=injectTzoStr(e,"UTC"===a.timeZone||null==t.timeZoneOffset?"UTC":formatTimeZoneOffset(t.timeZoneOffset))),r.omitCommas&&(e=e.replace(COMMA_RE,"").trim()),r.omitZeroMinute&&(e=e.replace(":00","")),!1===r.meridiem?e=e.replace(MERIDIEM_RE,"").trim():"narrow"===r.meridiem?e=e.replace(MERIDIEM_RE,(function(e,t){return t.toLocaleLowerCase()})):"short"===r.meridiem?e=e.replace(MERIDIEM_RE,(function(e,t){return t.toLocaleLowerCase()+"m"})):"lowercase"===r.meridiem&&(e=e.replace(MERIDIEM_RE,(function(e){return e.toLocaleLowerCase()}))),e=(e=e.replace(MULTI_SPACE_RE," ")).trim()}function injectTzoStr(e,t){var n=!1;return e=e.replace(UTC_RE,(function(){return n=!0,t})),n||(e+=" "+t),e}function formatWeekNumber(e,t,n,r,a){var o=[];return"long"===a?o.push(n):"short"!==a&&"narrow"!==a||o.push(t),"long"!==a&&"short"!==a||o.push(" "),o.push(r.simpleNumberFormat.format(e)),"rtl"===r.options.direction&&o.reverse(),o.join("")}function computeMarkerDiffSeverity(e,t,n){return n.getMarkerYear(e)!==n.getMarkerYear(t)?5:n.getMarkerMonth(e)!==n.getMarkerMonth(t)?4:n.getMarkerDay(e)!==n.getMarkerDay(t)?2:timeAsMs(e)!==timeAsMs(t)?1:0}function computePartialFormattingOptions(e,t){var n={};for(var r in e)(!(r in STANDARD_DATE_PROP_SEVERITIES)||STANDARD_DATE_PROP_SEVERITIES[r]<=t)&&(n[r]=e[r]);return n}function findCommonInsertion(e,t,n,r){for(var a=0;a<e.length;){var o=e.indexOf(t,a);if(-1===o)break;var i=e.substr(0,o);a=o+t.length;for(var l=e.substr(a),s=0;s<n.length;){var u=n.indexOf(r,s);if(-1===u)break;var c=n.substr(0,u);s=u+r.length;var d=n.substr(s);if(i===c&&l===d)return{before:i,after:l}}}return null}function expandZonedMarker(e,t){var n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function createVerboseFormattingArg(e,t,n,r){var a=expandZonedMarker(e,n.calendarSystem);return{date:a,start:a,end:t?expandZonedMarker(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:r||n.defaultSeparator}}var CmdFormatter=function(){function e(e){this.cmdStr=e}return e.prototype.format=function(e,t,n){return t.cmdFormatter(this.cmdStr,createVerboseFormattingArg(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return n.cmdFormatter(this.cmdStr,createVerboseFormattingArg(e,t,n,r))},e}(),FuncFormatter=function(){function e(e){this.func=e}return e.prototype.format=function(e,t,n){return this.func(createVerboseFormattingArg(e,null,t,n))},e.prototype.formatRange=function(e,t,n,r){return this.func(createVerboseFormattingArg(e,t,n,r))},e}();function createFormatter(e){return"object"==typeof e&&e?new NativeFormatter(e):"string"==typeof e?new CmdFormatter(e):"function"==typeof e?new FuncFormatter(e):null}var BASE_OPTION_REFINERS={navLinkDayClick:identity,navLinkWeekClick:identity,duration:createDuration,bootstrapFontAwesome:identity,buttonIcons:identity,customButtons:identity,defaultAllDayEventDuration:createDuration,defaultTimedEventDuration:createDuration,nextDayThreshold:createDuration,scrollTime:createDuration,scrollTimeReset:Boolean,slotMinTime:createDuration,slotMaxTime:createDuration,dayPopoverFormat:createFormatter,slotDuration:createDuration,snapDuration:createDuration,headerToolbar:identity,footerToolbar:identity,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:createFormatter,dayHeaderClassNames:identity,dayHeaderContent:identity,dayHeaderDidMount:identity,dayHeaderWillUnmount:identity,dayCellClassNames:identity,dayCellContent:identity,dayCellDidMount:identity,dayCellWillUnmount:identity,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:identity,weekNumbers:Boolean,weekNumberClassNames:identity,weekNumberContent:identity,weekNumberDidMount:identity,weekNumberWillUnmount:identity,editable:Boolean,viewClassNames:identity,viewDidMount:identity,viewWillUnmount:identity,nowIndicator:Boolean,nowIndicatorClassNames:identity,nowIndicatorContent:identity,nowIndicatorDidMount:identity,nowIndicatorWillUnmount:identity,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:identity,locale:identity,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:identity,eventOrder:parseFieldSpecs,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:identity,contentHeight:identity,direction:String,weekNumberFormat:createFormatter,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:identity,initialDate:identity,now:identity,eventDataTransform:identity,stickyHeaderDates:identity,stickyFooterScrollbar:identity,viewHeight:identity,defaultAllDay:Boolean,eventSourceFailure:identity,eventSourceSuccess:identity,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:identity,eventConstraint:identity,eventAllow:identity,eventBackgroundColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:identity,eventContent:identity,eventDidMount:identity,eventWillUnmount:identity,selectConstraint:identity,selectOverlap:identity,selectAllow:identity,droppable:Boolean,unselectCancel:String,slotLabelFormat:identity,slotLaneClassNames:identity,slotLaneContent:identity,slotLaneDidMount:identity,slotLaneWillUnmount:identity,slotLabelClassNames:identity,slotLabelContent:identity,slotLabelDidMount:identity,slotLabelWillUnmount:identity,dayMaxEvents:identity,dayMaxEventRows:identity,dayMinWidth:Number,slotLabelInterval:createDuration,allDayText:String,allDayClassNames:identity,allDayContent:identity,allDayDidMount:identity,allDayWillUnmount:identity,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:createFormatter,rerenderDelay:Number,moreLinkText:identity,moreLinkHint:identity,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:identity,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:createDuration,hiddenDays:identity,monthMode:Boolean,fixedWeekCount:Boolean,validRange:identity,visibleRange:identity,titleFormat:identity,eventInteractive:Boolean,noEventsText:String,viewHint:identity,navLinkHint:identity,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:identity,moreLinkClassNames:identity,moreLinkContent:identity,moreLinkDidMount:identity,moreLinkWillUnmount:identity},BASE_OPTION_DEFAULTS={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" – ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30},CALENDAR_LISTENER_REFINERS={datesSet:identity,eventsSet:identity,eventAdd:identity,eventChange:identity,eventRemove:identity,windowResize:identity,eventClick:identity,eventMouseEnter:identity,eventMouseLeave:identity,select:identity,unselect:identity,loading:identity,_unmount:identity,_beforeprint:identity,_afterprint:identity,_noEventDrop:identity,_noEventResize:identity,_resize:identity,_scrollRequest:identity},CALENDAR_OPTION_REFINERS={buttonText:identity,buttonHints:identity,views:identity,plugins:identity,initialEvents:identity,events:identity,eventSources:identity},COMPLEX_OPTION_COMPARATORS={headerToolbar:isMaybeObjectsEqual,footerToolbar:isMaybeObjectsEqual,buttonText:isMaybeObjectsEqual,buttonHints:isMaybeObjectsEqual,buttonIcons:isMaybeObjectsEqual,dateIncrement:isMaybeObjectsEqual};function isMaybeObjectsEqual(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?isPropsEqual(e,t):e===t}var VIEW_OPTION_REFINERS={type:String,component:identity,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:identity,usesMinMaxTime:Boolean,classNames:identity,content:identity,didMount:identity,willUnmount:identity};function mergeRawOptions(e){return mergeProps(e,COMPLEX_OPTION_COMPARATORS)}function refineProps(e,t){var n={},r={};for(var a in t)a in e&&(n[a]=t[a](e[a]));for(var a in e)a in t||(r[a]=e[a]);return{refined:n,extra:r}}function identity(e){return e}function parseEvents(e,t,n,r){for(var a=createEmptyEventStore(),o=buildEventRefiners(n),i=0,l=e;i<l.length;i++){var s=parseEvent(l[i],t,n,r,o);s&&eventTupleToStore(s,a)}return a}function eventTupleToStore(e,t){return void 0===t&&(t=createEmptyEventStore()),t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function getRelevantEvents(e,t){var n=e.instances[t];if(n){var r=e.defs[n.defId],a=filterEventStoreDefs(e,(function(e){return isEventDefsGrouped(r,e)}));return a.defs[r.defId]=r,a.instances[n.instanceId]=n,a}return createEmptyEventStore()}function isEventDefsGrouped(e,t){return Boolean(e.groupId&&e.groupId===t.groupId)}function createEmptyEventStore(){return{defs:{},instances:{}}}function mergeEventStores(e,t){return{defs:__assign$1(__assign$1({},e.defs),t.defs),instances:__assign$1(__assign$1({},e.instances),t.instances)}}function filterEventStoreDefs(e,t){var n=filterHash(e.defs,t),r=filterHash(e.instances,(function(e){return n[e.defId]}));return{defs:n,instances:r}}function excludeSubEventStore(e,t){var n=e.defs,r=e.instances,a={},o={};for(var i in n)t.defs[i]||(a[i]=n[i]);for(var l in r)!t.instances[l]&&a[r[l].defId]&&(o[l]=r[l]);return{defs:a,instances:o}}function normalizeConstraint(e,t){return Array.isArray(e)?parseEvents(e,null,t,!0):"object"==typeof e&&e?parseEvents([e],null,t,!0):null!=e?String(e):null}function parseClassNames(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}var EVENT_UI_REFINERS={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:identity,overlap:identity,allow:identity,className:parseClassNames,classNames:parseClassNames,color:String,backgroundColor:String,borderColor:String,textColor:String},EMPTY_EVENT_UI={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function createEventUi(e,t){var n=normalizeConstraint(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function combineEventUis(e){return e.reduce(combineTwoEventUis,EMPTY_EVENT_UI)}function combineTwoEventUis(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var EVENT_NON_DATE_REFINERS={id:String,groupId:String,title:String,url:String,interactive:Boolean},EVENT_DATE_REFINERS={start:identity,end:identity,date:identity,allDay:Boolean},EVENT_REFINERS=__assign$1(__assign$1(__assign$1({},EVENT_NON_DATE_REFINERS),EVENT_DATE_REFINERS),{extendedProps:identity});function parseEvent(e,t,n,r,a){void 0===a&&(a=buildEventRefiners(n));var o=refineEventDef(e,n,a),i=o.refined,l=o.extra,s=computeIsDefaultAllDay(t,n),u=parseRecurring(i,s,n.dateEnv,n.pluginHooks.recurringTypes);if(u)return(c=parseEventDef(i,l,t?t.sourceId:"",u.allDay,Boolean(u.duration),n)).recurringDef={typeId:u.typeId,typeData:u.typeData,duration:u.duration},{def:c,instance:null};var c,d=parseSingle(i,s,n,r);return d?{def:c=parseEventDef(i,l,t?t.sourceId:"",d.allDay,d.hasEnd,n),instance:createEventInstance(c.defId,d.range,d.forcedStartTzo,d.forcedEndTzo)}:null}function refineEventDef(e,t,n){return void 0===n&&(n=buildEventRefiners(t)),refineProps(e,n)}function buildEventRefiners(e){return __assign$1(__assign$1(__assign$1({},EVENT_UI_REFINERS),EVENT_REFINERS),e.pluginHooks.eventRefiners)}function parseEventDef(e,t,n,r,a,o){for(var i={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:guid(),sourceId:n,allDay:r,hasEnd:a,interactive:e.interactive,ui:createEventUi(e,o),extendedProps:__assign$1(__assign$1({},e.extendedProps||{}),t)},l=0,s=o.pluginHooks.eventDefMemberAdders;l<s.length;l++){var u=s[l];__assign$1(i,u(e))}return Object.freeze(i.ui.classNames),Object.freeze(i.extendedProps),i}function parseSingle(e,t,n,r){var a,o,i=e.allDay,l=null,s=!1,u=null,c=null!=e.start?e.start:e.date;if(a=n.dateEnv.createMarkerMeta(c))l=a.marker;else if(!r)return null;return null!=e.end&&(o=n.dateEnv.createMarkerMeta(e.end)),null==i&&(i=null!=t?t:(!a||a.isTimeUnspecified)&&(!o||o.isTimeUnspecified)),i&&l&&(l=startOfDay(l)),o&&(u=o.marker,i&&(u=startOfDay(u)),l&&u<=l&&(u=null)),u?s=!0:r||(s=n.options.forceEventDuration||!1,u=n.dateEnv.add(l,i?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration)),{allDay:i,hasEnd:s,range:{start:l,end:u},forcedStartTzo:a?a.forcedTzo:null,forcedEndTzo:o?o.forcedTzo:null}}function computeIsDefaultAllDay(e,t){var n=null;return e&&(n=e.defaultAllDay),null==n&&(n=t.options.defaultAllDay),n}function computeAlignedDayRange(e){var t=Math.floor(diffDays(e.start,e.end))||1,n=startOfDay(e.start);return{start:n,end:addDays(n,t)}}function computeVisibleDayRange(e,t){void 0===t&&(t=createDuration(0));var n=null,r=null;if(e.end){r=startOfDay(e.end);var a=e.end.valueOf()-r.valueOf();a&&a>=asRoughMs(t)&&(r=addDays(r,1))}return e.start&&(n=startOfDay(e.start),r&&r<=n&&(r=addDays(n,1))),{start:n,end:r}}function isMultiDayRange(e){var t=computeVisibleDayRange(e);return diffDays(t.start,t.end)>1}function diffDates(e,t,n,r){return"year"===r?createDuration(n.diffWholeYears(e,t),"year"):"month"===r?createDuration(n.diffWholeMonths(e,t),"month"):diffDayAndTime(e,t)}function parseRange(e,t){var n=null,r=null;return e.start&&(n=t.createMarker(e.start)),e.end&&(r=t.createMarker(e.end)),n||r?n&&r&&r<n?null:{start:n,end:r}:null}function invertRanges(e,t){var n,r,a=[],o=t.start;for(e.sort(compareRanges),n=0;n<e.length;n+=1)(r=e[n]).start>o&&a.push({start:o,end:r.start}),r.end>o&&(o=r.end);return o<t.end&&a.push({start:o,end:t.end}),a}function compareRanges(e,t){return e.start.valueOf()-t.start.valueOf()}function intersectRanges(e,t){var n=e.start,r=e.end,a=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(r=null===r?t.end:new Date(Math.min(r.valueOf(),t.end.valueOf()))),(null===n||null===r||n<r)&&(a={start:n,end:r}),a}function rangesEqual(e,t){return(null===e.start?null:e.start.valueOf())===(null===t.start?null:t.start.valueOf())&&(null===e.end?null:e.end.valueOf())===(null===t.end?null:t.end.valueOf())}function rangesIntersect(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function rangeContainsRange(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function rangeContainsMarker(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function constrainMarkerToRange(e,t){return null!=t.start&&e<t.start?t.start:null!=t.end&&e>=t.end?new Date(t.end.valueOf()-1):e}function sliceEventStore(e,t,n,r){var a={},o={},i={},l=[],s=[],u=compileEventUis(e.defs,t);for(var c in e.defs){"inverse-background"===(p=u[(w=e.defs[c]).defId]).display&&(w.groupId?(a[w.groupId]=[],i[w.groupId]||(i[w.groupId]=w)):o[c]=[])}for(var d in e.instances){var f=e.instances[d],p=u[(w=e.defs[f.defId]).defId],h=f.range,m=!w.allDay&&r?computeVisibleDayRange(h,r):h,v=intersectRanges(m,n);v&&("inverse-background"===p.display?w.groupId?a[w.groupId].push(v):o[f.defId].push(v):"none"!==p.display&&("background"===p.display?l:s).push({def:w,ui:p,instance:f,range:v,isStart:m.start&&m.start.valueOf()===v.start.valueOf(),isEnd:m.end&&m.end.valueOf()===v.end.valueOf()}))}for(var g in a)for(var y=0,b=invertRanges(a[g],n);y<b.length;y++){var w,S=b[y];p=u[(w=i[g]).defId];l.push({def:w,ui:p,instance:null,range:S,isStart:!1,isEnd:!1})}for(var c in o)for(var E=0,_=invertRanges(o[c],n);E<_.length;E++){S=_[E];l.push({def:e.defs[c],ui:u[c],instance:null,range:S,isStart:!1,isEnd:!1})}return{bg:l,fg:s}}function hasBgRendering(e){return"background"===e.ui.display||"inverse-background"===e.ui.display}function setElSeg(e,t){e.fcSeg=t}function getElSeg(e){return e.fcSeg||e.parentNode.fcSeg||null}function compileEventUis(e,t){return mapHash(e,(function(e){return compileEventUi(e,t)}))}function compileEventUi(e,t){var n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),combineEventUis(n)}function sortEventSegs(e,t){var n=e.map(buildSegCompareObj);return n.sort((function(e,n){return compareByFieldSpecs(e,n,t)})),n.map((function(e){return e._seg}))}function buildSegCompareObj(e){var t=e.eventRange,n=t.def,r=t.instance?t.instance.range:t.range,a=r.start?r.start.valueOf():0,o=r.end?r.end.valueOf():0;return __assign$1(__assign$1(__assign$1({},n.extendedProps),n),{id:n.publicId,start:a,end:o,duration:o-a,allDay:Number(n.allDay),_seg:e})}function computeSegDraggable(e,t){for(var n=t.pluginHooks.isDraggableTransformers,r=e.eventRange,a=r.def,o=r.ui,i=o.startEditable,l=0,s=n;l<s.length;l++){i=(0,s[l])(i,a,o,t)}return i}function computeSegStartResizable(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function computeSegEndResizable(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function buildSegTimeText(e,t,n,r,a,o,i){var l=n.dateEnv,s=n.options,u=s.displayEventTime,c=s.displayEventEnd,d=e.eventRange.def,f=e.eventRange.instance;null==u&&(u=!1!==r),null==c&&(c=!1!==a);var p=f.range.start,h=f.range.end,m=o||e.start||e.eventRange.range.start,v=i||e.end||e.eventRange.range.end,g=startOfDay(p).valueOf()===startOfDay(m).valueOf(),y=startOfDay(addMs(h,-1)).valueOf()===startOfDay(addMs(v,-1)).valueOf();return u&&!d.allDay&&(g||y)?(m=g?p:m,v=y?h:v,c&&d.hasEnd?l.formatRange(m,v,t,{forcedStartTzo:o?null:f.forcedStartTzo,forcedEndTzo:i?null:f.forcedEndTzo}):l.format(m,t,{forcedTzo:o?null:f.forcedStartTzo})):""}function getSegMeta(e,t,n){var r=e.eventRange.range;return{isPast:r.end<(n||t.start),isFuture:r.start>=(n||t.end),isToday:t&&rangeContainsMarker(t,r.start)}}function getEventClassNames(e){var t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}function buildEventRangeKey(e){return e.instance?e.instance.instanceId:e.def.defId+":"+e.range.start.toISOString()}function getSegAnchorAttrs(e,t){var n=e.eventRange,r=n.def,a=n.instance,o=r.url;if(o)return{href:o};var i=t.emitter,l=t.options.eventInteractive;return null==l&&null==(l=r.interactive)&&(l=Boolean(i.hasHandlers("eventClick"))),l?createAriaKeyboardAttrs((function(e){i.trigger("eventClick",{el:e.target,event:new EventApi(t,r,a),jsEvent:e,view:t.viewApi})})):{}}var STANDARD_PROPS={start:identity,end:identity,allDay:Boolean};function parseDateSpan(e,t,n){var r=parseOpenDateSpan(e,t),a=r.range;if(!a.start)return null;if(!a.end){if(null==n)return null;a.end=t.add(a.start,n)}return r}function parseOpenDateSpan(e,t){var n=refineProps(e,STANDARD_PROPS),r=n.refined,a=n.extra,o=r.start?t.createMarkerMeta(r.start):null,i=r.end?t.createMarkerMeta(r.end):null,l=r.allDay;return null==l&&(l=o&&o.isTimeUnspecified&&(!i||i.isTimeUnspecified)),__assign$1({range:{start:o?o.marker:null,end:i?i.marker:null},allDay:l},a)}function isDateSpansEqual(e,t){return rangesEqual(e.range,t.range)&&e.allDay===t.allDay&&isSpanPropsEqual(e,t)}function isSpanPropsEqual(e,t){for(var n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(var n in e)if(!(n in t))return!1;return!0}function buildDateSpanApi(e,t){return __assign$1(__assign$1({},buildRangeApi(e.range,t,e.allDay)),{allDay:e.allDay})}function buildRangeApiWithTimeZone(e,t,n){return __assign$1(__assign$1({},buildRangeApi(e,t,n)),{timeZone:t.timeZone})}function buildRangeApi(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}function fabricateEventRange(e,t,n){var r=refineEventDef({editable:!1},n),a=parseEventDef(r.refined,r.extra,"",e.allDay,!0,n);return{def:a,ui:compileEventUi(a,t),instance:createEventInstance(a.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}function triggerDateSelect(e,t,n){n.emitter.trigger("select",__assign$1(__assign$1({},buildDateSpanApiWithContext(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function triggerDateUnselect(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}function buildDateSpanApiWithContext(e,t){for(var n={},r=0,a=t.pluginHooks.dateSpanTransforms;r<a.length;r++){var o=a[r];__assign$1(n,o(e,t))}return __assign$1(n,buildDateSpanApi(e,t.dateEnv)),n}function getDefaultEventEnd(e,t,n){var r=n.dateEnv,a=n.options,o=t;return e?(o=startOfDay(o),o=r.add(o,a.defaultAllDayEventDuration)):o=r.add(o,a.defaultTimedEventDuration),o}function applyMutationToEventStore(e,t,n,r){var a=compileEventUis(e.defs,t),o=createEmptyEventStore();for(var i in e.defs){var l=e.defs[i];o.defs[i]=applyMutationToEventDef(l,a[i],n,r)}for(var s in e.instances){var u=e.instances[s];l=o.defs[u.defId];o.instances[s]=applyMutationToEventInstance(u,l,a[u.defId],n,r)}return o}function applyMutationToEventDef(e,t,n,r){var a=n.standardProps||{};null==a.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(a.hasEnd=!0);var o=__assign$1(__assign$1(__assign$1({},e),a),{ui:__assign$1(__assign$1({},e.ui),a.ui)});n.extendedProps&&(o.extendedProps=__assign$1(__assign$1({},o.extendedProps),n.extendedProps));for(var i=0,l=r.pluginHooks.eventDefMutationAppliers;i<l.length;i++){(0,l[i])(o,n,r)}return!o.hasEnd&&r.options.forceEventDuration&&(o.hasEnd=!0),o}function applyMutationToEventInstance(e,t,n,r,a){var o=a.dateEnv,i=r.standardProps&&!0===r.standardProps.allDay,l=r.standardProps&&!1===r.standardProps.hasEnd,s=__assign$1({},e);return i&&(s.range=computeAlignedDayRange(s.range)),r.datesDelta&&n.startEditable&&(s.range={start:o.add(s.range.start,r.datesDelta),end:o.add(s.range.end,r.datesDelta)}),r.startDelta&&n.durationEditable&&(s.range={start:o.add(s.range.start,r.startDelta),end:s.range.end}),r.endDelta&&n.durationEditable&&(s.range={start:s.range.start,end:o.add(s.range.end,r.endDelta)}),l&&(s.range={start:s.range.start,end:getDefaultEventEnd(t.allDay,s.range.start,a)}),t.allDay&&(s.range={start:startOfDay(s.range.start),end:startOfDay(s.range.end)}),s.range.end<s.range.start&&(s.range.end=getDefaultEventEnd(t.allDay,s.range.start,a)),s}var ViewApi=function(){function e(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}return Object.defineProperty(e.prototype,"calendar",{get:function(){return this.getCurrentData().calendarApi},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this.getCurrentData().viewTitle},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"activeEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentStart",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"currentEnd",{get:function(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)},enumerable:!1,configurable:!0}),e.prototype.getOption=function(e){return this.getCurrentData().options[e]},e}(),EVENT_SOURCE_REFINERS={id:String,defaultAllDay:Boolean,url:String,format:String,events:identity,eventDataTransform:identity,success:identity,failure:identity};function parseEventSource(e,t,n){var r;if(void 0===n&&(n=buildEventSourceRefiners(t)),"string"==typeof e?r={url:e}:"function"==typeof e||Array.isArray(e)?r={events:e}:"object"==typeof e&&e&&(r=e),r){var a=refineProps(r,n),o=a.refined,i=a.extra,l=buildEventSourceMeta(o,t);if(l)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:o.defaultAllDay,eventDataTransform:o.eventDataTransform,success:o.success,failure:o.failure,publicId:o.id||"",sourceId:guid(),sourceDefId:l.sourceDefId,meta:l.meta,ui:createEventUi(o,t),extendedProps:i}}return null}function buildEventSourceRefiners(e){return __assign$1(__assign$1(__assign$1({},EVENT_UI_REFINERS),EVENT_SOURCE_REFINERS),e.pluginHooks.eventSourceRefiners)}function buildEventSourceMeta(e,t){for(var n=t.pluginHooks.eventSourceDefs,r=n.length-1;r>=0;r-=1){var a=n[r].parseMeta(e);if(a)return{sourceDefId:r,meta:a}}return null}function reduceCurrentDate(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}function getInitialDate(e,t){var n=e.initialDate;return null!=n?t.createMarker(n):getNow(e.now,t)}function getNow(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}var CalendarApi=function(){function e(){}return e.prototype.getCurrentData=function(){return this.currentDataManager.getCurrentData()},e.prototype.dispatch=function(e){return this.currentDataManager.dispatch(e)},Object.defineProperty(e.prototype,"view",{get:function(){return this.getCurrentData().viewApi},enumerable:!1,configurable:!0}),e.prototype.batchRendering=function(e){e()},e.prototype.updateSize=function(){this.trigger("_resize",!0)},e.prototype.setOption=function(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})},e.prototype.getOption=function(e){return this.currentDataManager.currentCalendarOptionsInput[e]},e.prototype.getAvailableLocaleCodes=function(){return Object.keys(this.getCurrentData().availableRawLocales)},e.prototype.on=function(e,t){var n=this.currentDataManager;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn("Unknown listener name '"+e+"'")},e.prototype.off=function(e,t){this.currentDataManager.emitter.off(e,t)},e.prototype.trigger=function(e){for(var t,n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];(t=this.currentDataManager.emitter).trigger.apply(t,__spreadArray([e],n))},e.prototype.changeView=function(e,t){var n=this;this.batchRendering((function(){if(n.unselect(),t)if(t.start&&t.end)n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),n.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{var r=n.getCurrentData().dateEnv;n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:r.createMarker(t)})}else n.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))},e.prototype.zoomTo=function(e,t){var n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})},e.prototype.getUnitViewSpec=function(e){var t,n,r=this.getCurrentData(),a=r.viewSpecs,o=r.toolbarConfig,i=[].concat(o.header?o.header.viewsWithButtons:[],o.footer?o.footer.viewsWithButtons:[]);for(var l in a)i.push(l);for(t=0;t<i.length;t+=1)if((n=a[i[t]])&&n.singleUnit===e)return n;return null},e.prototype.prev=function(){this.unselect(),this.dispatch({type:"PREV"})},e.prototype.next=function(){this.unselect(),this.dispatch({type:"NEXT"})},e.prototype.prevYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})},e.prototype.nextYear=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})},e.prototype.today=function(){var e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:getNow(e.calendarOptions.now,e.dateEnv)})},e.prototype.gotoDate=function(e){var t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})},e.prototype.incrementDate=function(e){var t=this.getCurrentData(),n=createDuration(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))},e.prototype.getDate=function(){var e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)},e.prototype.formatDate=function(e,t){var n=this.getCurrentData().dateEnv;return n.format(n.createMarker(e),createFormatter(t))},e.prototype.formatRange=function(e,t,n){var r=this.getCurrentData().dateEnv;return r.formatRange(r.createMarker(e),r.createMarker(t),createFormatter(n),n)},e.prototype.formatIso=function(e,t){var n=this.getCurrentData().dateEnv;return n.formatIso(n.createMarker(e),{omitTime:t})},e.prototype.select=function(e,t){var n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};var r=this.getCurrentData(),a=parseDateSpan(n,r.dateEnv,createDuration({days:1}));a&&(this.dispatch({type:"SELECT_DATES",selection:a}),triggerDateSelect(a,null,r))},e.prototype.unselect=function(e){var t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),triggerDateUnselect(e,t))},e.prototype.addEvent=function(e,t){if(e instanceof EventApi){var n=e._def,r=e._instance;return this.getCurrentData().eventStore.defs[n.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:eventTupleToStore({def:n,instance:r})}),this.triggerEventAdd(e)),e}var a,o=this.getCurrentData();if(t instanceof EventSourceApi)a=t.internalEventSource;else if("boolean"==typeof t)t&&(a=hashValuesToArray(o.eventSources)[0]);else if(null!=t){var i=this.getEventSourceById(t);if(!i)return console.warn('Could not find an event source with ID "'+t+'"'),null;a=i.internalEventSource}var l=parseEvent(e,a,o,!1);if(l){var s=new EventApi(o,l.def,l.def.recurringDef?null:l.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:eventTupleToStore(l)}),this.triggerEventAdd(s),s}return null},e.prototype.triggerEventAdd=function(e){var t=this;this.getCurrentData().emitter.trigger("eventAdd",{event:e,relatedEvents:[],revert:function(){t.dispatch({type:"REMOVE_EVENTS",eventStore:eventApiToStore(e)})}})},e.prototype.getEventById=function(e){var t=this.getCurrentData(),n=t.eventStore,r=n.defs,a=n.instances;for(var o in e=String(e),r){var i=r[o];if(i.publicId===e){if(i.recurringDef)return new EventApi(t,i,null);for(var l in a){var s=a[l];if(s.defId===i.defId)return new EventApi(t,i,s)}}}return null},e.prototype.getEvents=function(){var e=this.getCurrentData();return buildEventApis(e.eventStore,e)},e.prototype.removeAllEvents=function(){this.dispatch({type:"REMOVE_ALL_EVENTS"})},e.prototype.getEventSources=function(){var e=this.getCurrentData(),t=e.eventSources,n=[];for(var r in t)n.push(new EventSourceApi(e,t[r]));return n},e.prototype.getEventSourceById=function(e){var t=this.getCurrentData(),n=t.eventSources;for(var r in e=String(e),n)if(n[r].publicId===e)return new EventSourceApi(t,n[r]);return null},e.prototype.addEventSource=function(e){var t=this.getCurrentData();if(e instanceof EventSourceApi)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;var n=parseEventSource(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new EventSourceApi(t,n)):null},e.prototype.removeAllEventSources=function(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})},e.prototype.refetchEvents=function(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})},e.prototype.scrollToTime=function(e){var t=createDuration(e);t&&this.trigger("_scrollRequest",{time:t})},e}(),EventApi=function(){function e(e,t,n){this._context=e,this._def=t,this._instance=n||null}return e.prototype.setProp=function(e,t){var n,r;if(e in EVENT_DATE_REFINERS)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=EVENT_NON_DATE_REFINERS[e](t),this.mutate({standardProps:{publicId:t}});else if(e in EVENT_NON_DATE_REFINERS)t=EVENT_NON_DATE_REFINERS[e](t),this.mutate({standardProps:(n={},n[e]=t,n)});else if(e in EVENT_UI_REFINERS){var a=EVENT_UI_REFINERS[e](t);"color"===e?a={backgroundColor:t,borderColor:t}:"editable"===e?a={startEditable:t,durationEditable:t}:((r={})[e]=t,a=r),this.mutate({standardProps:{ui:a}})}else console.warn("Could not set prop '"+e+"'. Use setExtendedProp instead.")},e.prototype.setExtendedProp=function(e,t){var n;this.mutate({extendedProps:(n={},n[e]=t,n)})},e.prototype.setStart=function(e,t){void 0===t&&(t={});var n=this._context.dateEnv,r=n.createMarker(e);if(r&&this._instance){var a=diffDates(this._instance.range.start,r,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:a}):this.mutate({startDelta:a})}},e.prototype.setEnd=function(e,t){void 0===t&&(t={});var n,r=this._context.dateEnv;if((null==e||(n=r.createMarker(e)))&&this._instance)if(n){var a=diffDates(this._instance.range.end,n,r,t.granularity);this.mutate({endDelta:a})}else this.mutate({standardProps:{hasEnd:!1}})},e.prototype.setDates=function(e,t,n){void 0===n&&(n={});var r,a=this._context.dateEnv,o={allDay:n.allDay},i=a.createMarker(e);if(i&&(null==t||(r=a.createMarker(t)))&&this._instance){var l=this._instance.range;!0===n.allDay&&(l=computeAlignedDayRange(l));var s=diffDates(l.start,i,a,n.granularity);if(r){var u=diffDates(l.end,r,a,n.granularity);durationsEqual(s,u)?this.mutate({datesDelta:s,standardProps:o}):this.mutate({startDelta:s,endDelta:u,standardProps:o})}else o.hasEnd=!1,this.mutate({datesDelta:s,standardProps:o})}},e.prototype.moveStart=function(e){var t=createDuration(e);t&&this.mutate({startDelta:t})},e.prototype.moveEnd=function(e){var t=createDuration(e);t&&this.mutate({endDelta:t})},e.prototype.moveDates=function(e){var t=createDuration(e);t&&this.mutate({datesDelta:t})},e.prototype.setAllDay=function(e,t){void 0===t&&(t={});var n={allDay:e},r=t.maintainDuration;null==r&&(r=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=r),this.mutate({standardProps:n})},e.prototype.formatRange=function(e){var t=this._context.dateEnv,n=this._instance,r=createFormatter(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,r,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,r,{forcedTzo:n.forcedStartTzo})},e.prototype.mutate=function(t){var n=this._instance;if(n){var r=this._def,a=this._context,o=a.getCurrentData().eventStore,i=getRelevantEvents(o,n.instanceId);i=applyMutationToEventStore(i,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},t,a);var l=new e(a,r,n);this._def=i.defs[r.defId],this._instance=i.instances[n.instanceId],a.dispatch({type:"MERGE_EVENTS",eventStore:i}),a.emitter.trigger("eventChange",{oldEvent:l,event:this,relatedEvents:buildEventApis(i,a,n),revert:function(){a.dispatch({type:"RESET_EVENTS",eventStore:o})}})}},e.prototype.remove=function(){var e=this._context,t=eventApiToStore(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert:function(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})},Object.defineProperty(e.prototype,"source",{get:function(){var e=this._def.sourceId;return e?new EventSourceApi(this._context,this._context.getCurrentData().eventSources[e]):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"start",{get:function(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"end",{get:function(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startStr",{get:function(){var e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"endStr",{get:function(){var e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"id",{get:function(){return this._def.publicId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"groupId",{get:function(){return this._def.groupId},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allDay",{get:function(){return this._def.allDay},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"title",{get:function(){return this._def.title},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"url",{get:function(){return this._def.url},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"display",{get:function(){return this._def.ui.display||"auto"},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"startEditable",{get:function(){return this._def.ui.startEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"durationEditable",{get:function(){return this._def.ui.durationEditable},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"constraint",{get:function(){return this._def.ui.constraints[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"overlap",{get:function(){return this._def.ui.overlap},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"allow",{get:function(){return this._def.ui.allows[0]||null},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"backgroundColor",{get:function(){return this._def.ui.backgroundColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"borderColor",{get:function(){return this._def.ui.borderColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"textColor",{get:function(){return this._def.ui.textColor},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"classNames",{get:function(){return this._def.ui.classNames},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"extendedProps",{get:function(){return this._def.extendedProps},enumerable:!1,configurable:!0}),e.prototype.toPlainObject=function(e){void 0===e&&(e={});var t=this._def,n=t.ui,r=this.startStr,a=this.endStr,o={};return t.title&&(o.title=t.title),r&&(o.start=r),a&&(o.end=a),t.publicId&&(o.id=t.publicId),t.groupId&&(o.groupId=t.groupId),t.url&&(o.url=t.url),n.display&&"auto"!==n.display&&(o.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?o.color=n.backgroundColor:(n.backgroundColor&&(o.backgroundColor=n.backgroundColor),n.borderColor&&(o.borderColor=n.borderColor)),n.textColor&&(o.textColor=n.textColor),n.classNames.length&&(o.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?__assign$1(o,t.extendedProps):o.extendedProps=t.extendedProps),o},e.prototype.toJSON=function(){return this.toPlainObject()},e}();function eventApiToStore(e){var t,n,r=e._def,a=e._instance;return{defs:(t={},t[r.defId]=r,t),instances:a?(n={},n[a.instanceId]=a,n):{}}}function buildEventApis(e,t,n){var r=e.defs,a=e.instances,o=[],i=n?n.instanceId:"";for(var l in a){var s=a[l],u=r[s.defId];s.instanceId!==i&&o.push(new EventApi(t,u,s))}return o}var calendarSystemClassMap={};function registerCalendarSystem(e,t){calendarSystemClassMap[e]=t}function createCalendarSystem(e){return new calendarSystemClassMap[e]}var GregorianCalendarSystem=function(){function e(){}return e.prototype.getMarkerYear=function(e){return e.getUTCFullYear()},e.prototype.getMarkerMonth=function(e){return e.getUTCMonth()},e.prototype.getMarkerDay=function(e){return e.getUTCDate()},e.prototype.arrayToMarker=function(e){return arrayToUtcDate(e)},e.prototype.markerToArray=function(e){return dateToUtcArray(e)},e}();registerCalendarSystem("gregory",GregorianCalendarSystem);var ISO_RE=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function parse(e){var t=ISO_RE.exec(e);if(t){var n=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number("0."+t[12]):0));if(isValidDate(n)){var r=null;return t[13]&&(r=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:n,isTimeUnspecified:!t[6],timeZoneOffset:r}}}return null}var DateEnv=function(){function e(e){var t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=createCalendarSystem(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}return e.prototype.createMarker=function(e){var t=this.createMarkerMeta(e);return null===t?null:t.marker},e.prototype.createNowMarker=function(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):arrayToUtcDate(dateToLocalArray(new Date))},e.prototype.createMarkerMeta=function(e){if("string"==typeof e)return this.parse(e);var t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=arrayToUtcDate(e)),null!==t&&isValidDate(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null},e.prototype.parse=function(e){var t=parse(e);if(null===t)return null;var n=t.marker,r=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):r=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:r}},e.prototype.getYear=function(e){return this.calendarSystem.getMarkerYear(e)},e.prototype.getMonth=function(e){return this.calendarSystem.getMarkerMonth(e)},e.prototype.add=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.subtract=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)},e.prototype.addYears=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.addMonths=function(e,t){var n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)},e.prototype.diffWholeYears=function(e,t){var n=this.calendarSystem;return timeAsMs(e)===timeAsMs(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null},e.prototype.diffWholeMonths=function(e,t){var n=this.calendarSystem;return timeAsMs(e)===timeAsMs(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null},e.prototype.greatestWholeUnit=function(e,t){var n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:null!==(n=this.diffWholeMonths(e,t))?{unit:"month",value:n}:null!==(n=diffWholeWeeks(e,t))?{unit:"week",value:n}:null!==(n=diffWholeDays(e,t))?{unit:"day",value:n}:isInt(n=diffHours(e,t))?{unit:"hour",value:n}:isInt(n=diffMinutes(e,t))?{unit:"minute",value:n}:isInt(n=diffSeconds(e,t))?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}},e.prototype.countDurationsBetween=function(e,t,n){var r;return n.years&&null!==(r=this.diffWholeYears(e,t))?r/asRoughYears(n):n.months&&null!==(r=this.diffWholeMonths(e,t))?r/asRoughMonths(n):n.days&&null!==(r=diffWholeDays(e,t))?r/asRoughDays(n):(t.valueOf()-e.valueOf())/asRoughMs(n)},e.prototype.startOf=function(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?startOfDay(e):"hour"===t?startOfHour(e):"minute"===t?startOfMinute(e):"second"===t?startOfSecond(e):null},e.prototype.startOfYear=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])},e.prototype.startOfMonth=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])},e.prototype.startOfWeek=function(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])},e.prototype.computeWeekNumber=function(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):weekOfYear(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,r){return void 0===r&&(r={}),r.isEndExclusive&&(t=addMs(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=r.forcedStartTzo?r.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=r.forcedEndTzo?r.forcedEndTzo:this.offsetForMarker(t)},this,r.defaultSeparator)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),buildIsoString(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return"local"===this.timeZone?arrayToUtcDate(dateToLocalArray(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?arrayToUtcDate(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return"local"===this.timeZone?-arrayToLocalDate(dateToUtcArray(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(dateToUtcArray(e)):null},e.prototype.toDate=function(e,t){return"local"===this.timeZone?arrayToLocalDate(dateToUtcArray(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(dateToUtcArray(e))*60):new Date(e.valueOf()-(t||0))},e}(),globalLocales=[],MINIMAL_RAW_EN_LOCALE={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},RAW_EN_LOCALE=__assign$1(__assign$1({},MINIMAL_RAW_EN_LOCALE),{buttonHints:{prev:"Previous $0",next:"Next $0",today:function(e,t){return"day"===t?"Today":"This "+e}},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show "+e+" more event"+(1===e?"":"s")}});function organizeRawLocales(e){for(var t=e.length>0?e[0].code:"en",n=globalLocales.concat(e),r={en:RAW_EN_LOCALE},a=0,o=n;a<o.length;a++){var i=o[a];r[i.code]=i}return{map:r,defaultCode:t}}function buildLocale(e,t){return"object"!=typeof e||Array.isArray(e)?queryLocale(e,t):parseLocale(e.code,[e.code],e)}function queryLocale(e,t){var n=[].concat(e||[]);return parseLocale(e,n,queryRawLocale(n,t)||RAW_EN_LOCALE)}function queryRawLocale(e,t){for(var n=0;n<e.length;n+=1)for(var r=e[n].toLocaleLowerCase().split("-"),a=r.length;a>0;a-=1){var o=r.slice(0,a).join("-");if(t[o])return t[o]}return null}function parseLocale(e,t,n){var r=mergeProps([MINIMAL_RAW_EN_LOCALE,n],["buttonText"]);delete r.code;var a=r.week;return delete r.week,{codeArg:e,codes:t,week:a,simpleNumberFormat:new Intl.NumberFormat(e),options:r}}var DEF_DEFAULTS={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"},canVGrowWithinCell;function parseBusinessHours(e,t){return parseEvents(refineInputs(e),null,t)}function refineInputs(e){return(!0===e?[{}]:Array.isArray(e)?e.filter((function(e){return e.daysOfWeek})):"object"==typeof e&&e?[e]:[]).map((function(e){return __assign$1(__assign$1({},DEF_DEFAULTS),e)}))}function pointInsideRect(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function intersectRects(e,t){var n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function constrainPoint(e,t){return{left:Math.min(Math.max(e.left,t.left),t.right),top:Math.min(Math.max(e.top,t.top),t.bottom)}}function getRectCenter(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function diffPoints(e,t){return{left:e.left-t.left,top:e.top-t.top}}function getCanVGrowWithinCell(){return null==canVGrowWithinCell&&(canVGrowWithinCell=computeCanVGrowWithinCell()),canVGrowWithinCell}function computeCanVGrowWithinCell(){if("undefined"==typeof document)return!0;var e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);var t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}var EMPTY_EVENT_STORE=createEmptyEventStore(),Splitter=function(){function e(){this.getKeysForEventDefs=memoize(this._getKeysForEventDefs),this.splitDateSelection=memoize(this._splitDateSpan),this.splitEventStore=memoize(this._splitEventStore),this.splitIndividualUi=memoize(this._splitIndividualUi),this.splitEventDrag=memoize(this._splitInteraction),this.splitEventResize=memoize(this._splitInteraction),this.eventUiBuilders={}}return e.prototype.splitProps=function(e){var t=this,n=this.getKeyInfo(e),r=this.getKeysForEventDefs(e.eventStore),a=this.splitDateSelection(e.dateSelection),o=this.splitIndividualUi(e.eventUiBases,r),i=this.splitEventStore(e.eventStore,r),l=this.splitEventDrag(e.eventDrag),s=this.splitEventResize(e.eventResize),u={};for(var c in this.eventUiBuilders=mapHash(n,(function(e,n){return t.eventUiBuilders[n]||memoize(buildEventUiForKey)})),n){var d=n[c],f=i[c]||EMPTY_EVENT_STORE,p=this.eventUiBuilders[c];u[c]={businessHours:d.businessHours||e.businessHours,dateSelection:a[c]||null,eventStore:f,eventUiBases:p(e.eventUiBases[""],d.ui,o[c]),eventSelection:f.instances[e.eventSelection]?e.eventSelection:"",eventDrag:l[c]||null,eventResize:s[c]||null}}return u},e.prototype._splitDateSpan=function(e){var t={};if(e)for(var n=0,r=this.getKeysForDateSpan(e);n<r.length;n++){t[r[n]]=e}return t},e.prototype._getKeysForEventDefs=function(e){var t=this;return mapHash(e.defs,(function(e){return t.getKeysForEventDef(e)}))},e.prototype._splitEventStore=function(e,t){var n=e.defs,r=e.instances,a={};for(var o in n)for(var i=0,l=t[o];i<l.length;i++){a[f=l[i]]||(a[f]=createEmptyEventStore()),a[f].defs[o]=n[o]}for(var s in r)for(var u=r[s],c=0,d=t[u.defId];c<d.length;c++){var f;a[f=d[c]]&&(a[f].instances[s]=u)}return a},e.prototype._splitIndividualUi=function(e,t){var n={};for(var r in e)if(r)for(var a=0,o=t[r];a<o.length;a++){var i=o[a];n[i]||(n[i]={}),n[i][r]=e[r]}return n},e.prototype._splitInteraction=function(e){var t={};if(e){var n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),r=this._getKeysForEventDefs(e.mutatedEvents),a=this._splitEventStore(e.mutatedEvents,r),o=function(r){t[r]||(t[r]={affectedEvents:n[r]||EMPTY_EVENT_STORE,mutatedEvents:a[r]||EMPTY_EVENT_STORE,isEvent:e.isEvent})};for(var i in n)o(i);for(var i in a)o(i)}return t},e}();function buildEventUiForKey(e,t,n){var r=[];e&&r.push(e),t&&r.push(t);var a={"":combineEventUis(r)};return n&&__assign$1(a,n),a}function getDateMeta(e,t,n,r){return{dow:e.getUTCDay(),isDisabled:Boolean(r&&!rangeContainsMarker(r.activeRange,e)),isOther:Boolean(r&&!rangeContainsMarker(r.currentRange,e)),isToday:Boolean(t&&rangeContainsMarker(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function getDayClassNames(e,t){var n=["fc-day","fc-day-"+DAY_IDS[e.dow]];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}var DAY_FORMAT=createFormatter({year:"numeric",month:"long",day:"numeric"}),WEEK_FORMAT=createFormatter({week:"long"});function buildNavLinkAttrs(e,t,n,r){void 0===n&&(n="day"),void 0===r&&(r=!0);var a=e.dateEnv,o=e.options,i=e.calendarApi,l=a.format(t,"week"===n?WEEK_FORMAT:DAY_FORMAT);if(o.navLinks){var s=a.toDate(t),u=function(e){var r="day"===n?o.navLinkDayClick:"week"===n?o.navLinkWeekClick:null;"function"==typeof r?r.call(i,a.toDate(t),e):("string"==typeof r&&(n=r),i.zoomTo(t,n))};return __assign$1({title:formatWithOrdinals(o.navLinkHint,[l,s],l),"data-navlink":""},r?createAriaClickAttrs(u):{onClick:u})}return{"aria-label":l}}var _isRtlScrollbarOnLeft=null,_scrollbarWidths;function getIsRtlScrollbarOnLeft(){return null===_isRtlScrollbarOnLeft&&(_isRtlScrollbarOnLeft=computeIsRtlScrollbarOnLeft()),_isRtlScrollbarOnLeft}function computeIsRtlScrollbarOnLeft(){var e=document.createElement("div");applyStyle(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return removeElement(e),t}function getScrollbarWidths(){return _scrollbarWidths||(_scrollbarWidths=computeScrollbarWidths()),_scrollbarWidths}function computeScrollbarWidths(){var e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);var t=computeScrollbarWidthsForEl(e);return document.body.removeChild(e),t}function computeScrollbarWidthsForEl(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function computeEdges(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),r=parseInt(n.borderLeftWidth,10)||0,a=parseInt(n.borderRightWidth,10)||0,o=parseInt(n.borderTopWidth,10)||0,i=parseInt(n.borderBottomWidth,10)||0,l=computeScrollbarWidthsForEl(e),s=l.y-r-a,u={borderLeft:r,borderRight:a,borderTop:o,borderBottom:i,scrollbarBottom:l.x-o-i,scrollbarLeft:0,scrollbarRight:0};return getIsRtlScrollbarOnLeft()&&"rtl"===n.direction?u.scrollbarLeft=s:u.scrollbarRight=s,t&&(u.paddingLeft=parseInt(n.paddingLeft,10)||0,u.paddingRight=parseInt(n.paddingRight,10)||0,u.paddingTop=parseInt(n.paddingTop,10)||0,u.paddingBottom=parseInt(n.paddingBottom,10)||0),u}function computeInnerRect(e,t,n){void 0===t&&(t=!1);var r=n?e.getBoundingClientRect():computeRect(e),a=computeEdges(e,t),o={left:r.left+a.borderLeft+a.scrollbarLeft,right:r.right-a.borderRight-a.scrollbarRight,top:r.top+a.borderTop,bottom:r.bottom-a.borderBottom-a.scrollbarBottom};return t&&(o.left+=a.paddingLeft,o.right-=a.paddingRight,o.top+=a.paddingTop,o.bottom-=a.paddingBottom),o}function computeRect(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function computeClippedClientRect(e){for(var t=getClippingParents(e),n=e.getBoundingClientRect(),r=0,a=t;r<a.length;r++){var o=intersectRects(n,a[r].getBoundingClientRect());if(!o)return null;n=o}return n}function getClippingParents(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}function unpromisify(e,t,n){var r=!1,a=function(){r||(r=!0,t.apply(this,arguments))},o=function(){r||(r=!0,n&&n.apply(this,arguments))},i=e(a,o);i&&"function"==typeof i.then&&i.then(a,o)}var Emitter=function(){function e(){this.handlers={},this.thisContext=null}return e.prototype.setThisContext=function(e){this.thisContext=e},e.prototype.setOptions=function(e){this.options=e},e.prototype.on=function(e,t){addToHash(this.handlers,e,t)},e.prototype.off=function(e,t){removeFromHash(this.handlers,e,t)},e.prototype.trigger=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=this.handlers[e]||[],a=this.options&&this.options[e],o=[].concat(a||[],r),i=0,l=o;i<l.length;i++){var s=l[i];s.apply(this.thisContext,t)}},e.prototype.hasHandlers=function(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])},e}();function addToHash(e,t,n){(e[t]||(e[t]=[])).push(n)}function removeFromHash(e,t,n){n?e[t]&&(e[t]=e[t].filter((function(e){return e!==n}))):delete e[t]}var PositionCache=function(){function e(e,t,n,r){this.els=t;var a=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(a.left),r&&this.buildElVerticals(a.top)}return e.prototype.buildElHorizontals=function(e){for(var t=[],n=[],r=0,a=this.els;r<a.length;r++){var o=a[r].getBoundingClientRect();t.push(o.left-e),n.push(o.right-e)}this.lefts=t,this.rights=n},e.prototype.buildElVerticals=function(e){for(var t=[],n=[],r=0,a=this.els;r<a.length;r++){var o=a[r].getBoundingClientRect();t.push(o.top-e),n.push(o.bottom-e)}this.tops=t,this.bottoms=n},e.prototype.leftToIndex=function(e){var t,n=this.lefts,r=this.rights,a=n.length;for(t=0;t<a;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.topToIndex=function(e){var t,n=this.tops,r=this.bottoms,a=n.length;for(t=0;t<a;t+=1)if(e>=n[t]&&e<r[t])return t},e.prototype.getWidth=function(e){return this.rights[e]-this.lefts[e]},e.prototype.getHeight=function(e){return this.bottoms[e]-this.tops[e]},e}(),ScrollController=function(){function e(){}return e.prototype.getMaxScrollTop=function(){return this.getScrollHeight()-this.getClientHeight()},e.prototype.getMaxScrollLeft=function(){return this.getScrollWidth()-this.getClientWidth()},e.prototype.canScrollVertically=function(){return this.getMaxScrollTop()>0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()<this.getMaxScrollTop()},e.prototype.canScrollLeft=function(){return this.getScrollLeft()>0},e.prototype.canScrollRight=function(){return this.getScrollLeft()<this.getMaxScrollLeft()},e}(),ElementScrollController=function(e){function t(t){var n=e.call(this)||this;return n.el=t,n}return __extends(t,e),t.prototype.getScrollTop=function(){return this.el.scrollTop},t.prototype.getScrollLeft=function(){return this.el.scrollLeft},t.prototype.setScrollTop=function(e){this.el.scrollTop=e},t.prototype.setScrollLeft=function(e){this.el.scrollLeft=e},t.prototype.getScrollWidth=function(){return this.el.scrollWidth},t.prototype.getScrollHeight=function(){return this.el.scrollHeight},t.prototype.getClientHeight=function(){return this.el.clientHeight},t.prototype.getClientWidth=function(){return this.el.clientWidth},t}(ScrollController),WindowScrollController=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.getScrollTop=function(){return window.pageYOffset},t.prototype.getScrollLeft=function(){return window.pageXOffset},t.prototype.setScrollTop=function(e){window.scroll(window.pageXOffset,e)},t.prototype.setScrollLeft=function(e){window.scroll(e,window.pageYOffset)},t.prototype.getScrollWidth=function(){return document.documentElement.scrollWidth},t.prototype.getScrollHeight=function(){return document.documentElement.scrollHeight},t.prototype.getClientHeight=function(){return document.documentElement.clientHeight},t.prototype.getClientWidth=function(){return document.documentElement.clientWidth},t}(ScrollController),Theme=function(){function e(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}return e.prototype.setIconOverride=function(e){var t,n;if("object"==typeof e&&e){for(n in t=__assign$1({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})},e.prototype.applyIconOverridePrefix=function(e){var t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e},e.prototype.getClass=function(e){return this.classes[e]||""},e.prototype.getIconClass=function(e,t){var n;return(n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e])?this.baseIconClass+" "+n:""},e.prototype.getCustomButtonIconClass=function(e){var t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption])?this.baseIconClass+" "+this.applyIconOverridePrefix(t):""},e}();Theme.prototype.classes={},Theme.prototype.iconClasses={},Theme.prototype.baseIconClass="",Theme.prototype.iconOverridePrefix="";var ScrollResponder=function(){function e(e,t,n,r){var a=this;this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=r,this.handleScrollRequest=function(e){a.queuedRequest=__assign$1({},a.queuedRequest||{},e),a.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}return e.prototype.detach=function(){this.emitter.off("_scrollRequest",this.handleScrollRequest)},e.prototype.update=function(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()},e.prototype.fireInitialScroll=function(){this.handleScrollRequest({time:this.scrollTime})},e.prototype.drain=function(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)},e}(),ViewContextType=createContext({});function buildViewContext(e,t,n,r,a,o,i,l,s,u,c,d,f){return{dateEnv:a,options:n,pluginHooks:i,emitter:u,dispatch:l,getCurrentData:s,calendarApi:c,viewSpec:e,viewApi:t,dateProfileGenerator:r,theme:o,isRtl:"rtl"===n.direction,addResizeHandler:function(e){u.on("_resize",e)},removeResizeHandler:function(e){u.off("_resize",e)},createScrollResponder:function(e){return new ScrollResponder(e,u,createDuration(n.scrollTime),n.scrollTimeReset)},registerInteractiveComponent:d,unregisterInteractiveComponent:f}}var PureComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.shouldComponentUpdate=function(e,t){return this.debug&&console.log(getUnequalProps(e,this.props),getUnequalProps(t,this.state)),!compareObjs(this.props,e,this.propEquality)||!compareObjs(this.state,t,this.stateEquality)},t.prototype.safeSetState=function(e){compareObjs(this.state,__assign$1(__assign$1({},this.state),e),this.stateEquality)||this.setState(e)},t.addPropsEquality=addPropsEquality,t.addStateEquality=addStateEquality,t.contextType=ViewContextType,t}(Component);PureComponent.prototype.propEquality={},PureComponent.prototype.stateEquality={};var BaseComponent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.contextType=ViewContextType,t}(PureComponent);function addPropsEquality(e){var t=Object.create(this.prototype.propEquality);__assign$1(t,e),this.prototype.propEquality=t}function addStateEquality(e){var t=Object.create(this.prototype.stateEquality);__assign$1(t,e),this.prototype.stateEquality=t}function setRef(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var DateComponent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.uid=guid(),t}return __extends(t,e),t.prototype.prepareHits=function(){},t.prototype.queryHit=function(e,t,n,r){return null},t.prototype.isValidSegDownEl=function(e){return!this.props.eventDrag&&!this.props.eventResize&&!elementClosest(e,".fc-event-mirror")},t.prototype.isValidDateDownEl=function(e){return!(elementClosest(e,".fc-event:not(.fc-bg-event)")||elementClosest(e,".fc-more-link")||elementClosest(e,"a[data-navlink]")||elementClosest(e,".fc-popover"))},t}(BaseComponent);function createPlugin(e){return{id:guid(),deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,contentTypeHandlers:e.contentTypeHandlers||{},listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function buildPluginHooks(e,t){var n={},r={reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,contentTypeHandlers:{},listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function a(e){for(var t=0,o=e;t<o.length;t++){var i=o[t];n[i.id]||(n[i.id]=!0,a(i.deps),r=combineHooks(r,i))}}return e&&a(e),a(t),r}function buildBuildPluginHooks(){var e,t=[],n=[];return function(r,a){return e&&isArraysEqual(r,t)&&isArraysEqual(a,n)||(e=buildPluginHooks(r,a)),t=r,n=a,e}}function combineHooks(e,t){return{reducers:e.reducers.concat(t.reducers),isLoadingFuncs:e.isLoadingFuncs.concat(t.isLoadingFuncs),contextInit:e.contextInit.concat(t.contextInit),eventRefiners:__assign$1(__assign$1({},e.eventRefiners),t.eventRefiners),eventDefMemberAdders:e.eventDefMemberAdders.concat(t.eventDefMemberAdders),eventSourceRefiners:__assign$1(__assign$1({},e.eventSourceRefiners),t.eventSourceRefiners),isDraggableTransformers:e.isDraggableTransformers.concat(t.isDraggableTransformers),eventDragMutationMassagers:e.eventDragMutationMassagers.concat(t.eventDragMutationMassagers),eventDefMutationAppliers:e.eventDefMutationAppliers.concat(t.eventDefMutationAppliers),dateSelectionTransformers:e.dateSelectionTransformers.concat(t.dateSelectionTransformers),datePointTransforms:e.datePointTransforms.concat(t.datePointTransforms),dateSpanTransforms:e.dateSpanTransforms.concat(t.dateSpanTransforms),views:__assign$1(__assign$1({},e.views),t.views),viewPropsTransformers:e.viewPropsTransformers.concat(t.viewPropsTransformers),isPropsValid:t.isPropsValid||e.isPropsValid,externalDefTransforms:e.externalDefTransforms.concat(t.externalDefTransforms),viewContainerAppends:e.viewContainerAppends.concat(t.viewContainerAppends),eventDropTransformers:e.eventDropTransformers.concat(t.eventDropTransformers),calendarInteractions:e.calendarInteractions.concat(t.calendarInteractions),componentInteractions:e.componentInteractions.concat(t.componentInteractions),themeClasses:__assign$1(__assign$1({},e.themeClasses),t.themeClasses),eventSourceDefs:e.eventSourceDefs.concat(t.eventSourceDefs),cmdFormatter:t.cmdFormatter||e.cmdFormatter,recurringTypes:e.recurringTypes.concat(t.recurringTypes),namedTimeZonedImpl:t.namedTimeZonedImpl||e.namedTimeZonedImpl,initialView:e.initialView||t.initialView,elementDraggingImpl:e.elementDraggingImpl||t.elementDraggingImpl,optionChangeHandlers:__assign$1(__assign$1({},e.optionChangeHandlers),t.optionChangeHandlers),scrollGridImpl:t.scrollGridImpl||e.scrollGridImpl,contentTypeHandlers:__assign$1(__assign$1({},e.contentTypeHandlers),t.contentTypeHandlers),listenerRefiners:__assign$1(__assign$1({},e.listenerRefiners),t.listenerRefiners),optionRefiners:__assign$1(__assign$1({},e.optionRefiners),t.optionRefiners),propSetHandlers:__assign$1(__assign$1({},e.propSetHandlers),t.propSetHandlers)}}var StandardTheme=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t}(Theme);function compileViewDefs(e,t){var n,r={};for(n in e)ensureViewDef(n,r,e,t);for(n in t)ensureViewDef(n,r,e,t);return r}function ensureViewDef(e,t,n,r){if(t[e])return t[e];var a=buildViewDef(e,t,n,r);return a&&(t[e]=a),a}function buildViewDef(e,t,n,r){var a=n[e],o=r[e],i=function(e){return a&&null!==a[e]?a[e]:o&&null!==o[e]?o[e]:null},l=i("component"),s=i("superType"),u=null;if(s){if(s===e)throw new Error("Can't have a custom view type that references itself");u=ensureViewDef(s,t,n,r)}return!l&&u&&(l=u.component),l?{type:e,component:l,defaults:__assign$1(__assign$1({},u?u.defaults:{}),a?a.rawOptions:{}),overrides:__assign$1(__assign$1({},u?u.overrides:{}),o?o.rawOptions:{})}:null}StandardTheme.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},StandardTheme.prototype.baseIconClass="fc-icon",StandardTheme.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},StandardTheme.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},StandardTheme.prototype.iconOverrideOption="buttonIcons",StandardTheme.prototype.iconOverrideCustomButtonOption="icon",StandardTheme.prototype.iconOverridePrefix="fc-icon-";var RenderHook=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=createRef(),t.handleRootEl=function(e){setRef(t.rootElRef,e),t.props.elRef&&setRef(t.props.elRef,e)},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.hookProps;return createElement(MountHook,{hookProps:n,didMount:t.didMount,willUnmount:t.willUnmount,elRef:this.handleRootEl},(function(r){return createElement(ContentHook,{hookProps:n,content:t.content,defaultContent:t.defaultContent,backupElRef:e.rootElRef},(function(e,a){return t.children(r,normalizeClassNames(t.classNames,n),e,a)}))}))},t}(BaseComponent),CustomContentRenderContext=createContext(0);function ContentHook(e){return createElement(CustomContentRenderContext.Consumer,null,(function(t){return createElement(ContentHookInner,__assign$1({renderId:t},e))}))}var ContentHookInner=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.innerElRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){return this.props.children(this.innerElRef,this.renderInnerContent())},t.prototype.componentDidMount=function(){this.updateCustomContent()},t.prototype.componentDidUpdate=function(){this.updateCustomContent()},t.prototype.componentWillUnmount=function(){this.customContentInfo&&this.customContentInfo.destroy&&this.customContentInfo.destroy()},t.prototype.renderInnerContent=function(){var e=this.customContentInfo,t=this.getInnerContent(),n=this.getContentMeta(t);return e&&e.contentKey===n.contentKey?e&&(e.contentVal=t[n.contentKey]):(e&&(e.destroy&&e.destroy(),e=this.customContentInfo=null),n.contentKey&&(e=this.customContentInfo=__assign$1({contentKey:n.contentKey,contentVal:t[n.contentKey]},n.buildLifecycleFuncs()))),e?[]:t},t.prototype.getInnerContent=function(){var e=this.props,t=normalizeContent(e.content,e.hookProps);return void 0===t&&(t=normalizeContent(e.defaultContent,e.hookProps)),null==t?null:t},t.prototype.getContentMeta=function(e){var t=this.context.pluginHooks.contentTypeHandlers,n="",r=null;if(e)for(var a in t)if(void 0!==e[a]){n=a,r=t[a];break}return{contentKey:n,buildLifecycleFuncs:r}},t.prototype.updateCustomContent=function(){this.customContentInfo&&this.customContentInfo.render(this.innerElRef.current||this.props.backupElRef.current,this.customContentInfo.contentVal)},t}(BaseComponent),MountHook=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&setRef(t.props.elRef,e)},t}return __extends(t,e),t.prototype.render=function(){return this.props.children(this.handleRootEl)},t.prototype.componentDidMount=function(){var e=this.props.didMount;e&&e(__assign$1(__assign$1({},this.props.hookProps),{el:this.rootEl}))},t.prototype.componentWillUnmount=function(){var e=this.props.willUnmount;e&&e(__assign$1(__assign$1({},this.props.hookProps),{el:this.rootEl}))},t}(BaseComponent);function buildClassNameNormalizer(){var e,t,n=[];return function(r,a){return t&&isPropsEqual(t,a)&&r===e||(e=r,t=a,n=normalizeClassNames(r,a)),n}}function normalizeClassNames(e,t){return"function"==typeof e&&(e=e(t)),parseClassNames(e)}function normalizeContent(e,t){return"function"==typeof e?e(t,createElement):e}var ViewRoot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.normalizeClassNames=buildClassNameNormalizer(),t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r={view:t.viewApi},a=this.normalizeClassNames(n.viewClassNames,r);return createElement(MountHook,{hookProps:r,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount,elRef:e.elRef},(function(t){return e.children(t,["fc-"+e.viewSpec.type+"-view","fc-view"].concat(a))}))},t}(BaseComponent);function parseViewConfigs(e){return mapHash(e,parseViewConfig)}function parseViewConfig(e){var t="function"==typeof e?{component:e}:e,n=t.component;return t.content&&(n=createViewHookComponent(t)),{superType:t.type,component:n,rawOptions:t}}function createViewHookComponent(e){return function(t){return createElement(ViewContextType.Consumer,null,(function(n){return createElement(ViewRoot,{viewSpec:n.viewSpec},(function(r,a){var o=__assign$1(__assign$1({},t),{nextDayThreshold:n.options.nextDayThreshold});return createElement(RenderHook,{hookProps:o,classNames:e.classNames,content:e.content,didMount:e.didMount,willUnmount:e.willUnmount,elRef:r},(function(e,t,n,r){return createElement("div",{className:a.concat(t).join(" "),ref:e},r)}))}))}))}}function buildViewSpecs(e,t,n,r){var a=parseViewConfigs(e),o=parseViewConfigs(t.views);return mapHash(compileViewDefs(a,o),(function(e){return buildViewSpec(e,o,t,n,r)}))}function buildViewSpec(e,t,n,r,a){var o=e.overrides.duration||e.defaults.duration||r.duration||n.duration,i=null,l="",s="",u={};if(o&&(i=createDurationCached(o))){var c=greatestDurationDenominator(i);l=c.unit,1===c.value&&(s=l,u=t[l]?t[l].rawOptions:{})}var d=function(t){var n=t.buttonText||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[s]?n[s]:null},f=function(t){var n=t.buttonHints||{},r=e.defaults.buttonTextKey;return null!=r&&null!=n[r]?n[r]:null!=n[e.type]?n[e.type]:null!=n[s]?n[s]:null};return{type:e.type,component:e.component,duration:i,durationUnit:l,singleUnit:s,optionDefaults:e.defaults,optionOverrides:__assign$1(__assign$1({},u),e.overrides),buttonTextOverride:d(r)||d(n)||e.overrides.buttonText,buttonTextDefault:d(a)||e.defaults.buttonText||d(BASE_OPTION_DEFAULTS)||e.type,buttonTitleOverride:f(r)||f(n)||e.overrides.buttonHint,buttonTitleDefault:f(a)||e.defaults.buttonHint||f(BASE_OPTION_DEFAULTS)}}var durationInputMap={};function createDurationCached(e){var t=JSON.stringify(e),n=durationInputMap[t];return void 0===n&&(n=createDuration(e),durationInputMap[t]=n),n}var DateProfileGenerator=function(){function e(e){this.props=e,this.nowDate=getNow(e.nowInput,e.dateEnv),this.initHiddenDays()}return e.prototype.buildPrev=function(e,t,n){var r=this.props.dateEnv,a=r.subtract(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(a,-1,n)},e.prototype.buildNext=function(e,t,n){var r=this.props.dateEnv,a=r.add(r.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(a,1,n)},e.prototype.build=function(e,t,n){void 0===n&&(n=!0);var r,a,o,i,l,s,u=this.props;return r=this.buildValidRange(),r=this.trimHiddenDays(r),n&&(e=constrainMarkerToRange(e,r)),a=this.buildCurrentRangeInfo(e,t),o=/^(year|month|week|day)$/.test(a.unit),i=this.buildRenderRange(this.trimHiddenDays(a.range),a.unit,o),l=i=this.trimHiddenDays(i),u.showNonCurrentDates||(l=intersectRanges(l,a.range)),l=intersectRanges(l=this.adjustActiveRange(l),r),s=rangesIntersect(a.range,r),{validRange:r,currentRange:a.range,currentRangeUnit:a.unit,isRangeAllDay:o,activeRange:l,renderRange:i,slotMinTime:u.slotMinTime,slotMaxTime:u.slotMaxTime,isValid:s,dateIncrement:this.buildDateIncrement(a.duration)}},e.prototype.buildValidRange=function(){var e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,r=this.props,a=null,o=null,i=null;return r.duration?(a=r.duration,o=r.durationUnit,i=this.buildRangeFromDuration(e,t,a,o)):(n=this.props.dayCount)?(o="day",i=this.buildRangeFromDayCount(e,t,n)):(i=this.buildCustomVisibleRange(e))?o=r.dateEnv.greatestWholeUnit(i.start,i.end).unit:(o=greatestDurationDenominator(a=this.getFallbackDuration()).unit,i=this.buildRangeFromDuration(e,t,a,o)),{duration:a,unit:o,range:i}},e.prototype.getFallbackDuration=function(){return createDuration({day:1})},e.prototype.adjustActiveRange=function(e){var t=this.props,n=t.dateEnv,r=t.usesMinMaxTime,a=t.slotMinTime,o=t.slotMaxTime,i=e.start,l=e.end;return r&&(asRoughDays(a)<0&&(i=startOfDay(i),i=n.add(i,a)),asRoughDays(o)>1&&(l=addDays(l=startOfDay(l),-1),l=n.add(l,o))),{start:i,end:l}},e.prototype.buildRangeFromDuration=function(e,t,n,r){var a,o,i,l=this.props,s=l.dateEnv,u=l.dateAlignment;if(!u){var c=this.props.dateIncrement;u=c&&asRoughMs(c)<asRoughMs(n)?greatestDurationDenominator(c).unit:r}function d(){a=s.startOf(e,u),o=s.add(a,n),i={start:a,end:o}}return asRoughDays(n)<=1&&this.isHiddenDay(a)&&(a=startOfDay(a=this.skipHiddenDays(a,t))),d(),this.trimHiddenDays(i)||(e=this.skipHiddenDays(e,t),d()),i},e.prototype.buildRangeFromDayCount=function(e,t,n){var r,a=this.props,o=a.dateEnv,i=a.dateAlignment,l=0,s=e;i&&(s=o.startOf(s,i)),s=startOfDay(s),r=s=this.skipHiddenDays(s,t);do{r=addDays(r,1),this.isHiddenDay(r)||(l+=1)}while(l<n);return{start:s,end:r}},e.prototype.buildCustomVisibleRange=function(e){var t=this.props,n=t.visibleRangeInput,r="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,a=this.refineRange(r);return!a||null!=a.start&&null!=a.end?a:null},e.prototype.buildRenderRange=function(e,t,n){return e},e.prototype.buildDateIncrement=function(e){var t,n=this.props.dateIncrement;return n||((t=this.props.dateAlignment)?createDuration(1,t):e||createDuration({days:1}))},e.prototype.refineRange=function(e){if(e){var t=parseRange(e,this.props.dateEnv);return t&&(t=computeVisibleDayRange(t)),t}return null},e.prototype.initHiddenDays=function(){var e,t=this.props.hiddenDays||[],n=[],r=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(r+=1);if(!r)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n},e.prototype.trimHiddenDays=function(e){var t=e.start,n=e.end;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null},e.prototype.isHiddenDay=function(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]},e.prototype.skipHiddenDays=function(e,t,n){for(void 0===t&&(t=1),void 0===n&&(n=!1);this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=addDays(e,t);return e},e}();function reduceViewType(e,t){if("CHANGE_VIEW_TYPE"===t.type)e=t.viewType;return e}function reduceDynamicOptionOverrides(e,t){var n;return"SET_OPTION"===t.type?__assign$1(__assign$1({},e),((n={})[t.optionName]=t.rawOptionValue,n)):e}function reduceDateProfile(e,t,n,r){var a;switch(t.type){case"CHANGE_VIEW_TYPE":return r.build(t.dateMarker||n);case"CHANGE_DATE":return r.build(t.dateMarker);case"PREV":if((a=r.buildPrev(e,n)).isValid)return a;break;case"NEXT":if((a=r.buildNext(e,n)).isValid)return a}return e}function initEventSources(e,t,n){var r=t?t.activeRange:null;return addSources({},parseInitialSources(e,n),r,n)}function reduceEventSources(e,t,n,r){var a=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return addSources(e,t.sources,a,r);case"REMOVE_EVENT_SOURCE":return removeSource(e,t.sourceId);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?fetchDirtySources(e,a,r):e;case"FETCH_EVENT_SOURCES":return fetchSourcesByIds(e,t.sourceIds?arrayToHash(t.sourceIds):excludeStaticSources(e,r),a,t.isRefetch||!1,r);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return receiveResponse(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}}function reduceEventSourcesNewTimeZone(e,t,n){var r=t?t.activeRange:null;return fetchSourcesByIds(e,excludeStaticSources(e,n),r,!0,n)}function computeEventSourcesLoading(e){for(var t in e)if(e[t].isFetching)return!0;return!1}function addSources(e,t,n,r){for(var a={},o=0,i=t;o<i.length;o++){var l=i[o];a[l.sourceId]=l}return n&&(a=fetchDirtySources(a,n,r)),__assign$1(__assign$1({},e),a)}function removeSource(e,t){return filterHash(e,(function(e){return e.sourceId!==t}))}function fetchDirtySources(e,t,n){return fetchSourcesByIds(e,filterHash(e,(function(e){return isSourceDirty(e,t,n)})),t,!1,n)}function isSourceDirty(e,t,n){return doesSourceNeedRange(e,n)?!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end:!e.latestFetchId}function fetchSourcesByIds(e,t,n,r,a){var o={};for(var i in e){var l=e[i];t[i]?o[i]=fetchSource(l,n,r,a):o[i]=l}return o}function fetchSource(e,t,n,r){var a=r.options,o=r.calendarApi,i=r.pluginHooks.eventSourceDefs[e.sourceDefId],l=guid();return i.fetch({eventSource:e,range:t,isRefetch:n,context:r},(function(n){var i=n.rawEvents;a.eventSourceSuccess&&(i=a.eventSourceSuccess.call(o,i,n.xhr)||i),e.success&&(i=e.success.call(o,i,n.xhr)||i),r.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:l,fetchRange:t,rawEvents:i})}),(function(n){console.warn(n.message,n),a.eventSourceFailure&&a.eventSourceFailure.call(o,n),e.failure&&e.failure(n),r.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:l,fetchRange:t,error:n})})),__assign$1(__assign$1({},e),{isFetching:!0,latestFetchId:l})}function receiveResponse(e,t,n,r){var a,o=e[t];return o&&n===o.latestFetchId?__assign$1(__assign$1({},e),((a={})[t]=__assign$1(__assign$1({},o),{isFetching:!1,fetchRange:r}),a)):e}function excludeStaticSources(e,t){return filterHash(e,(function(e){return doesSourceNeedRange(e,t)}))}function parseInitialSources(e,t){var n=buildEventSourceRefiners(t),r=[].concat(e.eventSources||[]),a=[];e.initialEvents&&r.unshift(e.initialEvents),e.events&&r.unshift(e.events);for(var o=0,i=r;o<i.length;o++){var l=parseEventSource(i[o],t,n);l&&a.push(l)}return a}function doesSourceNeedRange(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function reduceEventStore(e,t,n,r,a){switch(t.type){case"RECEIVE_EVENTS":return receiveRawEvents(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,a);case"ADD_EVENTS":return addEvent(e,t.eventStore,r?r.activeRange:null,a);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return mergeEventStores(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return r?expandRecurring(e,r.activeRange,a):e;case"REMOVE_EVENTS":return excludeSubEventStore(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return excludeEventsBySourceId(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return filterEventStoreDefs(e,(function(e){return!e.sourceId}));case"REMOVE_ALL_EVENTS":return createEmptyEventStore();default:return e}}function receiveRawEvents(e,t,n,r,a,o){if(t&&n===t.latestFetchId){var i=parseEvents(transformRawEvents(a,t,o),t,o);return r&&(i=expandRecurring(i,r,o)),mergeEventStores(excludeEventsBySourceId(e,t.sourceId),i)}return e}function transformRawEvents(e,t,n){var r=n.options.eventDataTransform,a=t?t.eventDataTransform:null;return a&&(e=transformEachRawEvent(e,a)),r&&(e=transformEachRawEvent(e,r)),e}function transformEachRawEvent(e,t){var n;if(t){n=[];for(var r=0,a=e;r<a.length;r++){var o=a[r],i=t(o);i?n.push(i):null==i&&n.push(o)}}else n=e;return n}function addEvent(e,t,n,r){return n&&(t=expandRecurring(t,n,r)),mergeEventStores(e,t)}function rezoneEventStoreDates(e,t,n){var r=e.defs,a=mapHash(e.instances,(function(e){var a=r[e.defId];return a.allDay||a.recurringDef?e:__assign$1(__assign$1({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})}));return{defs:r,instances:a}}function excludeEventsBySourceId(e,t){return filterEventStoreDefs(e,(function(e){return e.sourceId!==t}))}function excludeInstances(e,t){return{defs:e.defs,instances:filterHash(e.instances,(function(e){return!t[e.instanceId]}))}}function reduceDateSelection(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function reduceSelectedEvent(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function reduceEventDrag(e,t){var n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function reduceEventResize(e,t){var n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return{affectedEvents:(n=t.state).affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function parseToolbars(e,t,n,r,a){return{header:e.headerToolbar?parseToolbar(e.headerToolbar,e,t,n,r,a):null,footer:e.footerToolbar?parseToolbar(e.footerToolbar,e,t,n,r,a):null}}function parseToolbar(e,t,n,r,a,o){var i={},l=[],s=!1;for(var u in e){var c=parseSection(e[u],t,n,r,a,o);i[u]=c.widgets,l.push.apply(l,c.viewsWithButtons),s=s||c.hasTitle}return{sectionWidgets:i,viewsWithButtons:l,hasTitle:s}}function parseSection(e,t,n,r,a,o){var i="rtl"===t.direction,l=t.customButtons||{},s=n.buttonText||{},u=t.buttonText||{},c=n.buttonHints||{},d=t.buttonHints||{},f=e?e.split(" "):[],p=[],h=!1;return{widgets:f.map((function(e){return e.split(",").map((function(e){if("title"===e)return h=!0,{buttonName:e};var n,f,m,v,g,y;if(n=l[e])m=function(e){n.click&&n.click.call(e.target,e,e.target)},(v=r.getCustomButtonIconClass(n))||(v=r.getIconClass(e,i))||(g=n.text),y=n.hint||n.text;else if(f=a[e]){p.push(e),m=function(){o.changeView(e)},(g=f.buttonTextOverride)||(v=r.getIconClass(e,i))||(g=f.buttonTextDefault);var b=f.buttonTextOverride||f.buttonTextDefault;y=formatWithOrdinals(f.buttonTitleOverride||f.buttonTitleDefault||t.viewHint,[b,e],b)}else if(o[e])if(m=function(){o[e]()},(g=s[e])||(v=r.getIconClass(e,i))||(g=u[e]),"prevYear"===e||"nextYear"===e){var w="prevYear"===e?"prev":"next";y=formatWithOrdinals(c[w]||d[w],[u.year||"year","year"],u[e])}else y=function(t){return formatWithOrdinals(c[e]||d[e],[u[t]||t,t],u[e])};return{buttonName:e,buttonClick:m,buttonIcon:v,buttonText:g,buttonHint:y}}))})),viewsWithButtons:p,hasTitle:h}}var eventSourceDef$2={ignoreRange:!0,parseMeta:function(e){return Array.isArray(e.events)?e.events:null},fetch:function(e,t){t({rawEvents:e.eventSource.meta})}},arrayEventSourcePlugin=createPlugin({eventSourceDefs:[eventSourceDef$2]}),eventSourceDef$1={parseMeta:function(e){return"function"==typeof e.events?e.events:null},fetch:function(e,t,n){var r=e.context.dateEnv;unpromisify(e.eventSource.meta.bind(null,buildRangeApiWithTimeZone(e.range,r)),(function(e){t({rawEvents:e})}),n)}},funcEventSourcePlugin=createPlugin({eventSourceDefs:[eventSourceDef$1]});function requestJson(e,t,n,r,a){var o=null;"GET"===(e=e.toUpperCase())?t=injectQueryStringParams(t,n):o=encodeParams(n);var i=new XMLHttpRequest;i.open(e,t,!0),"GET"!==e&&i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.onload=function(){if(i.status>=200&&i.status<400){var e=!1,t=void 0;try{t=JSON.parse(i.responseText),e=!0}catch(e){}e?r(t,i):a("Failure parsing JSON",i)}else a("Request failed",i)},i.onerror=function(){a("Request failed",i)},i.send(o)}function injectQueryStringParams(e,t){return e+(-1===e.indexOf("?")?"?":"&")+encodeParams(t)}function encodeParams(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")}var JSON_FEED_EVENT_SOURCE_REFINERS={method:String,extraParams:identity,startParam:String,endParam:String,timeZoneParam:String},eventSourceDef={parseMeta:function(e){return!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}},fetch:function(e,t,n){var r=e.eventSource.meta,a=buildRequestParams(r,e.range,e.context);requestJson(r.method,r.url,a,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}},jsonFeedEventSourcePlugin=createPlugin({eventSourceRefiners:JSON_FEED_EVENT_SOURCE_REFINERS,eventSourceDefs:[eventSourceDef]});function buildRequestParams(e,t,n){var r,a,o,i,l=n.dateEnv,s=n.options,u={};return null==(r=e.startParam)&&(r=s.startParam),null==(a=e.endParam)&&(a=s.endParam),null==(o=e.timeZoneParam)&&(o=s.timeZoneParam),i="function"==typeof e.extraParams?e.extraParams():e.extraParams||{},__assign$1(u,i),u[r]=l.formatIso(t.start),u[a]=l.formatIso(t.end),"local"!==l.timeZone&&(u[o]=l.timeZone),u}var SIMPLE_RECURRING_REFINERS={daysOfWeek:identity,startTime:createDuration,endTime:createDuration,duration:createDuration,startRecur:identity,endRecur:identity},recurring={parse:function(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){var n={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null},r=void 0;return e.duration&&(r=e.duration),!r&&e.startTime&&e.endTime&&(r=subtractDurations(e.endTime,e.startTime)),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:r,typeData:n}}return null},expand:function(e,t,n){var r=intersectRanges(t,{start:e.startRecur,end:e.endRecur});return r?expandRanges(e.daysOfWeek,e.startTime,r,n):[]}},simpleRecurringEventsPlugin=createPlugin({recurringTypes:[recurring],eventRefiners:SIMPLE_RECURRING_REFINERS});function expandRanges(e,t,n,r){for(var a=e?arrayToHash(e):null,o=startOfDay(n.start),i=n.end,l=[];o<i;){var s=void 0;a&&!a[o.getUTCDay()]||(s=t?r.add(o,t):o,l.push(s)),o=addDays(o,1)}return l}var changeHandlerPlugin=createPlugin({optionChangeHandlers:{events:function(e,t){handleEventSources([e],t)},eventSources:handleEventSources}});function handleEventSources(e,t){for(var n=hashValuesToArray(t.getCurrentData().eventSources),r=[],a=0,o=e;a<o.length;a++){for(var i=o[a],l=!1,s=0;s<n.length;s+=1)if(n[s]._raw===i){n.splice(s,1),l=!0;break}l||r.push(i)}for(var u=0,c=n;u<c.length;u++){var d=c[u];t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:d.sourceId})}for(var f=0,p=r;f<p.length;f++){var h=p[f];t.calendarApi.addEventSource(h)}}function handleDateProfile(e,t){t.emitter.trigger("datesSet",__assign$1(__assign$1({},buildRangeApiWithTimeZone(e.activeRange,t.dateEnv)),{view:t.viewApi}))}function handleEventStore(e,t){var n=t.emitter;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",buildEventApis(e,t))}var globalPlugins=[arrayEventSourcePlugin,funcEventSourcePlugin,jsonFeedEventSourcePlugin,simpleRecurringEventsPlugin,changeHandlerPlugin,createPlugin({isLoadingFuncs:[function(e){return computeEventSourcesLoading(e.eventSources)}],contentTypeHandlers:{html:buildHtmlRenderer,domNodes:buildDomNodeRenderer},propSetHandlers:{dateProfile:handleDateProfile,eventStore:handleEventStore}})];function buildHtmlRenderer(){var e=null,t="";return{render:function(n,r){n===e&&r===t||(n.innerHTML=r),e=n,t=r},destroy:function(){e.innerHTML="",e=null,t=""}}}function buildDomNodeRenderer(){var e=null,t=[];function n(){t.forEach(removeElement),t=[],e=null}return{render:function(r,a){var o=Array.prototype.slice.call(a);if(r!==e||!isArraysEqual(t,o)){for(var i=0,l=o;i<l.length;i++){var s=l[i];r.appendChild(s)}n()}e=r,t=o},destroy:n}}var DelayedRunner=function(){function e(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}return e.prototype.request=function(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))},e.prototype.pause=function(e){void 0===e&&(e="");var t=this.pauseDepths;t[e]=(t[e]||0)+1,this.clearTimeout()},e.prototype.resume=function(e,t){void 0===e&&(e="");var n=this.pauseDepths;if(e in n){if(t)delete n[e];else n[e]-=1,n[e]<=0&&delete n[e];this.tryDrain()}},e.prototype.isPaused=function(){return Object.keys(this.pauseDepths).length},e.prototype.tryDrain=function(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}},e.prototype.clear=function(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}},e.prototype.clearTimeout=function(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)},e.prototype.drained=function(){this.drainedOption&&this.drainedOption()},e}(),TaskRunner=function(){function e(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new DelayedRunner(this.drain.bind(this))}return e.prototype.request=function(e,t){this.queue.push(e),this.delayedRunner.request(t)},e.prototype.pause=function(e){this.delayedRunner.pause(e)},e.prototype.resume=function(e,t){this.delayedRunner.resume(e,t)},e.prototype.drain=function(){for(var e=this.queue;e.length;){for(var t=[],n=void 0;n=e.shift();)this.runTask(n),t.push(n);this.drained(t)}},e.prototype.runTask=function(e){this.runTaskOption&&this.runTaskOption(e)},e.prototype.drained=function(e){this.drainedOption&&this.drainedOption(e)},e}();function buildTitle(e,t,n){var r;return r=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(r.start,r.end,createFormatter(t.titleFormat||buildTitleFormat(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}function buildTitleFormat(e){var t=e.currentRangeUnit;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};var n=diffWholeDays(e.currentRange.start,e.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}var CalendarDataManager=function(){function e(e){var t=this;this.computeOptionsData=memoize(this._computeOptionsData),this.computeCurrentViewData=memoize(this._computeCurrentViewData),this.organizeRawLocales=memoize(organizeRawLocales),this.buildLocale=memoize(buildLocale),this.buildPluginHooks=buildBuildPluginHooks(),this.buildDateEnv=memoize(buildDateEnv),this.buildTheme=memoize(buildTheme),this.parseToolbars=memoize(parseToolbars),this.buildViewSpecs=memoize(buildViewSpecs),this.buildDateProfileGenerator=memoizeObjArg(buildDateProfileGenerator),this.buildViewApi=memoize(buildViewApi),this.buildViewUiProps=memoizeObjArg(buildViewUiProps),this.buildEventUiBySource=memoize(buildEventUiBySource,isPropsEqual),this.buildEventUiBases=memoize(buildEventUiBases),this.parseContextBusinessHours=memoizeObjArg(parseContextBusinessHours),this.buildTitle=memoize(buildTitle),this.emitter=new Emitter,this.actionRunner=new TaskRunner(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.getCurrentData=function(){return t.data},this.dispatch=function(e){t.actionRunner.request(e)},this.props=e,this.actionRunner.pause();var n={},r=this.computeOptionsData(e.optionOverrides,n,e.calendarApi),a=r.calendarOptions.initialView||r.pluginHooks.initialView,o=this.computeCurrentViewData(a,r,e.optionOverrides,n);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(o.options);var i=getInitialDate(r.calendarOptions,r.dateEnv),l=o.dateProfileGenerator.build(i);rangeContainsMarker(l.activeRange,i)||(i=l.currentRange.start);for(var s={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},u=0,c=r.pluginHooks.contextInit;u<c.length;u++){(0,c[u])(s)}for(var d=initEventSources(r.calendarOptions,l,s),f={dynamicOptionOverrides:n,currentViewType:a,currentDate:i,dateProfile:l,businessHours:this.parseContextBusinessHours(s),eventSources:d,eventUiBases:{},eventStore:createEmptyEventStore(),renderableEventStore:createEmptyEventStore(),dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(s).selectionConfig},p=__assign$1(__assign$1({},s),f),h=0,m=r.pluginHooks.reducers;h<m.length;h++){var v=m[h];__assign$1(f,v(null,null,p))}computeIsLoading(f,s)&&this.emitter.trigger("loading",!0),this.state=f,this.updateData(),this.actionRunner.resume()}return e.prototype.resetOptions=function(e,t){var n=this.props;n.optionOverrides=t?__assign$1(__assign$1({},n.optionOverrides),e):e,this.actionRunner.request({type:"NOTHING"})},e.prototype._handleAction=function(e){var t=this,n=t.props,r=t.state,a=t.emitter,o=reduceDynamicOptionOverrides(r.dynamicOptionOverrides,e),i=this.computeOptionsData(n.optionOverrides,o,n.calendarApi),l=reduceViewType(r.currentViewType,e),s=this.computeCurrentViewData(l,i,n.optionOverrides,o);n.calendarApi.currentDataManager=this,a.setThisContext(n.calendarApi),a.setOptions(s.options);var u={dateEnv:i.dateEnv,options:i.calendarOptions,pluginHooks:i.pluginHooks,calendarApi:n.calendarApi,dispatch:this.dispatch,emitter:a,getCurrentData:this.getCurrentData},c=r.currentDate,d=r.dateProfile;this.data&&this.data.dateProfileGenerator!==s.dateProfileGenerator&&(d=s.dateProfileGenerator.build(c)),d=reduceDateProfile(d,e,c=reduceCurrentDate(c,e),s.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&rangeContainsMarker(d.currentRange,c)||(c=d.currentRange.start);for(var f=reduceEventSources(r.eventSources,e,d,u),p=reduceEventStore(r.eventStore,e,f,d,u),h=computeEventSourcesLoading(f)&&!s.options.progressiveEventRendering&&r.renderableEventStore||p,m=this.buildViewUiProps(u),v=m.eventUiSingleBase,g=m.selectionConfig,y=this.buildEventUiBySource(f),b={dynamicOptionOverrides:o,currentViewType:l,currentDate:c,dateProfile:d,eventSources:f,eventStore:p,renderableEventStore:h,selectionConfig:g,eventUiBases:this.buildEventUiBases(h.defs,v,y),businessHours:this.parseContextBusinessHours(u),dateSelection:reduceDateSelection(r.dateSelection,e),eventSelection:reduceSelectedEvent(r.eventSelection,e),eventDrag:reduceEventDrag(r.eventDrag,e),eventResize:reduceEventResize(r.eventResize,e)},w=__assign$1(__assign$1({},u),b),S=0,E=i.pluginHooks.reducers;S<E.length;S++){var _=E[S];__assign$1(b,_(r,e,w))}var k=computeIsLoading(r,u),T=computeIsLoading(b,u);!k&&T?a.trigger("loading",!0):k&&!T&&a.trigger("loading",!1),this.state=b,n.onAction&&n.onAction(e)},e.prototype.updateData=function(){var e=this.props,t=this.state,n=this.data,r=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),a=this.computeCurrentViewData(t.currentViewType,r,e.optionOverrides,t.dynamicOptionOverrides),o=this.data=__assign$1(__assign$1(__assign$1({viewTitle:this.buildTitle(t.dateProfile,a.options,r.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},r),a),t),i=r.pluginHooks.optionChangeHandlers,l=n&&n.calendarOptions,s=r.calendarOptions;if(l&&l!==s)for(var u in l.timeZone!==s.timeZone&&(t.eventSources=o.eventSources=reduceEventSourcesNewTimeZone(o.eventSources,t.dateProfile,o),t.eventStore=o.eventStore=rezoneEventStoreDates(o.eventStore,n.dateEnv,o.dateEnv)),i)l[u]!==s[u]&&i[u](s[u],o);e.onData&&e.onData(o)},e.prototype._computeOptionsData=function(e,t,n){var r=this.processRawCalendarOptions(e,t),a=r.refinedOptions,o=r.pluginHooks,i=r.localeDefaults,l=r.availableLocaleData;warnUnknownOptions(r.extra);var s=this.buildDateEnv(a.timeZone,a.locale,a.weekNumberCalculation,a.firstDay,a.weekText,o,l,a.defaultRangeSeparator),u=this.buildViewSpecs(o.views,e,t,i),c=this.buildTheme(a,o);return{calendarOptions:a,pluginHooks:o,dateEnv:s,viewSpecs:u,theme:c,toolbarConfig:this.parseToolbars(a,e,c,u,n),localeDefaults:i,availableRawLocales:l.map}},e.prototype.processRawCalendarOptions=function(e,t){var n=mergeRawOptions([BASE_OPTION_DEFAULTS,e,t]),r=n.locales,a=n.locale,o=this.organizeRawLocales(r),i=o.map,l=this.buildLocale(a||o.defaultCode,i).options,s=this.buildPluginHooks(e.plugins||[],globalPlugins),u=this.currentCalendarOptionsRefiners=__assign$1(__assign$1(__assign$1(__assign$1(__assign$1({},BASE_OPTION_REFINERS),CALENDAR_LISTENER_REFINERS),CALENDAR_OPTION_REFINERS),s.listenerRefiners),s.optionRefiners),c={},d=mergeRawOptions([BASE_OPTION_DEFAULTS,l,e,t]),f={},p=this.currentCalendarOptionsInput,h=this.currentCalendarOptionsRefined,m=!1;for(var v in d)"plugins"!==v&&(d[v]===p[v]||COMPLEX_OPTION_COMPARATORS[v]&&v in p&&COMPLEX_OPTION_COMPARATORS[v](p[v],d[v])?f[v]=h[v]:u[v]?(f[v]=u[v](d[v]),m=!0):c[v]=p[v]);return m&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=f),{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:s,availableLocaleData:o,localeDefaults:l,extra:c}},e.prototype._computeCurrentViewData=function(e,t,n,r){var a=t.viewSpecs[e];if(!a)throw new Error('viewType "'+e+"\" is not available. Please make sure you've loaded all neccessary plugins");var o=this.processRawViewOptions(a,t.pluginHooks,t.localeDefaults,n,r),i=o.refinedOptions;return warnUnknownOptions(o.extra),{viewSpec:a,options:i,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:a.optionDefaults.dateProfileGeneratorClass,duration:a.duration,durationUnit:a.durationUnit,usesMinMaxTime:a.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:i.slotMinTime,slotMaxTime:i.slotMaxTime,showNonCurrentDates:i.showNonCurrentDates,dayCount:i.dayCount,dateAlignment:i.dateAlignment,dateIncrement:i.dateIncrement,hiddenDays:i.hiddenDays,weekends:i.weekends,nowInput:i.now,validRangeInput:i.validRange,visibleRangeInput:i.visibleRange,monthMode:i.monthMode,fixedWeekCount:i.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}},e.prototype.processRawViewOptions=function(e,t,n,r,a){var o=mergeRawOptions([BASE_OPTION_DEFAULTS,e.optionDefaults,n,r,e.optionOverrides,a]),i=__assign$1(__assign$1(__assign$1(__assign$1(__assign$1(__assign$1({},BASE_OPTION_REFINERS),CALENDAR_LISTENER_REFINERS),CALENDAR_OPTION_REFINERS),VIEW_OPTION_REFINERS),t.listenerRefiners),t.optionRefiners),l={},s=this.currentViewOptionsInput,u=this.currentViewOptionsRefined,c=!1,d={};for(var f in o)o[f]===s[f]||COMPLEX_OPTION_COMPARATORS[f]&&COMPLEX_OPTION_COMPARATORS[f](o[f],s[f])?l[f]=u[f]:(o[f]===this.currentCalendarOptionsInput[f]||COMPLEX_OPTION_COMPARATORS[f]&&COMPLEX_OPTION_COMPARATORS[f](o[f],this.currentCalendarOptionsInput[f])?f in this.currentCalendarOptionsRefined&&(l[f]=this.currentCalendarOptionsRefined[f]):i[f]?l[f]=i[f](o[f]):d[f]=o[f],c=!0);return c&&(this.currentViewOptionsInput=o,this.currentViewOptionsRefined=l),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:d}},e}();function buildDateEnv(e,t,n,r,a,o,i,l){var s=buildLocale(t||i.defaultCode,i.map);return new DateEnv({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:o.namedTimeZonedImpl,locale:s,weekNumberCalculation:n,firstDay:r,weekText:a,cmdFormatter:o.cmdFormatter,defaultSeparator:l})}function buildTheme(e,t){return new(t.themeClasses[e.themeSystem]||StandardTheme)(e)}function buildDateProfileGenerator(e){return new(e.dateProfileGeneratorClass||DateProfileGenerator)(e)}function buildViewApi(e,t,n){return new ViewApi(e,t,n)}function buildEventUiBySource(e){return mapHash(e,(function(e){return e.ui}))}function buildEventUiBases(e,t,n){var r={"":t};for(var a in e){var o=e[a];o.sourceId&&n[o.sourceId]&&(r[a]=n[o.sourceId])}return r}function buildViewUiProps(e){var t=e.options;return{eventUiSingleBase:createEventUi({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:createEventUi({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function computeIsLoading(e,t){for(var n=0,r=t.pluginHooks.isLoadingFuncs;n<r.length;n++){if((0,r[n])(e))return!0}return!1}function parseContextBusinessHours(e){return parseBusinessHours(e.options.businessHours,e)}function warnUnknownOptions(e,t){for(var n in e)console.warn("Unknown option '"+n+"'"+(t?" for view '"+t+"'":""))}var CalendarDataProvider=function(e){function t(t){var n=e.call(this,t)||this;return n.handleData=function(e){n.dataManager?n.setState(e):n.state=e},n.dataManager=new CalendarDataManager({optionOverrides:t.optionOverrides,calendarApi:t.calendarApi,onData:n.handleData}),n}return __extends(t,e),t.prototype.render=function(){return this.props.children(this.state)},t.prototype.componentDidUpdate=function(e){var t=this.props.optionOverrides;t!==e.optionOverrides&&this.dataManager.resetOptions(t)},t}(Component),SegHierarchy=function(){function e(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}return e.prototype.addSegs=function(e){for(var t=[],n=0,r=e;n<r.length;n++){var a=r[n];this.insertEntry(a,t)}return t},e.prototype.insertEntry=function(e,t){var n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)},e.prototype.isInsertionValid=function(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)},e.prototype.handleInvalidInsertion=function(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)},e.prototype.splitEntry=function(e,t,n){var r=0,a=[],o=e.span,i=t.span;return o.start<i.start&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:o.start,end:i.start}},a)),o.end>i.end&&(r+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:i.end,end:o.end}},a)),r?(n.push.apply(n,__spreadArray([{index:e.index,thickness:e.thickness,span:intersectSpans(i,o)}],a)),r):(n.push(e),0)},e.prototype.insertEntryAt=function(e,t){var n=this.entriesByLevel,r=this.levelCoords;-1===t.lateral?(insertAt(r,t.level,t.levelCoord),insertAt(n,t.level,[e])):insertAt(n[t.level],t.lateral,e),this.stackCnts[buildEntryKey(e)]=t.stackCnt},e.prototype.findInsertion=function(e){for(var t=this,n=t.levelCoords,r=t.entriesByLevel,a=t.strictOrder,o=t.stackCnts,i=n.length,l=0,s=-1,u=-1,c=null,d=0,f=0;f<i;f+=1){var p=n[f];if(!a&&p>=l+e.thickness)break;for(var h=r[f],m=void 0,v=binarySearch(h,e.span.start,getEntrySpanEnd),g=v[0]+v[1];(m=h[g])&&m.span.start<e.span.end;){var y=p+m.thickness;y>l&&(l=y,c=m,s=f,u=g),y===l&&(d=Math.max(d,o[buildEntryKey(m)]+1)),g+=1}}var b=0;if(c)for(b=s+1;b<i&&n[b]<l;)b+=1;var w=-1;return b<i&&n[b]===l&&(w=binarySearch(r[b],e.span.end,getEntrySpanEnd)[0]),{touchingLevel:s,touchingLateral:u,touchingEntry:c,stackCnt:d,levelCoord:l,level:b,lateral:w}},e.prototype.toRects=function(){for(var e=this.entriesByLevel,t=this.levelCoords,n=e.length,r=[],a=0;a<n;a+=1)for(var o=e[a],i=t[a],l=0,s=o;l<s.length;l++){var u=s[l];r.push(__assign$1(__assign$1({},u),{levelCoord:i}))}return r},e}();function getEntrySpanEnd(e){return e.span.end}function buildEntryKey(e){return e.index+":"+e.span.start}function groupIntersectingEntries(e){for(var t=[],n=0,r=e;n<r.length;n++){for(var a=r[n],o=[],i={span:a.span,entries:[a]},l=0,s=t;l<s.length;l++){var u=s[l];intersectSpans(u.span,i.span)?i={entries:u.entries.concat(i.entries),span:joinSpans(u.span,i.span)}:o.push(u)}o.push(i),t=o}return t}function joinSpans(e,t){return{start:Math.min(e.start,t.start),end:Math.max(e.end,t.end)}}function intersectSpans(e,t){var n=Math.max(e.start,t.start),r=Math.min(e.end,t.end);return n<r?{start:n,end:r}:null}function insertAt(e,t,n){e.splice(t,0,n)}function binarySearch(e,t,n){var r=0,a=e.length;if(!a||t<n(e[r]))return[0,0];if(t>n(e[a-1]))return[a,0];for(;r<a;){var o=Math.floor(r+(a-r)/2),i=n(e[o]);if(t<i)a=o;else{if(!(t>i))return[o,1];r=o+1}}return[r,0]}var Interaction=function(){function e(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}return e.prototype.destroy=function(){},e}();function parseInteractionSettings(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}function interactionSettingsToStore(e){var t;return(t={})[e.component.uid]=e,t}var interactionSettingsStore={},ElementDragging=function(){function e(e,t){this.emitter=new Emitter}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}(),config$1={},ToolbarSection=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props.widgetGroups.map((function(t){return e.renderWidgetGroup(t)}));return createElement.apply(void 0,__spreadArray(["div",{className:"fc-toolbar-chunk"}],t))},t.prototype.renderWidgetGroup=function(e){for(var t=this.props,n=this.context.theme,r=[],a=!0,o=0,i=e;o<i.length;o++){var l=i[o],s=l.buttonName,u=l.buttonClick,c=l.buttonText,d=l.buttonIcon,f=l.buttonHint;if("title"===s)a=!1,r.push(createElement("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{var p=s===t.activeButton,h=!t.isTodayEnabled&&"today"===s||!t.isPrevEnabled&&"prev"===s||!t.isNextEnabled&&"next"===s,m=["fc-"+s+"-button",n.getClass("button")];p&&m.push(n.getClass("buttonActive")),r.push(createElement("button",{type:"button",title:"function"==typeof f?f(t.navUnit):f,disabled:h,"aria-pressed":p,className:m.join(" "),onClick:u},c||(d?createElement("span",{className:d}):"")))}}if(r.length>1){var v=a&&n.getClass("buttonGroup")||"";return createElement.apply(void 0,__spreadArray(["div",{className:v}],r))}return r[0]},t}(BaseComponent),Toolbar=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e,t,n=this.props,r=n.model,a=n.extraClassName,o=!1,i=r.sectionWidgets,l=i.center;return i.left?(o=!0,e=i.left):e=i.start,i.right?(o=!0,t=i.right):t=i.end,createElement("div",{className:[a||"","fc-toolbar",o?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",l||[]),this.renderSection("end",t||[]))},t.prototype.renderSection=function(e,t){var n=this.props;return createElement(ToolbarSection,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})},t}(BaseComponent),ViewContainer=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={availableWidth:null},t.handleEl=function(e){t.el=e,setRef(t.props.elRef,e),t.updateAvailableWidth()},t.handleResize=function(){t.updateAvailableWidth()},t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.state,n=e.aspectRatio,r=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],a="",o="";return n?null!==t.availableWidth?a=t.availableWidth/n:o=1/n*100+"%":a=e.height||"",createElement("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:r.join(" "),style:{height:a,paddingBottom:o}},e.children)},t.prototype.componentDidMount=function(){this.context.addResizeHandler(this.handleResize)},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleResize)},t.prototype.updateAvailableWidth=function(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})},t}(BaseComponent),EventClicking=function(e){function t(t){var n=e.call(this,t)||this;return n.handleSegClick=function(e,t){var r=n.component,a=r.context,o=getElSeg(t);if(o&&r.isValidSegDownEl(e.target)){var i=elementClosest(e.target,".fc-event-forced-url"),l=i?i.querySelector("a[href]").href:"";a.emitter.trigger("eventClick",{el:t,event:new EventApi(r.context,o.eventRange.def,o.eventRange.instance),jsEvent:e,view:a.viewApi}),l&&!e.defaultPrevented&&(window.location.href=l)}},n.destroy=listenBySelector(t.el,"click",".fc-event",n.handleSegClick),n}return __extends(t,e),t}(Interaction),EventHovering=function(e){function t(t){var n=e.call(this,t)||this;return n.handleEventElRemove=function(e){e===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(e,t){getElSeg(t)&&(n.currentSegEl=t,n.triggerEvent("eventMouseEnter",e,t))},n.handleSegLeave=function(e,t){n.currentSegEl&&(n.currentSegEl=null,n.triggerEvent("eventMouseLeave",e,t))},n.removeHoverListeners=listenToHoverBySelector(t.el,".fc-event",n.handleSegEnter,n.handleSegLeave),n}return __extends(t,e),t.prototype.destroy=function(){this.removeHoverListeners()},t.prototype.triggerEvent=function(e,t,n){var r=this.component,a=r.context,o=getElSeg(n);t&&!r.isValidSegDownEl(t.target)||a.emitter.trigger(e,{el:n,event:new EventApi(a,o.eventRange.def,o.eventRange.instance),jsEvent:t,view:a.viewApi})},t}(Interaction),CalendarContent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildViewContext=memoize(buildViewContext),t.buildViewPropTransformers=memoize(buildViewPropTransformers),t.buildToolbarProps=memoize(buildToolbarProps),t.headerRef=createRef(),t.footerRef=createRef(),t.interactionsStore={},t.state={viewLabelId:getUniqueDomId()},t.registerInteractiveComponent=function(e,n){var r=parseInteractionSettings(e,n),a=[EventClicking,EventHovering].concat(t.props.pluginHooks.componentInteractions).map((function(e){return new e(r)}));t.interactionsStore[e.uid]=a,interactionSettingsStore[e.uid]=r},t.unregisterInteractiveComponent=function(e){var n=t.interactionsStore[e.uid];if(n){for(var r=0,a=n;r<a.length;r++){a[r].destroy()}delete t.interactionsStore[e.uid]}delete interactionSettingsStore[e.uid]},t.resizeRunner=new DelayedRunner((function(){t.props.emitter.trigger("_resize",!0),t.props.emitter.trigger("windowResize",{view:t.props.viewApi})})),t.handleWindowResize=function(e){var n=t.props.options;n.handleWindowResize&&e.target===window&&t.resizeRunner.request(n.windowResizeDelay)},t}return __extends(t,e),t.prototype.render=function(){var e,t=this.props,n=t.toolbarConfig,r=t.options,a=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,getNow(t.options.now,t.dateEnv),t.viewTitle),o=!1,i="";t.isHeightAuto||t.forPrint?i="":null!=r.height?o=!0:null!=r.contentHeight?i=r.contentHeight:e=Math.max(r.aspectRatio,.5);var l=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),s=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return createElement(ViewContextType.Provider,{value:l},n.header&&createElement(Toolbar,__assign$1({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:s},a)),createElement(ViewContainer,{liquid:o,height:i,aspectRatio:e,labeledById:s},this.renderView(t),this.buildAppendContent()),n.footer&&createElement(Toolbar,__assign$1({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},a)))},t.prototype.componentDidMount=function(){var e=this.props;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((function(t){return new t(e)})),window.addEventListener("resize",this.handleWindowResize);var t=e.pluginHooks.propSetHandlers;for(var n in t)t[n](e[n],e)},t.prototype.componentDidUpdate=function(e){var t=this.props,n=t.pluginHooks.propSetHandlers;for(var r in n)t[r]!==e[r]&&n[r](t[r],t)},t.prototype.componentWillUnmount=function(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(var e=0,t=this.calendarInteractions;e<t.length;e++){t[e].destroy()}this.props.emitter.trigger("_unmount")},t.prototype.buildAppendContent=function(){var e=this.props,t=e.pluginHooks.viewContainerAppends.map((function(t){return t(e)}));return createElement.apply(void 0,__spreadArray([Fragment,{}],t))},t.prototype.renderView=function(e){for(var t=e.pluginHooks,n=e.viewSpec,r={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},a=0,o=this.buildViewPropTransformers(t.viewPropsTransformers);a<o.length;a++){var i=o[a];__assign$1(r,i.transform(r,e))}var l=n.component;return createElement(l,__assign$1({},r))},t}(PureComponent);function buildToolbarProps(e,t,n,r,a,o){var i=n.build(a,void 0,!1),l=n.buildPrev(t,r,!1),s=n.buildNext(t,r,!1);return{title:o,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:i.isValid&&!rangeContainsMarker(t.currentRange,a),isPrevEnabled:l.isValid,isNextEnabled:s.isValid}}function buildViewPropTransformers(e){return e.map((function(e){return new e}))}var CalendarRoot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={forPrint:!1},t.handleBeforePrint=function(){t.setState({forPrint:!0})},t.handleAfterPrint=function(){t.setState({forPrint:!1})},t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=e.options,n=this.state.forPrint,r=n||"auto"===t.height||"auto"===t.contentHeight,a=r||null==t.height?"":t.height,o=["fc",n?"fc-media-print":"fc-media-screen","fc-direction-"+t.direction,e.theme.getClass("root")];return getCanVGrowWithinCell()||o.push("fc-liquid-hack"),e.children(o,a,r,n)},t.prototype.componentDidMount=function(){var e=this.props.emitter;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)},t.prototype.componentWillUnmount=function(){var e=this.props.emitter;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)},t}(BaseComponent);function computeFallbackHeaderFormat(e,t){return createFormatter(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}var CLASS_NAME="fc-col-header-cell";function renderInner$1(e){return e.text}var TableDateCell=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.context,t=e.dateEnv,n=e.options,r=e.theme,a=e.viewApi,o=this.props,i=o.date,l=o.dateProfile,s=getDateMeta(i,o.todayRange,null,l),u=[CLASS_NAME].concat(getDayClassNames(s,r)),c=t.format(i,o.dayHeaderFormat),d=!s.isDisabled&&o.colCnt>1?buildNavLinkAttrs(this.context,i):{},f=__assign$1(__assign$1(__assign$1({date:t.toDate(i),view:a},o.extraHookProps),{text:c}),s);return createElement(RenderHook,{hookProps:f,classNames:n.dayHeaderClassNames,content:n.dayHeaderContent,defaultContent:renderInner$1,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(function(e,t,n,r){return createElement("th",__assign$1({ref:e,role:"columnheader",className:u.concat(t).join(" "),"data-date":s.isDisabled?void 0:formatDayString(i),colSpan:o.colSpan},o.extraDataAttrs),createElement("div",{className:"fc-scrollgrid-sync-inner"},!s.isDisabled&&createElement("a",__assign$1({ref:n,className:["fc-col-header-cell-cushion",o.isSticky?"fc-sticky":""].join(" ")},d),r)))}))},t}(BaseComponent),WEEKDAY_FORMAT=createFormatter({weekday:"long"}),TableDowCell=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.dateEnv,r=t.theme,a=t.viewApi,o=t.options,i=addDays(new Date(2592e5),e.dow),l={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},s=[CLASS_NAME].concat(getDayClassNames(l,r),e.extraClassNames||[]),u=n.format(i,e.dayHeaderFormat),c=__assign$1(__assign$1(__assign$1(__assign$1({date:i},l),{view:a}),e.extraHookProps),{text:u});return createElement(RenderHook,{hookProps:c,classNames:o.dayHeaderClassNames,content:o.dayHeaderContent,defaultContent:renderInner$1,didMount:o.dayHeaderDidMount,willUnmount:o.dayHeaderWillUnmount},(function(t,r,a,o){return createElement("th",__assign$1({ref:t,role:"columnheader",className:s.concat(r).join(" "),colSpan:e.colSpan},e.extraDataAttrs),createElement("div",{className:"fc-scrollgrid-sync-inner"},createElement("a",{"aria-label":n.format(i,WEEKDAY_FORMAT),className:["fc-col-header-cell-cushion",e.isSticky?"fc-sticky":""].join(" "),ref:a},o)))}))},t}(BaseComponent),NowTimer=function(e){function t(t,n){var r=e.call(this,t,n)||this;return r.initialNowDate=getNow(n.options.now,n.dateEnv),r.initialNowQueriedMs=(new Date).valueOf(),r.state=r.computeTiming().currentState,r}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return e.children(t.nowDate,t.todayRange)},t.prototype.componentDidMount=function(){this.setTimeout()},t.prototype.componentDidUpdate=function(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())},t.prototype.componentWillUnmount=function(){this.clearTimeout()},t.prototype.computeTiming=function(){var e=this.props,t=this.context,n=addMs(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),r=t.dateEnv.startOf(n,e.unit),a=t.dateEnv.add(r,createDuration(1,e.unit)),o=a.valueOf()-n.valueOf();return o=Math.min(864e5,o),{currentState:{nowDate:r,todayRange:buildDayRange(r)},nextState:{nowDate:a,todayRange:buildDayRange(a)},waitMs:o}},t.prototype.setTimeout=function(){var e=this,t=this.computeTiming(),n=t.nextState,r=t.waitMs;this.timeoutId=setTimeout((function(){e.setState(n,(function(){e.setTimeout()}))}),r)},t.prototype.clearTimeout=function(){this.timeoutId&&clearTimeout(this.timeoutId)},t.contextType=ViewContextType,t}(Component);function buildDayRange(e){var t=startOfDay(e);return{start:t,end:addDays(t,1)}}var DayHeader=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.createDayHeaderFormatter=memoize(createDayHeaderFormatter),t}return __extends(t,e),t.prototype.render=function(){var e=this.context,t=this.props,n=t.dates,r=t.dateProfile,a=t.datesRepDistinctDays,o=t.renderIntro,i=this.createDayHeaderFormatter(e.options.dayHeaderFormat,a,n.length);return createElement(NowTimer,{unit:"day"},(function(e,t){return createElement("tr",{role:"row"},o&&o("day"),n.map((function(e){return a?createElement(TableDateCell,{key:e.toISOString(),date:e,dateProfile:r,todayRange:t,colCnt:n.length,dayHeaderFormat:i}):createElement(TableDowCell,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:i})})))}))},t}(BaseComponent);function createDayHeaderFormatter(e,t,n){return e||computeFallbackHeaderFormat(t,n)}var DaySeriesModel=function(){function e(e,t){for(var n=e.start,r=e.end,a=[],o=[],i=-1;n<r;)t.isHiddenDay(n)?a.push(i+.5):(i+=1,a.push(i),o.push(n)),n=addDays(n,1);this.dates=o,this.indices=a,this.cnt=o.length}return e.prototype.sliceRange=function(e){var t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(addDays(e.end,-1)),r=Math.max(0,t),a=Math.min(this.cnt-1,n);return(r=Math.ceil(r))<=(a=Math.floor(a))?{firstIndex:r,lastIndex:a,isStart:t===r,isEnd:n===a}:null},e.prototype.getDateDayIndex=function(e){var t=this.indices,n=Math.floor(diffDays(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]},e}(),DayTableModel=function(){function e(e,t){var n,r,a,o=e.dates;if(t){for(r=o[0].getUTCDay(),n=1;n<o.length&&o[n].getUTCDay()!==r;n+=1);a=Math.ceil(o.length/n)}else a=1,n=o.length;this.rowCnt=a,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}return e.prototype.buildCells=function(){for(var e=[],t=0;t<this.rowCnt;t+=1){for(var n=[],r=0;r<this.colCnt;r+=1)n.push(this.buildCell(t,r));e.push(n)}return e},e.prototype.buildCell=function(e,t){var n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}},e.prototype.buildHeaderDates=function(){for(var e=[],t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e},e.prototype.sliceRange=function(e){var t=this.colCnt,n=this.daySeries.sliceRange(e),r=[];if(n)for(var a=n.firstIndex,o=n.lastIndex,i=a;i<=o;){var l=Math.floor(i/t),s=Math.min((l+1)*t,o+1);r.push({row:l,firstCol:i%t,lastCol:(s-1)%t,isStart:n.isStart&&i===a,isEnd:n.isEnd&&s-1===o}),i=s}return r},e}(),Slicer=function(){function e(){this.sliceBusinessHours=memoize(this._sliceBusinessHours),this.sliceDateSelection=memoize(this._sliceDateSpan),this.sliceEventStore=memoize(this._sliceEventStore),this.sliceEventDrag=memoize(this._sliceInteraction),this.sliceEventResize=memoize(this._sliceInteraction),this.forceDayIfListItem=!1}return e.prototype.sliceProps=function(e,t,n,r){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];var i=e.eventUiBases,l=this.sliceEventStore.apply(this,__spreadArray([e.eventStore,i,t,n],a));return{dateSelectionSegs:this.sliceDateSelection.apply(this,__spreadArray([e.dateSelection,i,r],a)),businessHourSegs:this.sliceBusinessHours.apply(this,__spreadArray([e.businessHours,t,n,r],a)),fgEventSegs:l.fg,bgEventSegs:l.bg,eventDrag:this.sliceEventDrag.apply(this,__spreadArray([e.eventDrag,i,t,n],a)),eventResize:this.sliceEventResize.apply(this,__spreadArray([e.eventResize,i,t,n],a)),eventSelection:e.eventSelection}},e.prototype.sliceNowDate=function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this._sliceDateSpan.apply(this,__spreadArray([{range:{start:e,end:addMs(e,1)},allDay:!1},{},t],n))},e.prototype._sliceBusinessHours=function(e,t,n,r){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];return e?this._sliceEventStore.apply(this,__spreadArray([expandRecurring(e,computeActiveRange(t,Boolean(n)),r),{},t,n],a)).bg:[]},e.prototype._sliceEventStore=function(e,t,n,r){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];if(e){var i=sliceEventStore(e,t,computeActiveRange(n,Boolean(r)),r);return{bg:this.sliceEventRanges(i.bg,a),fg:this.sliceEventRanges(i.fg,a)}}return{bg:[],fg:[]}},e.prototype._sliceInteraction=function(e,t,n,r){for(var a=[],o=4;o<arguments.length;o++)a[o-4]=arguments[o];if(!e)return null;var i=sliceEventStore(e.mutatedEvents,t,computeActiveRange(n,Boolean(r)),r);return{segs:this.sliceEventRanges(i.fg,a),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}},e.prototype._sliceDateSpan=function(e,t,n){for(var r=[],a=3;a<arguments.length;a++)r[a-3]=arguments[a];if(!e)return[];for(var o=fabricateEventRange(e,t,n),i=this.sliceRange.apply(this,__spreadArray([e.range],r)),l=0,s=i;l<s.length;l++){var u=s[l];u.eventRange=o}return i},e.prototype.sliceEventRanges=function(e,t){for(var n=[],r=0,a=e;r<a.length;r++){var o=a[r];n.push.apply(n,this.sliceEventRange(o,t))}return n},e.prototype.sliceEventRange=function(e,t){var n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:addDays(n.start,1)});for(var r=this.sliceRange.apply(this,__spreadArray([n],t)),a=0,o=r;a<o.length;a++){var i=o[a];i.eventRange=e,i.isStart=e.isStart&&i.isStart,i.isEnd=e.isEnd&&i.isEnd}return r},e}();function computeActiveRange(e,t){var n=e.activeRange;return t?n:{start:addMs(n.start,e.slotMinTime.milliseconds),end:addMs(n.end,e.slotMaxTime.milliseconds-864e5)}}function isInteractionValid(e,t,n){var r=e.mutatedEvents.instances;for(var a in r)if(!rangeContainsRange(t.validRange,r[a].range))return!1;return isNewPropsValid({eventDrag:e},n)}function isDateSelectionValid(e,t,n){return!!rangeContainsRange(t.validRange,e.range)&&isNewPropsValid({dateSelection:e},n)}function isNewPropsValid(e,t){var n=t.getCurrentData(),r=__assign$1({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||isPropsValid)(r,t)}function isPropsValid(e,t,n,r){return void 0===n&&(n={}),!(e.eventDrag&&!isInteractionPropsValid(e,t,n,r))&&!(e.dateSelection&&!isDateSelectionPropsValid(e,t,n,r))}function isInteractionPropsValid(e,t,n,r){var a=t.getCurrentData(),o=e.eventDrag,i=o.mutatedEvents,l=i.defs,s=i.instances,u=compileEventUis(l,o.isEvent?e.eventUiBases:{"":a.selectionConfig});r&&(u=mapHash(u,r));var c=excludeInstances(e.eventStore,o.affectedEvents.instances),d=c.defs,f=c.instances,p=compileEventUis(d,e.eventUiBases);for(var h in s){var m=s[h],v=m.range,g=u[m.defId],y=l[m.defId];if(!allConstraintsPass(g.constraints,v,c,e.businessHours,t))return!1;var b=t.options.eventOverlap,w="function"==typeof b?b:null;for(var S in f){var E=f[S];if(rangesIntersect(v,E.range)){if(!1===p[E.defId].overlap&&o.isEvent)return!1;if(!1===g.overlap)return!1;if(w&&!w(new EventApi(t,d[E.defId],E),new EventApi(t,y,m)))return!1}}for(var _=a.eventStore,k=0,T=g.allows;k<T.length;k++){var x=T[k],C=__assign$1(__assign$1({},n),{range:m.range,allDay:y.allDay}),D=_.defs[y.defId],R=_.instances[h],N=void 0;if(N=D?new EventApi(t,D,R):new EventApi(t,y),!x(buildDateSpanApiWithContext(C,t),N))return!1}}return!0}function isDateSelectionPropsValid(e,t,n,r){var a=e.eventStore,o=a.defs,i=a.instances,l=e.dateSelection,s=l.range,u=t.getCurrentData().selectionConfig;if(r&&(u=r(u)),!allConstraintsPass(u.constraints,s,a,e.businessHours,t))return!1;var c=t.options.selectOverlap,d="function"==typeof c?c:null;for(var f in i){var p=i[f];if(rangesIntersect(s,p.range)){if(!1===u.overlap)return!1;if(d&&!d(new EventApi(t,o[p.defId],p),null))return!1}}for(var h=0,m=u.allows;h<m.length;h++){if(!(0,m[h])(buildDateSpanApiWithContext(__assign$1(__assign$1({},n),l),t),null))return!1}return!0}function allConstraintsPass(e,t,n,r,a){for(var o=0,i=e;o<i.length;o++){if(!anyRangesContainRange(constraintToRanges(i[o],t,n,r,a),t))return!1}return!0}function constraintToRanges(e,t,n,r,a){return"businessHours"===e?eventStoreToRanges(expandRecurring(r,t,a)):"string"==typeof e?eventStoreToRanges(filterEventStoreDefs(n,(function(t){return t.groupId===e}))):"object"==typeof e&&e?eventStoreToRanges(expandRecurring(e,t,a)):[]}function eventStoreToRanges(e){var t=e.instances,n=[];for(var r in t)n.push(t[r].range);return n}function anyRangesContainRange(e,t){for(var n=0,r=e;n<r.length;n++){if(rangeContainsRange(r[n],t))return!0}return!1}var VISIBLE_HIDDEN_RE=/^(visible|hidden)$/,Scroller=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleEl=function(e){t.el=e,setRef(t.props.elRef,e)},t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=e.liquid,n=e.liquidIsAbsolute,r=t&&n,a=["fc-scroller"];return t&&(n?a.push("fc-scroller-liquid-absolute"):a.push("fc-scroller-liquid")),createElement("div",{ref:this.handleEl,className:a.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:r&&-(e.overcomeLeft||0)||"",right:r&&-(e.overcomeRight||0)||"",bottom:r&&-(e.overcomeBottom||0)||"",marginLeft:!r&&-(e.overcomeLeft||0)||"",marginRight:!r&&-(e.overcomeRight||0)||"",marginBottom:!r&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)},t.prototype.needsXScrolling=function(){if(VISIBLE_HIDDEN_RE.test(this.props.overflowX))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().width>t)return!0}return!1},t.prototype.needsYScrolling=function(){if(VISIBLE_HIDDEN_RE.test(this.props.overflowY))return!1;for(var e=this.el,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),n=e.children,r=0;r<n.length;r+=1){if(n[r].getBoundingClientRect().height>t)return!0}return!1},t.prototype.getXScrollbarWidth=function(){return VISIBLE_HIDDEN_RE.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight},t.prototype.getYScrollbarWidth=function(){return VISIBLE_HIDDEN_RE.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth},t}(BaseComponent),RefMap=function(){function e(e){var t=this;this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=function(e,n){var r=t,a=r.depths,o=r.currentMap,i=!1,l=!1;null!==e?(i=n in o,o[n]=e,a[n]=(a[n]||0)+1,l=!0):(a[n]-=1,a[n]||(delete o[n],delete t.callbackMap[n],i=!0)),t.masterCallback&&(i&&t.masterCallback(null,String(n)),l&&t.masterCallback(e,String(n)))}}return e.prototype.createRef=function(e){var t=this,n=this.callbackMap[e];return n||(n=this.callbackMap[e]=function(n){t.handleValue(n,String(e))}),n},e.prototype.collect=function(e,t,n){return collectFromHash(this.currentMap,e,t,n)},e.prototype.getAll=function(){return hashValuesToArray(this.currentMap)},e}();function computeShrinkWidth(e){for(var t=0,n=0,r=findElements(e,".fc-scrollgrid-shrink");n<r.length;n++){var a=r[n];t=Math.max(t,computeSmallestCellWidth(a))}return Math.ceil(t)}function getSectionHasLiquidHeight(e,t){return e.liquid&&t.liquid}function getAllowYScrolling(e,t){return null!=t.maxHeight||getSectionHasLiquidHeight(e,t)}function renderChunkContent(e,t,n,r){var a=n.expandRows;return"function"==typeof t.content?t.content(n):createElement("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:a?n.clientHeight:""}},n.tableColGroupNode,createElement(r?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}function isColPropsEqual(e,t){return isArraysEqual(e,t,isPropsEqual)}function renderMicroColGroup(e,t){for(var n=[],r=0,a=e;r<a.length;r++)for(var o=a[r],i=o.span||1,l=0;l<i;l+=1)n.push(createElement("col",{style:{width:"shrink"===o.width?sanitizeShrinkWidth(t):o.width||"",minWidth:o.minWidth||""}}));return createElement.apply(void 0,__spreadArray(["colgroup",{}],n))}function sanitizeShrinkWidth(e){return null==e?4:e}function hasShrinkWidth(e){for(var t=0,n=e;t<n.length;t++){if("shrink"===n[t].width)return!0}return!1}function getScrollGridClassNames(e,t){var n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}function getSectionClassNames(e,t){var n=["fc-scrollgrid-section","fc-scrollgrid-section-"+e.type,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function renderScrollShim(e){return createElement("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function getStickyHeaderDates(e){var t=e.stickyHeaderDates;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function getStickyFooterScrollbar(e){var t=e.stickyFooterScrollbar;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}var SimpleScrollGrid=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processCols=memoize((function(e){return e}),isColPropsEqual),t.renderMicroColGroup=memoize(renderMicroColGroup),t.scrollerRefs=new RefMap,t.scrollerElRefs=new RefMap(t._handleScrollerEl.bind(t)),t.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},t.handleSizing=function(){t.safeSetState(__assign$1({shrinkWidth:t.computeShrinkWidth()},t.computeScrollerDims()))},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=e.props,n=e.state,r=e.context,a=t.sections||[],o=this.processCols(t.cols),i=this.renderMicroColGroup(o,n.shrinkWidth),l=getScrollGridClassNames(t.liquid,r);t.collapsibleWidth&&l.push("fc-scrollgrid-collapsible");for(var s,u=a.length,c=0,d=[],f=[],p=[];c<u&&"header"===(s=a[c]).type;)d.push(this.renderSection(s,i,!0)),c+=1;for(;c<u&&"body"===(s=a[c]).type;)f.push(this.renderSection(s,i,!1)),c+=1;for(;c<u&&"footer"===(s=a[c]).type;)p.push(this.renderSection(s,i,!0)),c+=1;var h=!getCanVGrowWithinCell(),m={role:"rowgroup"};return createElement("table",{role:"grid",className:l.join(" "),style:{height:t.height}},Boolean(!h&&d.length)&&createElement.apply(void 0,__spreadArray(["thead",m],d)),Boolean(!h&&f.length)&&createElement.apply(void 0,__spreadArray(["tbody",m],f)),Boolean(!h&&p.length)&&createElement.apply(void 0,__spreadArray(["tfoot",m],p)),h&&createElement.apply(void 0,__spreadArray(__spreadArray(__spreadArray(["tbody",m],d),f),p)))},t.prototype.renderSection=function(e,t,n){return"outerContent"in e?createElement(Fragment,{key:e.key},e.outerContent):createElement("tr",{key:e.key,role:"presentation",className:getSectionClassNames(e,this.props.liquid).join(" ")},this.renderChunkTd(e,t,e.chunk,n))},t.prototype.renderChunkTd=function(e,t,n,r){if("outerContent"in n)return n.outerContent;var a=this.props,o=this.state,i=o.forceYScrollbars,l=o.scrollerClientWidths,s=o.scrollerClientHeights,u=getAllowYScrolling(a,e),c=getSectionHasLiquidHeight(a,e),d=a.liquid?i?"scroll":u?"auto":"hidden":"visible",f=e.key,p=renderChunkContent(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:a.collapsibleWidth||void 0===l[f]?null:l[f],clientHeight:void 0!==s[f]?s[f]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:function(){}},r);return createElement(r?"th":"td",{ref:n.elRef,role:"presentation"},createElement("div",{className:"fc-scroller-harness"+(c?" fc-scroller-harness-liquid":"")},createElement(Scroller,{ref:this.scrollerRefs.createRef(f),elRef:this.scrollerElRefs.createRef(f),overflowY:d,overflowX:a.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:c,liquidIsAbsolute:!0},p)))},t.prototype._handleScrollerEl=function(e,t){var n=getSectionByKey(this.props.sections,t);n&&setRef(n.chunk.scrollerElRef,e)},t.prototype.componentDidMount=function(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)},t.prototype.componentDidUpdate=function(){this.handleSizing()},t.prototype.componentWillUnmount=function(){this.context.removeResizeHandler(this.handleSizing)},t.prototype.computeShrinkWidth=function(){return hasShrinkWidth(this.props.cols)?computeShrinkWidth(this.scrollerElRefs.getAll()):0},t.prototype.computeScrollerDims=function(){var e=getScrollbarWidths(),t=this.scrollerRefs,n=this.scrollerElRefs,r=!1,a={},o={};for(var i in t.currentMap){var l=t.currentMap[i];if(l&&l.needsYScrolling()){r=!0;break}}for(var s=0,u=this.props.sections;s<u.length;s++){i=u[s].key;var c=n.currentMap[i];if(c){var d=c.parentNode;a[i]=Math.floor(d.getBoundingClientRect().width-(r?e.y:0)),o[i]=Math.floor(d.getBoundingClientRect().height)}}return{forceYScrollbars:r,scrollerClientWidths:a,scrollerClientHeights:o}},t}(BaseComponent);function getSectionByKey(e,t){for(var n=0,r=e;n<r.length;n++){var a=r[n];if(a.key===t)return a}return null}SimpleScrollGrid.addStateEquality({scrollerClientWidths:isPropsEqual,scrollerClientHeights:isPropsEqual});var EventRoot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.elRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.seg,a=r.eventRange,o=a.ui,i={event:new EventApi(t,a.def,a.instance),view:t.viewApi,timeText:e.timeText,textColor:o.textColor,backgroundColor:o.backgroundColor,borderColor:o.borderColor,isDraggable:!e.disableDragging&&computeSegDraggable(r,t),isStartResizable:!e.disableResizing&&computeSegStartResizable(r,t),isEndResizable:!e.disableResizing&&computeSegEndResizable(r),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(r.isStart),isEnd:Boolean(r.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)},l=getEventClassNames(i).concat(o.classNames);return createElement(RenderHook,{hookProps:i,classNames:n.eventClassNames,content:n.eventContent,defaultContent:e.defaultContent,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount,elRef:this.elRef},(function(t,n,r,a){return e.children(t,l.concat(n),r,a,i)}))},t.prototype.componentDidMount=function(){setElSeg(this.elRef.current,this.props.seg)},t.prototype.componentDidUpdate=function(e){var t=this.props.seg;t!==e.seg&&setElSeg(this.elRef.current,t)},t}(BaseComponent),StandardEvent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=t.options.eventTimeFormat||e.defaultTimeFormat,a=buildSegTimeText(n,r,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return createElement(EventRoot,{seg:n,timeText:a,disableDragging:e.disableDragging,disableResizing:e.disableResizing,defaultContent:e.defaultContent||renderInnerContent$1$1,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(r,a,o,i,l){return createElement("a",__assign$1({className:e.extraClassNames.concat(a).join(" "),style:{borderColor:l.borderColor,backgroundColor:l.backgroundColor},ref:r},getSegAnchorAttrs(n,t)),createElement("div",{className:"fc-event-main",ref:o,style:{color:l.textColor}},i),l.isStartResizable&&createElement("div",{className:"fc-event-resizer fc-event-resizer-start"}),l.isEndResizable&&createElement("div",{className:"fc-event-resizer fc-event-resizer-end"}))}))},t}(BaseComponent);function renderInnerContent$1$1(e){return createElement("div",{className:"fc-event-main-frame"},e.timeText&&createElement("div",{className:"fc-event-time"},e.timeText),createElement("div",{className:"fc-event-title-container"},createElement("div",{className:"fc-event-title fc-sticky"},e.event.title||createElement(Fragment,null," "))))}var NowIndicatorRoot=function(e){return createElement(ViewContextType.Consumer,null,(function(t){var n=t.options,r={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return createElement(RenderHook,{hookProps:r,classNames:n.nowIndicatorClassNames,content:n.nowIndicatorContent,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount},e.children)}))},DAY_NUM_FORMAT=createFormatter({day:"numeric"}),DayCellContent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=refineDayCellHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv});return createElement(ContentHook,{hookProps:r,content:n.dayCellContent,defaultContent:e.defaultContent},e.children)},t}(BaseComponent);function refineDayCellHookProps(e){var t=e.date,n=e.dateEnv,r=getDateMeta(t,e.todayRange,null,e.dateProfile);return __assign$1(__assign$1(__assign$1({date:n.toDate(t),view:e.viewApi},r),{dayNumberText:e.showDayNumber?n.format(t,DAY_NUM_FORMAT):""}),e.extraProps)}var DayCellRoot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.refineHookProps=memoizeObjArg(refineDayCellHookProps),t.normalizeClassNames=buildClassNameNormalizer(),t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=this.refineHookProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraProps:e.extraHookProps,viewApi:t.viewApi,dateEnv:t.dateEnv}),a=getDayClassNames(r,t.theme).concat(r.isDisabled?[]:this.normalizeClassNames(n.dayCellClassNames,r)),o=r.isDisabled?{}:{"data-date":formatDayString(e.date)};return createElement(MountHook,{hookProps:r,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount,elRef:e.elRef},(function(t){return e.children(t,a,o,r.isDisabled)}))},t}(BaseComponent);function renderFill(e){return createElement("div",{className:"fc-"+e})}var BgEvent=function(e){return createElement(EventRoot,{defaultContent:renderInnerContent$3,seg:e.seg,timeText:"",disableDragging:!0,disableResizing:!0,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(e,t,n,r,a){return createElement("div",{ref:e,className:["fc-bg-event"].concat(t).join(" "),style:{backgroundColor:a.backgroundColor}},r)}))};function renderInnerContent$3(e){return e.event.title&&createElement("div",{className:"fc-event-title"},e.event.title)}var WeekNumberRoot=function(e){return createElement(ViewContextType.Consumer,null,(function(t){var n=t.dateEnv,r=t.options,a=e.date,o=r.weekNumberFormat||e.defaultFormat,i=n.computeWeekNumber(a),l=n.format(a,o);return createElement(RenderHook,{hookProps:{num:i,text:l,date:a},classNames:r.weekNumberClassNames,content:r.weekNumberContent,defaultContent:renderInner,didMount:r.weekNumberDidMount,willUnmount:r.weekNumberWillUnmount},e.children)}))};function renderInner(e){return e.text}var PADDING_FROM_VIEWPORT=10,Popover=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={titleId:getUniqueDomId()},t.handleRootEl=function(e){t.rootEl=e,t.props.elRef&&setRef(t.props.elRef,e)},t.handleDocumentMouseDown=function(e){var n=getEventTargetViaRoot(e);t.rootEl.contains(n)||t.handleCloseClick()},t.handleDocumentKeyDown=function(e){"Escape"===e.key&&t.handleCloseClick()},t.handleCloseClick=function(){var e=t.props.onClose;e&&e()},t}return __extends(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.options,r=this.props,a=this.state,o=["fc-popover",t.getClass("popover")].concat(r.extraClassNames||[]);return createPortal(createElement("div",__assign$1({id:r.id,className:o.join(" "),"aria-labelledby":a.titleId},r.extraAttrs,{ref:this.handleRootEl}),createElement("div",{className:"fc-popover-header "+t.getClass("popoverHeader")},createElement("span",{className:"fc-popover-title",id:a.titleId},r.title),createElement("span",{className:"fc-popover-close "+t.getIconClass("close"),title:n.closeHint,onClick:this.handleCloseClick})),createElement("div",{className:"fc-popover-body "+t.getClass("popoverContent")},r.children)),r.parentEl)},t.prototype.componentDidMount=function(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()},t.prototype.componentWillUnmount=function(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)},t.prototype.updateSize=function(){var e=this.context.isRtl,t=this.props,n=t.alignmentEl,r=t.alignGridTop,a=this.rootEl,o=computeClippedClientRect(n);if(o){var i=a.getBoundingClientRect(),l=r?elementClosest(n,".fc-scrollgrid").getBoundingClientRect().top:o.top,s=e?o.right-i.width:o.left;l=Math.max(l,PADDING_FROM_VIEWPORT),s=Math.min(s,document.documentElement.clientWidth-PADDING_FROM_VIEWPORT-i.width),s=Math.max(s,PADDING_FROM_VIEWPORT);var u=a.offsetParent.getBoundingClientRect();applyStyle(a,{top:l-u.top,left:s-u.left})}},t}(BaseComponent),MorePopover=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,useEventCenter:!1}):t.context.unregisterInteractiveComponent(t)},t}return __extends(t,e),t.prototype.render=function(){var e=this.context,t=e.options,n=e.dateEnv,r=this.props,a=r.startDate,o=r.todayRange,i=r.dateProfile,l=n.format(a,t.dayPopoverFormat);return createElement(DayCellRoot,{date:a,dateProfile:i,todayRange:o,elRef:this.handleRootEl},(function(e,t,n){return createElement(Popover,{elRef:e,id:r.id,title:l,extraClassNames:["fc-more-popover"].concat(t),extraAttrs:n,parentEl:r.parentEl,alignmentEl:r.alignmentEl,alignGridTop:r.alignGridTop,onClose:r.onClose},createElement(DayCellContent,{date:a,dateProfile:i,todayRange:o},(function(e,t){return t&&createElement("div",{className:"fc-more-popover-misc",ref:e},t)})),r.children)}))},t.prototype.queryHit=function(e,t,n,r){var a=this.rootEl,o=this.props;return e>=0&&e<n&&t>=0&&t<r?{dateProfile:o.dateProfile,dateSpan:__assign$1({allDay:!0,range:{start:o.startDate,end:o.endDate}},o.extraDateSpan),dayEl:a,rect:{left:0,top:0,right:n,bottom:r},layer:1}:null},t}(DateComponent),MoreLinkRoot=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.linkElRef=createRef(),t.state={isPopoverOpen:!1,popoverId:getUniqueDomId()},t.handleClick=function(e){var n=t,r=n.props,a=n.context,o=a.options.moreLinkClick,i=computeRange(r).start;function l(e){var t=e.eventRange,n=t.def,r=t.instance,o=t.range;return{event:new EventApi(a,n,r),start:a.dateEnv.toDate(o.start),end:a.dateEnv.toDate(o.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof o&&(o=o({date:i,allDay:Boolean(r.allDayDate),allSegs:r.allSegs.map(l),hiddenSegs:r.hiddenSegs.map(l),jsEvent:e,view:a.viewApi})),o&&"popover"!==o?"string"==typeof o&&a.calendarApi.zoomTo(i,o):t.setState({isPopoverOpen:!0})},t.handlePopoverClose=function(){t.setState({isPopoverOpen:!1})},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.state;return createElement(ViewContextType.Consumer,null,(function(r){var a=r.viewApi,o=r.options,i=r.calendarApi,l=o.moreLinkText,s=t.moreCnt,u=computeRange(t),c="function"==typeof l?l.call(i,s):"+"+s+" "+l,d=formatWithOrdinals(o.moreLinkHint,[s],c),f={num:s,shortText:"+"+s,text:c,view:a};return createElement(Fragment,null,Boolean(t.moreCnt)&&createElement(RenderHook,{elRef:e.linkElRef,hookProps:f,classNames:o.moreLinkClassNames,content:o.moreLinkContent,defaultContent:t.defaultContent||renderMoreLinkInner$1,didMount:o.moreLinkDidMount,willUnmount:o.moreLinkWillUnmount},(function(r,a,o,i){return t.children(r,["fc-more-link"].concat(a),o,i,e.handleClick,d,n.isPopoverOpen,n.isPopoverOpen?n.popoverId:"")})),n.isPopoverOpen&&createElement(MorePopover,{id:n.popoverId,startDate:u.start,endDate:u.end,dateProfile:t.dateProfile,todayRange:t.todayRange,extraDateSpan:t.extraDateSpan,parentEl:e.parentEl,alignmentEl:t.alignmentElRef.current,alignGridTop:t.alignGridTop,onClose:e.handlePopoverClose},t.popoverContent()))}))},t.prototype.componentDidMount=function(){this.updateParentEl()},t.prototype.componentDidUpdate=function(){this.updateParentEl()},t.prototype.updateParentEl=function(){this.linkElRef.current&&(this.parentEl=elementClosest(this.linkElRef.current,".fc-view-harness"))},t}(BaseComponent);function renderMoreLinkInner$1(e){return e.text}function computeRange(e){if(e.allDayDate)return{start:e.allDayDate,end:addDays(e.allDayDate,1)};var t=e.hiddenSegs;return{start:computeEarliestSegStart(t),end:computeLatestSegEnd(t)}}function computeEarliestSegStart(e){return e.reduce(pickEarliestStart).eventRange.range.start}function pickEarliestStart(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function computeLatestSegEnd(e){return e.reduce(pickLatestEnd).eventRange.range.end}function pickLatestEnd(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}var FullCalendar$1=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._calendarApi=new CalendarApi,t}return __extends(t,e),t.prototype.render=function(){return react.exports.createElement(CalendarDataProvider,{optionOverrides:this.props,calendarApi:this._calendarApi},(function(e){return react.exports.createElement(CalendarRoot,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},(function(t,n,r,a){return react.exports.createElement("div",{className:t.join(" "),style:{height:n}},react.exports.createElement(CalendarContent,__assign$1({isHeightAuto:r,forPrint:a},e)))}))}))},t.prototype.getApi=function(){return this._calendarApi},t}(react.exports.Component),TableView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.headerElRef=createRef(),t}return __extends(t,e),t.prototype.renderSimpleLayout=function(e,t){var n=this.props,r=this.context,a=[],o=getStickyHeaderDates(r.options);return e&&a.push({type:"header",key:"header",isSticky:o,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),a.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),createElement(ViewRoot,{viewSpec:r.viewSpec},(function(e,t){return createElement("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},createElement(SimpleScrollGrid,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:a}))}))},t.prototype.renderHScrollLayout=function(e,t,n,r){var a=this.context.pluginHooks.scrollGridImpl;if(!a)throw new Error("No ScrollGrid implementation");var o=this.props,i=this.context,l=!o.forPrint&&getStickyHeaderDates(i.options),s=!o.forPrint&&getStickyFooterScrollbar(i.options),u=[];return e&&u.push({type:"header",key:"header",isSticky:l,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),u.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),s&&u.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:renderScrollShim}]}),createElement(ViewRoot,{viewSpec:i.viewSpec},(function(e,t){return createElement("div",{ref:e,className:["fc-daygrid"].concat(t).join(" ")},createElement(a,{liquid:!o.isHeightAuto&&!o.forPrint,collapsibleWidth:o.forPrint,colGroups:[{cols:[{span:n,minWidth:r}]}],sections:u}))}))},t}(DateComponent);
57
57
  /*!
58
58
  FullCalendar v5.11.3
59
59
  Docs & License: https://fullcalendar.io/
60
60
  (c) 2022 Adam Shaw
61
- */function splitSegsByRow(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,a=e;o<a.length;o++){var i=a[o];n[i.row].push(i)}return n}function splitSegsByFirstCol(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var o=0,a=e;o<a.length;o++){var i=a[o];n[i.firstCol].push(i)}return n}function splitInteractionByRow(e,t){var n=[];if(e){for(i=0;i<t;i+=1)n[i]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,o=e.segs;r<o.length;r++){var a=o[r];n[a.row].segs.push(a)}}else for(var i=0;i<t;i+=1)n[i]=null;return n}var TableCellTop=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=buildNavLinkAttrs(this.context,e.date);return createElement(DayCellContent,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,defaultContent:renderTopInner},(function(n,r){return(r||e.forceDayTop)&&createElement("div",{className:"fc-daygrid-day-top",ref:n},createElement("a",__assign$1({id:e.dayNumberId,className:"fc-daygrid-day-number"},t),r||createElement(Fragment,null," ")))}))},t}(BaseComponent);function renderTopInner(e){return e.dayNumberText}var DEFAULT_TABLE_EVENT_TIME_FORMAT=createFormatter({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function hasListItemDisplay(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}var TableBlockEvent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props;return createElement(StandardEvent,__assign$1({},e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:DEFAULT_TABLE_EVENT_TIME_FORMAT,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t}(BaseComponent),TableListItemEvent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options.eventTimeFormat||DEFAULT_TABLE_EVENT_TIME_FORMAT,r=buildSegTimeText(e.seg,n,t,!0,e.defaultDisplayEventEnd);return createElement(EventRoot,{seg:e.seg,timeText:r,defaultContent:renderInnerContent$2,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(n,r,o,a){return createElement("a",__assign$1({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(r).join(" "),ref:n},getSegAnchorAttrs(e.seg,t)),a)}))},t}(BaseComponent);function renderInnerContent$2(e){return createElement(Fragment,null,createElement("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&createElement("div",{className:"fc-event-time"},e.timeText),createElement("div",{className:"fc-event-title"},e.event.title||createElement(Fragment,null," ")))}var TableCellMoreLink=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileSegs=memoize(compileSegs),t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.compileSegs(e.singlePlacements),n=t.allSegs,r=t.invisibleSegs;return createElement(MoreLinkRoot,{dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:r,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:function(){var t=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return createElement(Fragment,null,n.map((function(n){var r=n.eventRange.instance.instanceId;return createElement("div",{className:"fc-daygrid-event-harness",key:r,style:{visibility:t[r]?"hidden":""}},hasListItemDisplay(n)?createElement(TableListItemEvent,__assign$1({seg:n,isDragging:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},getSegMeta(n,e.todayRange))):createElement(TableBlockEvent,__assign$1({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},getSegMeta(n,e.todayRange))))})))}},(function(e,t,n,r,o,a,i,l){return createElement("a",__assign$1({ref:e,className:["fc-daygrid-more-link"].concat(t).join(" "),title:a,"aria-expanded":i,"aria-controls":l},createAriaClickAttrs(o)),r)}))},t}(BaseComponent);function compileSegs(e){for(var t=[],n=[],r=0,o=e;r<o.length;r++){var a=o[r];t.push(a.seg),a.isVisible||n.push(a.seg)}return{allSegs:t,invisibleSegs:n}}var DEFAULT_WEEK_NUM_FORMAT$1=createFormatter({week:"narrow"}),TableCell=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=createRef(),t.state={dayNumberId:getUniqueDomId()},t.handleRootEl=function(e){setRef(t.rootElRef,e),setRef(t.props.elRef,e)},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=e.context,n=e.props,r=e.state,o=e.rootElRef,a=n.date,i=n.dateProfile,l=buildNavLinkAttrs(t,a,"week");return createElement(DayCellRoot,{date:a,dateProfile:i,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraHookProps:n.extraHookProps,elRef:this.handleRootEl},(function(e,t,s,u){return createElement("td",__assign$1({ref:e,role:"gridcell",className:["fc-daygrid-day"].concat(t,n.extraClassNames||[]).join(" ")},s,n.extraDataAttrs,n.showDayNumber?{"aria-labelledby":r.dayNumberId}:{}),createElement("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:n.innerElRef},n.showWeekNumber&&createElement(WeekNumberRoot,{date:a,defaultFormat:DEFAULT_WEEK_NUM_FORMAT$1},(function(e,t,n,r){return createElement("a",__assign$1({ref:e,className:["fc-daygrid-week-number"].concat(t).join(" ")},l),r)})),!u&&createElement(TableCellTop,{date:a,dateProfile:i,showDayNumber:n.showDayNumber,dayNumberId:r.dayNumberId,forceDayTop:n.forceDayTop,todayRange:n.todayRange,extraHookProps:n.extraHookProps}),createElement("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef},n.fgContent,createElement("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},createElement(TableCellMoreLink,{allDayDate:a,singlePlacements:n.singlePlacements,moreCnt:n.moreCnt,alignmentElRef:o,alignGridTop:!n.showDayNumber,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange}))),createElement("div",{className:"fc-daygrid-day-bg"},n.bgContent)))}))},t}(DateComponent);function computeFgSegPlacement(e,t,n,r,o,a,i){var l=new DayGridSegHierarchy;l.allowReslicing=!0,l.strictOrder=r,!0===t||!0===n?(l.maxCoord=a,l.hiddenConsumes=!0):"number"==typeof t?l.maxStackCnt=t:"number"==typeof n&&(l.maxStackCnt=n,l.hiddenConsumes=!0);for(var s=[],u=[],c=0;c<e.length;c+=1){var d=o[(T=e[c]).eventRange.instance.instanceId];null!=d?s.push({index:c,thickness:d,span:{start:T.firstCol,end:T.lastCol+1}}):u.push(T)}for(var f=l.addSegs(s),p=placeRects(l.toRects(),e,i),h=p.singleColPlacements,v=p.multiColPlacements,m=p.leftoverMargins,g=[],y=[],b=0,w=u;b<w.length;b++){v[(T=w[b]).firstCol].push({seg:T,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var E=T.firstCol;E<=T.lastCol;E+=1)h[E].push({seg:resliceSeg(T,E,E+1,i),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(E=0;E<i.length;E+=1)g.push(0);for(var S=0,k=f;S<k.length;S++){var _=k[S],T=e[_.index],x=_.span;v[x.start].push({seg:resliceSeg(T,x.start,x.end,i),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(E=x.start;E<x.end;E+=1)g[E]+=1,h[E].push({seg:resliceSeg(T,E,E+1,i),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(E=0;E<i.length;E+=1)y.push(m[E]);return{singleColPlacements:h,multiColPlacements:v,moreCnts:g,moreMarginTops:y}}function placeRects(e,t,n){for(var r=groupRectsByEachCol(e,n.length),o=[],a=[],i=[],l=0;l<n.length;l+=1){for(var s=r[l],u=[],c=0,d=0,f=0,p=s;f<p.length;f++){var h=t[(y=p[f]).index];u.push({seg:resliceSeg(h,l,l+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:y.levelCoord,marginTop:y.levelCoord-c}),c=y.levelCoord+y.thickness}var v=[];c=0,d=0;for(var m=0,g=s;m<g.length;m++){h=t[(y=g[m]).index];var y,b=y.span.end-y.span.start>1,w=y.span.start===l;d+=y.levelCoord-c,c=y.levelCoord+y.thickness,b?(d+=y.thickness,w&&v.push({seg:resliceSeg(h,y.span.start,y.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:y.levelCoord,marginTop:0})):w&&(v.push({seg:resliceSeg(h,y.span.start,y.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:y.levelCoord,marginTop:d}),d=0)}o.push(u),a.push(v),i.push(d)}return{singleColPlacements:o,multiColPlacements:a,leftoverMargins:i}}function groupRectsByEachCol(e,t){for(var n=[],r=0;r<t;r+=1)n.push([]);for(var o=0,a=e;o<a.length;o++){var i=a[o];for(r=i.span.start;r<i.span.end;r+=1)n[r].push(i)}return n}function resliceSeg(e,t,n,r){if(e.firstCol===t&&e.lastCol===n-1)return e;var o=e.eventRange,a=o.range,i=intersectRanges(a,{start:r[t].date,end:addDays(r[n-1].date,1)});return __assign$1(__assign$1({},e),{firstCol:t,lastCol:n-1,eventRange:{def:o.def,ui:__assign$1(__assign$1({},o.ui),{durationEditable:!1}),instance:o.instance,range:i},isStart:e.isStart&&i.start.valueOf()===a.start.valueOf(),isEnd:e.isEnd&&i.end.valueOf()===a.end.valueOf()})}var DayGridSegHierarchy=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hiddenConsumes=!1,t.forceHidden={},t}return __extends(t,e),t.prototype.addSegs=function(t){for(var n=this,r=e.prototype.addSegs.call(this,t),o=this.entriesByLevel,a=function(e){return!n.forceHidden[buildEntryKey(e)]},i=0;i<o.length;i+=1)o[i]=o[i].filter(a);return r},t.prototype.handleInvalidInsertion=function(t,n,r){var o=this.entriesByLevel,a=this.forceHidden,i=t.touchingEntry,l=t.touchingLevel,s=t.touchingLateral;if(this.hiddenConsumes&&i){var u=buildEntryKey(i);if(!a[u])if(this.allowReslicing){var c=__assign$1(__assign$1({},i),{span:intersectSpans(i.span,n.span)});a[buildEntryKey(c)]=!0,o[l][s]=c,this.splitEntry(i,n,r)}else a[u]=!0,r.push(i)}return e.prototype.handleInvalidInsertion.call(this,t,n,r)},t}(SegHierarchy),TableRow=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cellElRefs=new RefMap,t.frameElRefs=new RefMap,t.fgElRefs=new RefMap,t.segHarnessRefs=new RefMap,t.rootElRef=createRef(),t.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,o=t.context.options,a=n.cells.length,i=splitSegsByFirstCol(n.businessHourSegs,a),l=splitSegsByFirstCol(n.bgEventSegs,a),s=splitSegsByFirstCol(this.getHighlightSegs(),a),u=splitSegsByFirstCol(this.getMirrorSegs(),a),c=computeFgSegPlacement(sortEventSegs(n.fgEventSegs,o.eventOrder),n.dayMaxEvents,n.dayMaxEventRows,o.eventOrderStrict,r.eventInstanceHeights,r.maxContentHeight,n.cells),d=c.singleColPlacements,f=c.multiColPlacements,p=c.moreCnts,h=c.moreMarginTops,v=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return createElement("tr",{ref:this.rootElRef,role:"row"},n.renderIntro&&n.renderIntro(),n.cells.map((function(t,r){var o=e.renderFgSegs(r,n.forPrint?d[r]:f[r],n.todayRange,v),a=e.renderFgSegs(r,buildMirrorPlacements(u[r],f),n.todayRange,{},Boolean(n.eventDrag),Boolean(n.eventResize),!1);return createElement(TableCell,{key:t.key,elRef:e.cellElRefs.createRef(t.key),innerElRef:e.frameElRefs.createRef(t.key),dateProfile:n.dateProfile,date:t.date,showDayNumber:n.showDayNumbers,showWeekNumber:n.showWeekNumbers&&0===r,forceDayTop:n.showWeekNumbers,todayRange:n.todayRange,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,extraHookProps:t.extraHookProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:p[r],moreMarginTop:h[r],singlePlacements:d[r],fgContentElRef:e.fgElRefs.createRef(t.key),fgContent:createElement(Fragment,null,createElement(Fragment,null,o),createElement(Fragment,null,a)),bgContent:createElement(Fragment,null,e.renderFillSegs(s[r],"highlight"),e.renderFillSegs(i[r],"non-business"),e.renderFillSegs(l[r],"bg-event"))})})))},t.prototype.componentDidMount=function(){this.updateSizing(!0)},t.prototype.componentDidUpdate=function(e,t){var n=this.props;this.updateSizing(!isPropsEqual(e,n))},t.prototype.getHighlightSegs=function(){var e=this.props;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs},t.prototype.getMirrorSegs=function(){var e=this.props;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]},t.prototype.renderFgSegs=function(e,t,n,r,o,a,i){var l=this.context,s=this.props.eventSelection,u=this.state.framePositions,c=1===this.props.cells.length,d=o||a||i,f=[];if(u)for(var p=0,h=t;p<h.length;p++){var v=h[p],m=v.seg,g=m.eventRange.instance.instanceId,y=g+":"+e,b=v.isVisible&&!r[g],w=v.isAbsolute,E="",S="";w&&(l.isRtl?(S=0,E=u.lefts[m.lastCol]-u.lefts[m.firstCol]):(E=0,S=u.rights[m.firstCol]-u.rights[m.lastCol])),f.push(createElement("div",{className:"fc-daygrid-event-harness"+(w?" fc-daygrid-event-harness-abs":""),key:y,ref:d?null:this.segHarnessRefs.createRef(y),style:{visibility:b?"":"hidden",marginTop:w?"":v.marginTop,top:w?v.absoluteTop:"",left:E,right:S}},hasListItemDisplay(m)?createElement(TableListItemEvent,__assign$1({seg:m,isDragging:o,isSelected:g===s,defaultDisplayEventEnd:c},getSegMeta(m,n))):createElement(TableBlockEvent,__assign$1({seg:m,isDragging:o,isResizing:a,isDateSelecting:i,isSelected:g===s,defaultDisplayEventEnd:c},getSegMeta(m,n)))))}return f},t.prototype.renderFillSegs=function(e,t){var n=this.context.isRtl,r=this.props.todayRange,o=this.state.framePositions,a=[];if(o)for(var i=0,l=e;i<l.length;i++){var s=l[i],u=n?{right:0,left:o.lefts[s.lastCol]-o.lefts[s.firstCol]}:{left:0,right:o.rights[s.firstCol]-o.rights[s.lastCol]};a.push(createElement("div",{key:buildEventRangeKey(s.eventRange),className:"fc-daygrid-bg-harness",style:u},"bg-event"===t?createElement(BgEvent,__assign$1({seg:s},getSegMeta(s,r))):renderFill(t)))}return createElement.apply(void 0,__spreadArray([Fragment,{}],a))},t.prototype.updateSizing=function(e){var t=this.props,n=this.frameElRefs;if(!t.forPrint&&null!==t.clientWidth){if(e){var r=t.cells.map((function(e){return n.currentMap[e.key]}));if(r.length){var o=this.rootElRef.current;this.setState({framePositions:new PositionCache(o,r,!0,!1)})}}var a=this.state.eventInstanceHeights,i=this.queryEventInstanceHeights(),l=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({eventInstanceHeights:__assign$1(__assign$1({},a),i),maxContentHeight:l?this.computeMaxContentHeight():null})}},t.prototype.queryEventInstanceHeights=function(){var e=this.segHarnessRefs.currentMap,t={};for(var n in e){var r=Math.round(e[n].getBoundingClientRect().height),o=n.split(":")[0];t[o]=Math.max(t[o]||0,r)}return t},t.prototype.computeMaxContentHeight=function(){var e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top},t.prototype.getCellEls=function(){var e=this.cellElRefs.currentMap;return this.props.cells.map((function(t){return e[t.key]}))},t}(DateComponent);function buildMirrorPlacements(e,t){if(!e.length)return[];var n=buildAbsoluteTopHash(t);return e.map((function(e){return{seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}}))}function buildAbsoluteTopHash(e){for(var t={},n=0,r=e;n<r.length;n++)for(var o=0,a=r[n];o<a.length;o++){var i=a[o];t[i.seg.eventRange.instance.instanceId]=i.absoluteTop}return t}TableRow.addStateEquality({eventInstanceHeights:isPropsEqual});var Table=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitBusinessHourSegs=memoize(splitSegsByRow),t.splitBgEventSegs=memoize(splitSegsByRow),t.splitFgEventSegs=memoize(splitSegsByRow),t.splitDateSelectionSegs=memoize(splitSegsByRow),t.splitEventDrag=memoize(splitInteractionByRow),t.splitEventResize=memoize(splitInteractionByRow),t.rowRefs=new RefMap,t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.dateProfile,r=t.dayMaxEventRows,o=t.dayMaxEvents,a=t.expandRows,i=t.cells.length,l=this.splitBusinessHourSegs(t.businessHourSegs,i),s=this.splitBgEventSegs(t.bgEventSegs,i),u=this.splitFgEventSegs(t.fgEventSegs,i),c=this.splitDateSelectionSegs(t.dateSelectionSegs,i),d=this.splitEventDrag(t.eventDrag,i),f=this.splitEventResize(t.eventResize,i),p=!0===o||!0===r;return p&&!a&&(p=!1,r=null,o=null),createElement("div",{className:["fc-daygrid-body",p?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",a?"":"fc-daygrid-body-natural"].join(" "),ref:this.handleRootEl,style:{width:t.clientWidth,minWidth:t.tableMinWidth}},createElement(NowTimer,{unit:"day"},(function(p,h){return createElement(Fragment,null,createElement("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:t.clientWidth,minWidth:t.tableMinWidth,height:a?t.clientHeight:""}},t.colGroupNode,createElement("tbody",{role:"presentation"},t.cells.map((function(a,p){return createElement(TableRow,{ref:e.rowRefs.createRef(p),key:a.length?a[0].date.toISOString():p,showDayNumbers:i>1,showWeekNumbers:t.showWeekNumbers,todayRange:h,dateProfile:n,cells:a,renderIntro:t.renderRowIntro,businessHourSegs:l[p],eventSelection:t.eventSelection,bgEventSegs:s[p].filter(isSegAllDay),fgEventSegs:u[p],dateSelectionSegs:c[p],eventDrag:d[p],eventResize:f[p],dayMaxEvents:o,dayMaxEventRows:r,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:t.forPrint})})))))})))},t.prototype.prepareHits=function(){this.rowPositions=new PositionCache(this.rootEl,this.rowRefs.collect().map((function(e){return e.getCellEls()[0]})),!1,!0),this.colPositions=new PositionCache(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},t.prototype.queryHit=function(e,t){var n=this.colPositions,r=this.rowPositions,o=n.leftToIndex(e),a=r.topToIndex(t);if(null!=a&&null!=o){var i=this.props.cells[a][o];return{dateProfile:this.props.dateProfile,dateSpan:__assign$1({range:this.getCellRange(a,o),allDay:!0},i.extraDateSpan),dayEl:this.getCellEl(a,o),rect:{left:n.lefts[o],right:n.rights[o],top:r.tops[a],bottom:r.bottoms[a]},layer:0}}return null},t.prototype.getCellEl=function(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]},t.prototype.getCellRange=function(e,t){var n=this.props.cells[e][t].date;return{start:n,end:addDays(n,1)}},t}(DateComponent);function isSegAllDay(e){return e.eventRange.def.allDay}var DayTableSlicer=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.forceDayIfListItem=!0,t}return __extends(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(Slicer),DayTable=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new DayTableSlicer,t.tableRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return createElement(Table,__assign$1({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))},t}(DateComponent),DayTableView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayTableModel=memoize(buildDayTableModel),t.headerRef=createRef(),t.tableRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateProfileGenerator,o=this.props,a=this.buildDayTableModel(o.dateProfile,r),i=n.dayHeaders&&createElement(DayHeader,{ref:this.headerRef,dateProfile:o.dateProfile,dates:a.headerDates,datesRepDistinctDays:1===a.rowCnt}),l=function(t){return createElement(DayTable,{ref:e.tableRef,dateProfile:o.dateProfile,dayTableModel:a,businessHours:o.businessHours,dateSelection:o.dateSelection,eventStore:o.eventStore,eventUiBases:o.eventUiBases,eventSelection:o.eventSelection,eventDrag:o.eventDrag,eventResize:o.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!o.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:o.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(i,l,a.colCnt,n.dayMinWidth):this.renderSimpleLayout(i,l)},t}(TableView);function buildDayTableModel(e,t){var n=new DaySeriesModel(e.renderRange,t);return new DayTableModel(n,/year|month|week/.test(e.currentRangeUnit))}var TableDateProfileGenerator=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.buildRenderRange=function(t,n,r){var o,a=this.props.dateEnv,i=e.prototype.buildRenderRange.call(this,t,n,r),l=i.start,s=i.end;(/^(year|month)$/.test(n)&&(l=a.startOfWeek(l),(o=a.startOfWeek(s)).valueOf()!==s.valueOf()&&(s=addWeeks(o,1))),this.props.monthMode&&this.props.fixedWeekCount)&&(s=addWeeks(s,6-Math.ceil(diffWeeks(l,s))));return{start:l,end:s}},t}(DateProfileGenerator),main$3=createPlugin({initialView:"dayGridMonth",views:{dayGrid:{component:DayTableView,dateProfileGeneratorClass:TableDateProfileGenerator},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}}),AllDaySplitter=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},t.prototype.getKeysForDateSpan=function(e){return e.allDay?["allDay"]:["timed"]},t.prototype.getKeysForEventDef=function(e){return e.allDay?hasBgRendering(e)?["timed","allDay"]:["allDay"]:["timed"]},t}(Splitter),DEFAULT_SLAT_LABEL_FORMAT=createFormatter({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function TimeColsAxisCell(e){var t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return createElement(ViewContextType.Consumer,null,(function(n){if(!e.isLabeled)return createElement("td",{className:t.join(" "),"data-time":e.isoTimeStr});var r=n.dateEnv,o=n.options,a=n.viewApi,i=null==o.slotLabelFormat?DEFAULT_SLAT_LABEL_FORMAT:Array.isArray(o.slotLabelFormat)?createFormatter(o.slotLabelFormat[0]):createFormatter(o.slotLabelFormat),l={level:0,time:e.time,date:r.toDate(e.date),view:a,text:r.format(e.date,i)};return createElement(RenderHook,{hookProps:l,classNames:o.slotLabelClassNames,content:o.slotLabelContent,defaultContent:renderInnerContent$1,didMount:o.slotLabelDidMount,willUnmount:o.slotLabelWillUnmount},(function(n,r,o,a){return createElement("td",{ref:n,className:t.concat(r).join(" "),"data-time":e.isoTimeStr},createElement("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},createElement("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:o},a)))}))}))}function renderInnerContent$1(e){return e.text}var TimeBodyAxis=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return this.props.slatMetas.map((function(e){return createElement("tr",{key:e.key},createElement(TimeColsAxisCell,__assign$1({},e)))}))},t}(BaseComponent),DEFAULT_WEEK_NUM_FORMAT=createFormatter({week:"short"}),AUTO_ALL_DAY_MAX_EVENT_ROWS=5,TimeColsView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allDaySplitter=new AllDaySplitter,t.headerElRef=createRef(),t.rootElRef=createRef(),t.scrollerElRef=createRef(),t.state={slatCoords:null},t.handleScrollTopRequest=function(e){var n=t.scrollerElRef.current;n&&(n.scrollTop=e)},t.renderHeadAxis=function(e,n){void 0===n&&(n="");var r=t.context.options,o=t.props.dateProfile.renderRange,a=1===diffDays(o.start,o.end)?buildNavLinkAttrs(t.context,o.start,"week"):{};return r.weekNumbers&&"day"===e?createElement(WeekNumberRoot,{date:o.start,defaultFormat:DEFAULT_WEEK_NUM_FORMAT},(function(e,t,r,o){return createElement("th",{ref:e,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(t).join(" ")},createElement("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:n}},createElement("a",__assign$1({ref:r,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},a),o)))})):createElement("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},createElement("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},t.renderTableRowAxis=function(e){var n=t.context,r=n.options,o=n.viewApi,a={text:r.allDayText,view:o};return createElement(RenderHook,{hookProps:a,classNames:r.allDayClassNames,content:r.allDayContent,defaultContent:renderAllDayInner$1,didMount:r.allDayDidMount,willUnmount:r.allDayWillUnmount},(function(t,n,r,o){return createElement("td",{ref:t,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(n).join(" ")},createElement("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(null==e?" fc-timegrid-axis-frame-liquid":""),style:{height:e}},createElement("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:r},o)))}))},t.handleSlatCoords=function(e){t.setState({slatCoords:e})},t}return __extends(t,e),t.prototype.renderSimpleLayout=function(e,t,n){var r=this.context,o=this.props,a=[],i=getStickyHeaderDates(r.options);return e&&a.push({type:"header",key:"header",isSticky:i,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(a.push({type:"body",key:"all-day",chunk:{content:t}}),a.push({type:"body",key:"all-day-divider",outerContent:createElement("tr",{role:"presentation",className:"fc-scrollgrid-section"},createElement("td",{className:"fc-timegrid-divider "+r.theme.getClass("tableCellShaded")}))})),a.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(r.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),createElement(ViewRoot,{viewSpec:r.viewSpec,elRef:this.rootElRef},(function(e,t){return createElement("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},createElement(SimpleScrollGrid,{liquid:!o.isHeightAuto&&!o.forPrint,collapsibleWidth:o.forPrint,cols:[{width:"shrink"}],sections:a}))}))},t.prototype.renderHScrollLayout=function(e,t,n,r,o,a,i){var l=this,s=this.context.pluginHooks.scrollGridImpl;if(!s)throw new Error("No ScrollGrid implementation");var u=this.context,c=this.props,d=!c.forPrint&&getStickyHeaderDates(u.options),f=!c.forPrint&&getStickyFooterScrollbar(u.options),p=[];e&&p.push({type:"header",key:"header",isSticky:d,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return createElement("tr",{role:"presentation"},l.renderHeadAxis("day",e.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(p.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return createElement("tr",{role:"presentation"},l.renderTableRowAxis(e.rowSyncHeights[0]))}},{key:"cols",content:t}]}),p.push({key:"all-day-divider",type:"body",outerContent:createElement("tr",{role:"presentation",className:"fc-scrollgrid-section"},createElement("td",{colSpan:2,className:"fc-timegrid-divider "+u.theme.getClass("tableCellShaded")}))}));var h=u.options.nowIndicator;return p.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(u.options.expandRows),chunks:[{key:"axis",content:function(e){return createElement("div",{className:"fc-timegrid-axis-chunk"},createElement("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,createElement("tbody",null,createElement(TimeBodyAxis,{slatMetas:a}))),createElement("div",{className:"fc-timegrid-now-indicator-container"},createElement(NowTimer,{unit:h?"minute":"day"},(function(e){var t=h&&i&&i.safeComputeTop(e);return"number"==typeof t?createElement(NowIndicatorRoot,{isAxis:!0,date:e},(function(e,n,r,o){return createElement("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(n).join(" "),style:{top:t}},o)})):null}))))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),f&&p.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:renderScrollShim},{key:"cols",content:renderScrollShim}]}),createElement(ViewRoot,{viewSpec:u.viewSpec,elRef:this.rootElRef},(function(e,t){return createElement("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},createElement(s,{liquid:!c.isHeightAuto&&!c.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:r,minWidth:o}]}],sections:p}))}))},t.prototype.getAllDayMaxEventProps=function(){var e=this.context.options,t=e.dayMaxEvents,n=e.dayMaxEventRows;return!0!==t&&!0!==n||(t=void 0,n=AUTO_ALL_DAY_MAX_EVENT_ROWS),{dayMaxEvents:t,dayMaxEventRows:n}},t}(DateComponent);function renderAllDayInner$1(e){return e.text}var TimeColsSlatsCoords=function(){function e(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}return e.prototype.safeComputeTop=function(e){var t=this.dateProfile;if(rangeContainsMarker(t.currentRange,e)){var n=startOfDay(e),r=e.valueOf()-n.valueOf();if(r>=asRoughMs(t.slotMinTime)&&r<asRoughMs(t.slotMaxTime))return this.computeTimeTop(createDuration(r))}return null},e.prototype.computeDateTop=function(e,t){return t||(t=startOfDay(e)),this.computeTimeTop(createDuration(e.valueOf()-t.valueOf()))},e.prototype.computeTimeTop=function(e){var t,n,r=this.positions,o=this.dateProfile,a=r.els.length,i=(e.milliseconds-asRoughMs(o.slotMinTime))/asRoughMs(this.slotDuration);return i=Math.max(0,i),i=Math.min(a,i),t=Math.floor(i),n=i-(t=Math.min(t,a-1)),r.tops[t]+r.getHeight(t)*n},e}(),TimeColsSlatsBody=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.slatElRefs;return createElement("tbody",null,e.slatMetas.map((function(o,a){var i={time:o.time,date:t.dateEnv.toDate(o.date),view:t.viewApi},l=["fc-timegrid-slot","fc-timegrid-slot-lane",o.isLabeled?"":"fc-timegrid-slot-minor"];return createElement("tr",{key:o.key,ref:r.createRef(o.key)},e.axis&&createElement(TimeColsAxisCell,__assign$1({},o)),createElement(RenderHook,{hookProps:i,classNames:n.slotLaneClassNames,content:n.slotLaneContent,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount},(function(e,t,n,r){return createElement("td",{ref:e,className:l.concat(t).join(" "),"data-time":o.isoTimeStr},r)})))})))},t}(BaseComponent),TimeColsSlats=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=createRef(),t.slatElRefs=new RefMap,t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return createElement("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},createElement("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,createElement(TimeColsSlatsBody,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))},t.prototype.componentDidMount=function(){this.updateSizing()},t.prototype.componentDidUpdate=function(){this.updateSizing()},t.prototype.componentWillUnmount=function(){this.props.onCoords&&this.props.onCoords(null)},t.prototype.updateSizing=function(){var e=this.context,t=this.props;t.onCoords&&null!==t.clientWidth&&(this.rootElRef.current.offsetHeight&&t.onCoords(new TimeColsSlatsCoords(new PositionCache(this.rootElRef.current,collectSlatEls(this.slatElRefs.currentMap,t.slatMetas),!1,!0),this.props.dateProfile,e.options.slotDuration)))},t}(BaseComponent);function collectSlatEls(e,t){return t.map((function(t){return e[t.key]}))}function splitSegsByCol(e,t){var n,r=[];for(n=0;n<t;n+=1)r.push([]);if(e)for(n=0;n<e.length;n+=1)r[e[n].col].push(e[n]);return r}function splitInteractionByCol(e,t){var n=[];if(e){for(i=0;i<t;i+=1)n[i]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,o=e.segs;r<o.length;r++){var a=o[r];n[a.col].segs.push(a)}}else for(var i=0;i<t;i+=1)n[i]=null;return n}var TimeColMoreLink=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props;return createElement(MoreLinkRoot,{allDayDate:null,moreCnt:t.hiddenSegs.length,allSegs:t.hiddenSegs,hiddenSegs:t.hiddenSegs,alignmentElRef:this.rootElRef,defaultContent:renderMoreLinkInner,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,todayRange:t.todayRange,popoverContent:function(){return renderPlainFgSegs(t.hiddenSegs,t)}},(function(n,r,o,a,i,l,s,u){return createElement("a",{ref:function(t){setRef(n,t),setRef(e.rootElRef,t)},className:["fc-timegrid-more-link"].concat(r).join(" "),style:{top:t.top,bottom:t.bottom},onClick:i,title:l,"aria-expanded":s,"aria-controls":u},createElement("div",{ref:o,className:"fc-timegrid-more-link-inner fc-sticky"},a))}))},t}(BaseComponent);function renderMoreLinkInner(e){return e.shortText}function buildPositioning(e,t,n){var r=new SegHierarchy;null!=t&&(r.strictOrder=t),null!=n&&(r.maxStackCnt=n);var o=groupIntersectingEntries(r.addSegs(e)),a=buildWeb(r);return{segRects:webToRects(a=stretchWeb(a,1)),hiddenGroups:o}}function buildWeb(e){var t=e.entriesByLevel,n=cacheable((function(e,t){return e+":"+t}),(function(r,o){var a=buildNodes(findNextLevelSegs(e,r,o),n),i=t[r][o];return[__assign$1(__assign$1({},i),{nextLevelNodes:a[0]}),i.thickness+a[1]]}));return buildNodes(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,n)[0]}function buildNodes(e,t){if(!e)return[[],0];for(var n=e.level,r=e.lateralStart,o=e.lateralEnd,a=r,i=[];a<o;)i.push(t(n,a)),a+=1;return i.sort(cmpDescPressures),[i.map(extractNode),i[0][1]]}function cmpDescPressures(e,t){return t[1]-e[1]}function extractNode(e){return e[0]}function findNextLevelSegs(e,t,n){for(var r=e.levelCoords,o=e.entriesByLevel,a=o[t][n],i=r[t]+a.thickness,l=r.length,s=t;s<l&&r[s]<i;s+=1);for(;s<l;s+=1){for(var u=o[s],c=void 0,d=binarySearch(u,a.span.start,getEntrySpanEnd),f=d[0]+d[1],p=f;(c=u[p])&&c.span.start<a.span.end;)p+=1;if(f<p)return{level:s,lateralStart:f,lateralEnd:p}}return null}function stretchWeb(e,t){var n=cacheable((function(e,t,n){return buildEntryKey(e)}),(function(e,r,o){var a,i=e.nextLevelNodes,l=e.thickness,s=l+o,u=l/s,c=[];if(i.length)for(var d=0,f=i;d<f.length;d++){var p=f[d];if(void 0===a){a=(h=n(p,r,s))[0],c.push(h[1])}else{var h=n(p,a,0);c.push(h[1])}}else a=t;var v=(a-r)*u;return[a-v,__assign$1(__assign$1({},e),{thickness:v,nextLevelNodes:c})]}));return e.map((function(e){return n(e,0,0)[1]}))}function webToRects(e){var t=[],n=cacheable((function(e,t,n){return buildEntryKey(e)}),(function(e,n,o){var a=__assign$1(__assign$1({},e),{levelCoord:n,stackDepth:o,stackForward:0});return t.push(a),a.stackForward=r(e.nextLevelNodes,n+e.thickness,o+1)+1}));function r(e,t,r){for(var o=0,a=0,i=e;a<i.length;a++){var l=i[a];o=Math.max(n(l,t,r),o)}return o}return r(e,0,0),t}function cacheable(e,t){var n={};return function(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];var a=e.apply(void 0,r);return a in n?n[a]:n[a]=t.apply(void 0,r)}}function computeSegVCoords(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=0);var o=[];if(n)for(var a=0;a<e.length;a+=1){var i=e[a],l=n.computeDateTop(i.start,t),s=Math.max(l+(r||0),n.computeDateTop(i.end,t));o.push({start:Math.round(l),end:Math.round(s)})}return o}function computeFgSegPlacements(e,t,n,r){for(var o=[],a=[],i=0;i<e.length;i+=1){var l=t[i];l?o.push({index:i,thickness:1,span:l}):a.push(e[i])}for(var s=buildPositioning(o,n,r),u=s.segRects,c=s.hiddenGroups,d=[],f=0,p=u;f<p.length;f++){var h=p[f];d.push({seg:e[h.index],rect:h})}for(var v=0,m=a;v<m.length;v++){var g=m[v];d.push({seg:g,rect:null})}return{segPlacements:d,hiddenGroups:c}}var DEFAULT_TIME_FORMAT$1=createFormatter({hour:"numeric",minute:"2-digit",meridiem:!1}),TimeColEvent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=["fc-timegrid-event","fc-v-event"];return this.props.isShort&&e.push("fc-timegrid-event-short"),createElement(StandardEvent,__assign$1({},this.props,{defaultTimeFormat:DEFAULT_TIME_FORMAT$1,extraClassNames:e}))},t}(BaseComponent),TimeColMisc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props;return createElement(DayCellContent,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraHookProps:e.extraHookProps},(function(e,t){return t&&createElement("div",{className:"fc-timegrid-col-misc",ref:e},t)}))},t}(BaseComponent),TimeCol=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sortEventSegs=memoize(sortEventSegs),t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.options.selectMirror,o=t.eventDrag&&t.eventDrag.segs||t.eventResize&&t.eventResize.segs||r&&t.dateSelectionSegs||[],a=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{},i=this.sortEventSegs(t.fgEventSegs,n.options.eventOrder);return createElement(DayCellRoot,{elRef:t.elRef,date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps},(function(n,l,s){return createElement("td",__assign$1({ref:n,role:"gridcell",className:["fc-timegrid-col"].concat(l,t.extraClassNames||[]).join(" ")},s,t.extraDataAttrs),createElement("div",{className:"fc-timegrid-col-frame"},createElement("div",{className:"fc-timegrid-col-bg"},e.renderFillSegs(t.businessHourSegs,"non-business"),e.renderFillSegs(t.bgEventSegs,"bg-event"),e.renderFillSegs(t.dateSelectionSegs,"highlight")),createElement("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(i,a,!1,!1,!1)),createElement("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(o,{},Boolean(t.eventDrag),Boolean(t.eventResize),Boolean(r))),createElement("div",{className:"fc-timegrid-now-indicator-container"},e.renderNowIndicator(t.nowIndicatorSegs)),createElement(TimeColMisc,{date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps})))}))},t.prototype.renderFgSegs=function(e,t,n,r,o){var a=this.props;return a.forPrint?renderPlainFgSegs(e,a):this.renderPositionedFgSegs(e,t,n,r,o)},t.prototype.renderPositionedFgSegs=function(e,t,n,r,o){var a=this,i=this.context.options,l=i.eventMaxStack,s=i.eventShortHeight,u=i.eventOrderStrict,c=i.eventMinHeight,d=this.props,f=d.date,p=d.slatCoords,h=d.eventSelection,v=d.todayRange,m=d.nowDate,g=n||r||o,y=computeFgSegPlacements(e,computeSegVCoords(e,f,p,c),u,l),b=y.segPlacements,w=y.hiddenGroups;return createElement(Fragment,null,this.renderHiddenGroups(w,e),b.map((function(e){var i=e.seg,l=e.rect,u=i.eventRange.instance.instanceId,c=g||Boolean(!t[u]&&l),d=computeSegVStyle(l&&l.span),f=!g&&l?a.computeSegHStyle(l):{left:0,right:0},p=Boolean(l)&&l.stackForward>0,y=Boolean(l)&&l.span.end-l.span.start<s;return createElement("div",{className:"fc-timegrid-event-harness"+(p?" fc-timegrid-event-harness-inset":""),key:u,style:__assign$1(__assign$1({visibility:c?"":"hidden"},d),f)},createElement(TimeColEvent,__assign$1({seg:i,isDragging:n,isResizing:r,isDateSelecting:o,isSelected:u===h,isShort:y},getSegMeta(i,v,m))))})))},t.prototype.renderHiddenGroups=function(e,t){var n=this.props,r=n.extraDateSpan,o=n.dateProfile,a=n.todayRange,i=n.nowDate,l=n.eventSelection,s=n.eventDrag,u=n.eventResize;return createElement(Fragment,null,e.map((function(e){var n=computeSegVStyle(e.span),c=compileSegsFromEntries(e.entries,t);return createElement(TimeColMoreLink,{key:buildIsoString(computeEarliestSegStart(c)),hiddenSegs:c,top:n.top,bottom:n.bottom,extraDateSpan:r,dateProfile:o,todayRange:a,nowDate:i,eventSelection:l,eventDrag:s,eventResize:u})})))},t.prototype.renderFillSegs=function(e,t){var n=this.props,r=this.context,o=computeSegVCoords(e,n.date,n.slatCoords,r.options.eventMinHeight).map((function(r,o){var a=e[o];return createElement("div",{key:buildEventRangeKey(a.eventRange),className:"fc-timegrid-bg-harness",style:computeSegVStyle(r)},"bg-event"===t?createElement(BgEvent,__assign$1({seg:a},getSegMeta(a,n.todayRange,n.nowDate))):renderFill(t))}));return createElement(Fragment,null,o)},t.prototype.renderNowIndicator=function(e){var t=this.props,n=t.slatCoords,r=t.date;return n?e.map((function(e,t){return createElement(NowIndicatorRoot,{isAxis:!1,date:r,key:t},(function(t,o,a,i){return createElement("div",{ref:t,className:["fc-timegrid-now-indicator-line"].concat(o).join(" "),style:{top:n.computeDateTop(e.start,r)}},i)}))})):null},t.prototype.computeSegHStyle=function(e){var t,n,r=this.context,o=r.isRtl,a=r.options.slotEventOverlap,i=e.levelCoord,l=e.levelCoord+e.thickness;a&&(l=Math.min(1,i+2*(l-i))),o?(t=1-l,n=i):(t=i,n=1-l);var s={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return a&&!e.stackForward&&(s[o?"marginLeft":"marginRight"]=20),s},t}(BaseComponent);function renderPlainFgSegs(e,t){var n=t.todayRange,r=t.nowDate,o=t.eventSelection,a=t.eventDrag,i=t.eventResize,l=(a?a.affectedInstances:null)||(i?i.affectedInstances:null)||{};return createElement(Fragment,null,e.map((function(e){var t=e.eventRange.instance.instanceId;return createElement("div",{key:t,style:{visibility:l[t]?"hidden":""}},createElement(TimeColEvent,__assign$1({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===o,isShort:!1},getSegMeta(e,n,r))))})))}function computeSegVStyle(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}function compileSegsFromEntries(e,t){return e.map((function(e){return t[e.index]}))}var TimeColsContent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitFgEventSegs=memoize(splitSegsByCol),t.splitBgEventSegs=memoize(splitSegsByCol),t.splitBusinessHourSegs=memoize(splitSegsByCol),t.splitNowIndicatorSegs=memoize(splitSegsByCol),t.splitDateSelectionSegs=memoize(splitSegsByCol),t.splitEventDrag=memoize(splitInteractionByCol),t.splitEventResize=memoize(splitInteractionByCol),t.rootElRef=createRef(),t.cellElRefs=new RefMap,t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context.options.nowIndicator&&t.slatCoords&&t.slatCoords.safeComputeTop(t.nowDate),r=t.cells.length,o=this.splitFgEventSegs(t.fgEventSegs,r),a=this.splitBgEventSegs(t.bgEventSegs,r),i=this.splitBusinessHourSegs(t.businessHourSegs,r),l=this.splitNowIndicatorSegs(t.nowIndicatorSegs,r),s=this.splitDateSelectionSegs(t.dateSelectionSegs,r),u=this.splitEventDrag(t.eventDrag,r),c=this.splitEventResize(t.eventResize,r);return createElement("div",{className:"fc-timegrid-cols",ref:this.rootElRef},createElement("table",{role:"presentation",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,createElement("tbody",{role:"presentation"},createElement("tr",{role:"row"},t.axis&&createElement("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},createElement("div",{className:"fc-timegrid-col-frame"},createElement("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof n&&createElement(NowIndicatorRoot,{isAxis:!0,date:t.nowDate},(function(e,t,r,o){return createElement("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(t).join(" "),style:{top:n}},o)}))))),t.cells.map((function(n,r){return createElement(TimeCol,{key:n.key,elRef:e.cellElRefs.createRef(n.key),dateProfile:t.dateProfile,date:n.date,nowDate:t.nowDate,todayRange:t.todayRange,extraHookProps:n.extraHookProps,extraDataAttrs:n.extraDataAttrs,extraClassNames:n.extraClassNames,extraDateSpan:n.extraDateSpan,fgEventSegs:o[r],bgEventSegs:a[r],businessHourSegs:i[r],nowIndicatorSegs:l[r],dateSelectionSegs:s[r],eventDrag:u[r],eventResize:c[r],slatCoords:t.slatCoords,eventSelection:t.eventSelection,forPrint:t.forPrint})}))))))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.updateCoords=function(){var e=this.props;e.onColCoords&&null!==e.clientWidth&&e.onColCoords(new PositionCache(this.rootElRef.current,collectCellEls(this.cellElRefs.currentMap,e.cells),!0,!1))},t}(BaseComponent);function collectCellEls(e,t){return t.map((function(t){return e[t.key]}))}var TimeCols=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processSlotOptions=memoize(processSlotOptions),t.state={slatCoords:null},t.handleRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t.handleScrollRequest=function(e){var n=t.props.onScrollTopRequest,r=t.state.slatCoords;if(n&&r){if(e.time){var o=r.computeTimeTop(e.time);(o=Math.ceil(o))&&(o+=1),n(o)}return!0}return!1},t.handleColCoords=function(e){t.colCoords=e},t.handleSlatCoords=function(e){t.setState({slatCoords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return createElement("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},createElement(TimeColsSlats,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),createElement(TimeColsContent,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))},t.prototype.componentDidMount=function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.componentDidUpdate=function(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},t.prototype.queryHit=function(e,t){var n=this.context,r=n.dateEnv,o=n.options,a=this.colCoords,i=this.props.dateProfile,l=this.state.slatCoords,s=this.processSlotOptions(this.props.slotDuration,o.snapDuration),u=s.snapDuration,c=s.snapsPerSlot,d=a.leftToIndex(e),f=l.positions.topToIndex(t);if(null!=d&&null!=f){var p=this.props.cells[d],h=l.positions.tops[f],v=l.positions.getHeight(f),m=(t-h)/v,g=f*c+Math.floor(m*c),y=this.props.cells[d].date,b=addDurations(i.slotMinTime,multiplyDuration(u,g)),w=r.add(y,b),E=r.add(w,u);return{dateProfile:i,dateSpan:__assign$1({range:{start:w,end:E},allDay:!1},p.extraDateSpan),dayEl:a.els[d],rect:{left:a.lefts[d],right:a.rights[d],top:h,bottom:h+v},layer:0}}return null},t}(DateComponent);function processSlotOptions(e,t){var n=t||e,r=wholeDivideDurations(e,n);return null===r&&(n=e,r=1),{snapDuration:n,snapsPerSlot:r}}var DayTimeColsSlicer=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.sliceRange=function(e,t){for(var n=[],r=0;r<t.length;r+=1){var o=intersectRanges(e,t[r]);o&&n.push({start:o.start,end:o.end,isStart:o.start.valueOf()===e.start.valueOf(),isEnd:o.end.valueOf()===e.end.valueOf(),col:r})}return n},t}(Slicer),DayTimeCols=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayRanges=memoize(buildDayRanges),t.slicer=new DayTimeColsSlicer,t.timeColsRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.dateProfile,o=t.dayTableModel,a=n.options.nowIndicator,i=this.buildDayRanges(o,r,n.dateEnv);return createElement(NowTimer,{unit:a?"minute":"day"},(function(l,s){return createElement(TimeCols,__assign$1({ref:e.timeColsRef},e.slicer.sliceProps(t,r,null,n,i),{forPrint:t.forPrint,axis:t.axis,dateProfile:r,slatMetas:t.slatMetas,slotDuration:t.slotDuration,cells:o.cells[0],tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,expandRows:t.expandRows,nowDate:l,nowIndicatorSegs:a&&e.slicer.sliceNowDate(l,n,i),todayRange:s,onScrollTopRequest:t.onScrollTopRequest,onSlatCoords:t.onSlatCoords}))}))},t}(DateComponent);function buildDayRanges(e,t,n){for(var r=[],o=0,a=e.headerDates;o<a.length;o++){var i=a[o];r.push({start:n.add(i,t.slotMinTime),end:n.add(i,t.slotMaxTime)})}return r}var STOCK_SUB_DURATIONS=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function buildSlatMetas(e,t,n,r,o){for(var a=new Date(0),i=e,l=createDuration(0),s=n||computeLabelInterval(r),u=[];asRoughMs(i)<asRoughMs(t);){var c=o.add(a,i),d=null!==wholeDivideDurations(l,s);u.push({date:c,time:i,key:c.toISOString(),isoTimeStr:formatIsoTimeString(c),isLabeled:d}),i=addDurations(i,r),l=addDurations(l,r)}return u}function computeLabelInterval(e){var t,n,r;for(t=STOCK_SUB_DURATIONS.length-1;t>=0;t-=1)if(null!==(r=wholeDivideDurations(n=createDuration(STOCK_SUB_DURATIONS[t]),e))&&r>1)return n;return e}var DayTimeColsView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildTimeColsModel=memoize(buildTimeColsModel),t.buildSlatMetas=memoize(buildSlatMetas),t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateEnv,o=t.dateProfileGenerator,a=this.props,i=a.dateProfile,l=this.buildTimeColsModel(i,o),s=this.allDaySplitter.splitProps(a),u=this.buildSlatMetas(i.slotMinTime,i.slotMaxTime,n.slotLabelInterval,n.slotDuration,r),c=n.dayMinWidth,d=!c,f=c,p=n.dayHeaders&&createElement(DayHeader,{dates:l.headerDates,dateProfile:i,datesRepDistinctDays:!0,renderIntro:d?this.renderHeadAxis:null}),h=!1!==n.allDaySlot&&function(t){return createElement(DayTable,__assign$1({},s.allDay,{dateProfile:i,dayTableModel:l,nextDayThreshold:n.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:d?e.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:a.forPrint},e.getAllDayMaxEventProps()))},v=function(t){return createElement(DayTimeCols,__assign$1({},s.timed,{dayTableModel:l,dateProfile:i,axis:d,slotDuration:n.slotDuration,slatMetas:u,forPrint:a.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:e.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:e.handleScrollTopRequest}))};return f?this.renderHScrollLayout(p,h,v,l.colCnt,c,u,this.state.slatCoords):this.renderSimpleLayout(p,h,v)},t}(TimeColsView);function buildTimeColsModel(e,t){var n=new DaySeriesModel(e.renderRange,t);return new DayTableModel(n,!1)}var OPTION_REFINERS$2={allDaySlot:Boolean},main$2=createPlugin({initialView:"timeGridWeek",optionRefiners:OPTION_REFINERS$2,views:{timeGrid:{component:DayTimeColsView,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});
61
+ */function splitSegsByRow(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var a=0,o=e;a<o.length;a++){var i=o[a];n[i.row].push(i)}return n}function splitSegsByFirstCol(e,t){for(var n=[],r=0;r<t;r+=1)n[r]=[];for(var a=0,o=e;a<o.length;a++){var i=o[a];n[i.firstCol].push(i)}return n}function splitInteractionByRow(e,t){var n=[];if(e){for(i=0;i<t;i+=1)n[i]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,a=e.segs;r<a.length;r++){var o=a[r];n[o.row].segs.push(o)}}else for(var i=0;i<t;i+=1)n[i]=null;return n}var TableCellTop=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=buildNavLinkAttrs(this.context,e.date);return createElement(DayCellContent,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,showDayNumber:e.showDayNumber,extraHookProps:e.extraHookProps,defaultContent:renderTopInner},(function(n,r){return(r||e.forceDayTop)&&createElement("div",{className:"fc-daygrid-day-top",ref:n},createElement("a",__assign$1({id:e.dayNumberId,className:"fc-daygrid-day-number"},t),r||createElement(Fragment,null," ")))}))},t}(BaseComponent);function renderTopInner(e){return e.dayNumberText}var DEFAULT_TABLE_EVENT_TIME_FORMAT=createFormatter({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function hasListItemDisplay(e){var t=e.eventRange.ui.display;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}var TableBlockEvent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props;return createElement(StandardEvent,__assign$1({},e,{extraClassNames:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:DEFAULT_TABLE_EVENT_TIME_FORMAT,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))},t}(BaseComponent),TableListItemEvent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options.eventTimeFormat||DEFAULT_TABLE_EVENT_TIME_FORMAT,r=buildSegTimeText(e.seg,n,t,!0,e.defaultDisplayEventEnd);return createElement(EventRoot,{seg:e.seg,timeText:r,defaultContent:renderInnerContent$2,isDragging:e.isDragging,isResizing:!1,isDateSelecting:!1,isSelected:e.isSelected,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday},(function(n,r,a,o){return createElement("a",__assign$1({className:["fc-daygrid-event","fc-daygrid-dot-event"].concat(r).join(" "),ref:n},getSegAnchorAttrs(e.seg,t)),o)}))},t}(BaseComponent);function renderInnerContent$2(e){return createElement(Fragment,null,createElement("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&createElement("div",{className:"fc-event-time"},e.timeText),createElement("div",{className:"fc-event-title"},e.event.title||createElement(Fragment,null," ")))}var TableCellMoreLink=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.compileSegs=memoize(compileSegs),t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.compileSegs(e.singlePlacements),n=t.allSegs,r=t.invisibleSegs;return createElement(MoreLinkRoot,{dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:n,hiddenSegs:r,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:function(){var t=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return createElement(Fragment,null,n.map((function(n){var r=n.eventRange.instance.instanceId;return createElement("div",{className:"fc-daygrid-event-harness",key:r,style:{visibility:t[r]?"hidden":""}},hasListItemDisplay(n)?createElement(TableListItemEvent,__assign$1({seg:n,isDragging:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},getSegMeta(n,e.todayRange))):createElement(TableBlockEvent,__assign$1({seg:n,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:r===e.eventSelection,defaultDisplayEventEnd:!1},getSegMeta(n,e.todayRange))))})))}},(function(e,t,n,r,a,o,i,l){return createElement("a",__assign$1({ref:e,className:["fc-daygrid-more-link"].concat(t).join(" "),title:o,"aria-expanded":i,"aria-controls":l},createAriaClickAttrs(a)),r)}))},t}(BaseComponent);function compileSegs(e){for(var t=[],n=[],r=0,a=e;r<a.length;r++){var o=a[r];t.push(o.seg),o.isVisible||n.push(o.seg)}return{allSegs:t,invisibleSegs:n}}var DEFAULT_WEEK_NUM_FORMAT$1=createFormatter({week:"narrow"}),TableCell=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=createRef(),t.state={dayNumberId:getUniqueDomId()},t.handleRootEl=function(e){setRef(t.rootElRef,e),setRef(t.props.elRef,e)},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=e.context,n=e.props,r=e.state,a=e.rootElRef,o=n.date,i=n.dateProfile,l=buildNavLinkAttrs(t,o,"week");return createElement(DayCellRoot,{date:o,dateProfile:i,todayRange:n.todayRange,showDayNumber:n.showDayNumber,extraHookProps:n.extraHookProps,elRef:this.handleRootEl},(function(e,t,s,u){return createElement("td",__assign$1({ref:e,role:"gridcell",className:["fc-daygrid-day"].concat(t,n.extraClassNames||[]).join(" ")},s,n.extraDataAttrs,n.showDayNumber?{"aria-labelledby":r.dayNumberId}:{}),createElement("div",{className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",ref:n.innerElRef},n.showWeekNumber&&createElement(WeekNumberRoot,{date:o,defaultFormat:DEFAULT_WEEK_NUM_FORMAT$1},(function(e,t,n,r){return createElement("a",__assign$1({ref:e,className:["fc-daygrid-week-number"].concat(t).join(" ")},l),r)})),!u&&createElement(TableCellTop,{date:o,dateProfile:i,showDayNumber:n.showDayNumber,dayNumberId:r.dayNumberId,forceDayTop:n.forceDayTop,todayRange:n.todayRange,extraHookProps:n.extraHookProps}),createElement("div",{className:"fc-daygrid-day-events",ref:n.fgContentElRef},n.fgContent,createElement("div",{className:"fc-daygrid-day-bottom",style:{marginTop:n.moreMarginTop}},createElement(TableCellMoreLink,{allDayDate:o,singlePlacements:n.singlePlacements,moreCnt:n.moreCnt,alignmentElRef:a,alignGridTop:!n.showDayNumber,extraDateSpan:n.extraDateSpan,dateProfile:n.dateProfile,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,todayRange:n.todayRange}))),createElement("div",{className:"fc-daygrid-day-bg"},n.bgContent)))}))},t}(DateComponent);function computeFgSegPlacement(e,t,n,r,a,o,i){var l=new DayGridSegHierarchy;l.allowReslicing=!0,l.strictOrder=r,!0===t||!0===n?(l.maxCoord=o,l.hiddenConsumes=!0):"number"==typeof t?l.maxStackCnt=t:"number"==typeof n&&(l.maxStackCnt=n,l.hiddenConsumes=!0);for(var s=[],u=[],c=0;c<e.length;c+=1){var d=a[(T=e[c]).eventRange.instance.instanceId];null!=d?s.push({index:c,thickness:d,span:{start:T.firstCol,end:T.lastCol+1}}):u.push(T)}for(var f=l.addSegs(s),p=placeRects(l.toRects(),e,i),h=p.singleColPlacements,m=p.multiColPlacements,v=p.leftoverMargins,g=[],y=[],b=0,w=u;b<w.length;b++){m[(T=w[b]).firstCol].push({seg:T,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(var S=T.firstCol;S<=T.lastCol;S+=1)h[S].push({seg:resliceSeg(T,S,S+1,i),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(S=0;S<i.length;S+=1)g.push(0);for(var E=0,_=f;E<_.length;E++){var k=_[E],T=e[k.index],x=k.span;m[x.start].push({seg:resliceSeg(T,x.start,x.end,i),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(S=x.start;S<x.end;S+=1)g[S]+=1,h[S].push({seg:resliceSeg(T,S,S+1,i),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(S=0;S<i.length;S+=1)y.push(v[S]);return{singleColPlacements:h,multiColPlacements:m,moreCnts:g,moreMarginTops:y}}function placeRects(e,t,n){for(var r=groupRectsByEachCol(e,n.length),a=[],o=[],i=[],l=0;l<n.length;l+=1){for(var s=r[l],u=[],c=0,d=0,f=0,p=s;f<p.length;f++){var h=t[(y=p[f]).index];u.push({seg:resliceSeg(h,l,l+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:y.levelCoord,marginTop:y.levelCoord-c}),c=y.levelCoord+y.thickness}var m=[];c=0,d=0;for(var v=0,g=s;v<g.length;v++){h=t[(y=g[v]).index];var y,b=y.span.end-y.span.start>1,w=y.span.start===l;d+=y.levelCoord-c,c=y.levelCoord+y.thickness,b?(d+=y.thickness,w&&m.push({seg:resliceSeg(h,y.span.start,y.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:y.levelCoord,marginTop:0})):w&&(m.push({seg:resliceSeg(h,y.span.start,y.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:y.levelCoord,marginTop:d}),d=0)}a.push(u),o.push(m),i.push(d)}return{singleColPlacements:a,multiColPlacements:o,leftoverMargins:i}}function groupRectsByEachCol(e,t){for(var n=[],r=0;r<t;r+=1)n.push([]);for(var a=0,o=e;a<o.length;a++){var i=o[a];for(r=i.span.start;r<i.span.end;r+=1)n[r].push(i)}return n}function resliceSeg(e,t,n,r){if(e.firstCol===t&&e.lastCol===n-1)return e;var a=e.eventRange,o=a.range,i=intersectRanges(o,{start:r[t].date,end:addDays(r[n-1].date,1)});return __assign$1(__assign$1({},e),{firstCol:t,lastCol:n-1,eventRange:{def:a.def,ui:__assign$1(__assign$1({},a.ui),{durationEditable:!1}),instance:a.instance,range:i},isStart:e.isStart&&i.start.valueOf()===o.start.valueOf(),isEnd:e.isEnd&&i.end.valueOf()===o.end.valueOf()})}var DayGridSegHierarchy=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.hiddenConsumes=!1,t.forceHidden={},t}return __extends(t,e),t.prototype.addSegs=function(t){for(var n=this,r=e.prototype.addSegs.call(this,t),a=this.entriesByLevel,o=function(e){return!n.forceHidden[buildEntryKey(e)]},i=0;i<a.length;i+=1)a[i]=a[i].filter(o);return r},t.prototype.handleInvalidInsertion=function(t,n,r){var a=this.entriesByLevel,o=this.forceHidden,i=t.touchingEntry,l=t.touchingLevel,s=t.touchingLateral;if(this.hiddenConsumes&&i){var u=buildEntryKey(i);if(!o[u])if(this.allowReslicing){var c=__assign$1(__assign$1({},i),{span:intersectSpans(i.span,n.span)});o[buildEntryKey(c)]=!0,a[l][s]=c,this.splitEntry(i,n,r)}else o[u]=!0,r.push(i)}return e.prototype.handleInvalidInsertion.call(this,t,n,r)},t}(SegHierarchy),TableRow=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.cellElRefs=new RefMap,t.frameElRefs=new RefMap,t.fgElRefs=new RefMap,t.segHarnessRefs=new RefMap,t.rootElRef=createRef(),t.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this,n=t.props,r=t.state,a=t.context.options,o=n.cells.length,i=splitSegsByFirstCol(n.businessHourSegs,o),l=splitSegsByFirstCol(n.bgEventSegs,o),s=splitSegsByFirstCol(this.getHighlightSegs(),o),u=splitSegsByFirstCol(this.getMirrorSegs(),o),c=computeFgSegPlacement(sortEventSegs(n.fgEventSegs,a.eventOrder),n.dayMaxEvents,n.dayMaxEventRows,a.eventOrderStrict,r.eventInstanceHeights,r.maxContentHeight,n.cells),d=c.singleColPlacements,f=c.multiColPlacements,p=c.moreCnts,h=c.moreMarginTops,m=n.eventDrag&&n.eventDrag.affectedInstances||n.eventResize&&n.eventResize.affectedInstances||{};return createElement("tr",{ref:this.rootElRef,role:"row"},n.renderIntro&&n.renderIntro(),n.cells.map((function(t,r){var a=e.renderFgSegs(r,n.forPrint?d[r]:f[r],n.todayRange,m),o=e.renderFgSegs(r,buildMirrorPlacements(u[r],f),n.todayRange,{},Boolean(n.eventDrag),Boolean(n.eventResize),!1);return createElement(TableCell,{key:t.key,elRef:e.cellElRefs.createRef(t.key),innerElRef:e.frameElRefs.createRef(t.key),dateProfile:n.dateProfile,date:t.date,showDayNumber:n.showDayNumbers,showWeekNumber:n.showWeekNumbers&&0===r,forceDayTop:n.showWeekNumbers,todayRange:n.todayRange,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,extraHookProps:t.extraHookProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:p[r],moreMarginTop:h[r],singlePlacements:d[r],fgContentElRef:e.fgElRefs.createRef(t.key),fgContent:createElement(Fragment,null,createElement(Fragment,null,a),createElement(Fragment,null,o)),bgContent:createElement(Fragment,null,e.renderFillSegs(s[r],"highlight"),e.renderFillSegs(i[r],"non-business"),e.renderFillSegs(l[r],"bg-event"))})})))},t.prototype.componentDidMount=function(){this.updateSizing(!0)},t.prototype.componentDidUpdate=function(e,t){var n=this.props;this.updateSizing(!isPropsEqual(e,n))},t.prototype.getHighlightSegs=function(){var e=this.props;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs},t.prototype.getMirrorSegs=function(){var e=this.props;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]},t.prototype.renderFgSegs=function(e,t,n,r,a,o,i){var l=this.context,s=this.props.eventSelection,u=this.state.framePositions,c=1===this.props.cells.length,d=a||o||i,f=[];if(u)for(var p=0,h=t;p<h.length;p++){var m=h[p],v=m.seg,g=v.eventRange.instance.instanceId,y=g+":"+e,b=m.isVisible&&!r[g],w=m.isAbsolute,S="",E="";w&&(l.isRtl?(E=0,S=u.lefts[v.lastCol]-u.lefts[v.firstCol]):(S=0,E=u.rights[v.firstCol]-u.rights[v.lastCol])),f.push(createElement("div",{className:"fc-daygrid-event-harness"+(w?" fc-daygrid-event-harness-abs":""),key:y,ref:d?null:this.segHarnessRefs.createRef(y),style:{visibility:b?"":"hidden",marginTop:w?"":m.marginTop,top:w?m.absoluteTop:"",left:S,right:E}},hasListItemDisplay(v)?createElement(TableListItemEvent,__assign$1({seg:v,isDragging:a,isSelected:g===s,defaultDisplayEventEnd:c},getSegMeta(v,n))):createElement(TableBlockEvent,__assign$1({seg:v,isDragging:a,isResizing:o,isDateSelecting:i,isSelected:g===s,defaultDisplayEventEnd:c},getSegMeta(v,n)))))}return f},t.prototype.renderFillSegs=function(e,t){var n=this.context.isRtl,r=this.props.todayRange,a=this.state.framePositions,o=[];if(a)for(var i=0,l=e;i<l.length;i++){var s=l[i],u=n?{right:0,left:a.lefts[s.lastCol]-a.lefts[s.firstCol]}:{left:0,right:a.rights[s.firstCol]-a.rights[s.lastCol]};o.push(createElement("div",{key:buildEventRangeKey(s.eventRange),className:"fc-daygrid-bg-harness",style:u},"bg-event"===t?createElement(BgEvent,__assign$1({seg:s},getSegMeta(s,r))):renderFill(t)))}return createElement.apply(void 0,__spreadArray([Fragment,{}],o))},t.prototype.updateSizing=function(e){var t=this.props,n=this.frameElRefs;if(!t.forPrint&&null!==t.clientWidth){if(e){var r=t.cells.map((function(e){return n.currentMap[e.key]}));if(r.length){var a=this.rootElRef.current;this.setState({framePositions:new PositionCache(a,r,!0,!1)})}}var o=this.state.eventInstanceHeights,i=this.queryEventInstanceHeights(),l=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({eventInstanceHeights:__assign$1(__assign$1({},o),i),maxContentHeight:l?this.computeMaxContentHeight():null})}},t.prototype.queryEventInstanceHeights=function(){var e=this.segHarnessRefs.currentMap,t={};for(var n in e){var r=Math.round(e[n].getBoundingClientRect().height),a=n.split(":")[0];t[a]=Math.max(t[a]||0,r)}return t},t.prototype.computeMaxContentHeight=function(){var e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top},t.prototype.getCellEls=function(){var e=this.cellElRefs.currentMap;return this.props.cells.map((function(t){return e[t.key]}))},t}(DateComponent);function buildMirrorPlacements(e,t){if(!e.length)return[];var n=buildAbsoluteTopHash(t);return e.map((function(e){return{seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0}}))}function buildAbsoluteTopHash(e){for(var t={},n=0,r=e;n<r.length;n++)for(var a=0,o=r[n];a<o.length;a++){var i=o[a];t[i.seg.eventRange.instance.instanceId]=i.absoluteTop}return t}TableRow.addStateEquality({eventInstanceHeights:isPropsEqual});var Table=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitBusinessHourSegs=memoize(splitSegsByRow),t.splitBgEventSegs=memoize(splitSegsByRow),t.splitFgEventSegs=memoize(splitSegsByRow),t.splitDateSelectionSegs=memoize(splitSegsByRow),t.splitEventDrag=memoize(splitInteractionByRow),t.splitEventResize=memoize(splitInteractionByRow),t.rowRefs=new RefMap,t.handleRootEl=function(e){t.rootEl=e,e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.dateProfile,r=t.dayMaxEventRows,a=t.dayMaxEvents,o=t.expandRows,i=t.cells.length,l=this.splitBusinessHourSegs(t.businessHourSegs,i),s=this.splitBgEventSegs(t.bgEventSegs,i),u=this.splitFgEventSegs(t.fgEventSegs,i),c=this.splitDateSelectionSegs(t.dateSelectionSegs,i),d=this.splitEventDrag(t.eventDrag,i),f=this.splitEventResize(t.eventResize,i),p=!0===a||!0===r;return p&&!o&&(p=!1,r=null,a=null),createElement("div",{className:["fc-daygrid-body",p?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",o?"":"fc-daygrid-body-natural"].join(" "),ref:this.handleRootEl,style:{width:t.clientWidth,minWidth:t.tableMinWidth}},createElement(NowTimer,{unit:"day"},(function(p,h){return createElement(Fragment,null,createElement("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:t.clientWidth,minWidth:t.tableMinWidth,height:o?t.clientHeight:""}},t.colGroupNode,createElement("tbody",{role:"presentation"},t.cells.map((function(o,p){return createElement(TableRow,{ref:e.rowRefs.createRef(p),key:o.length?o[0].date.toISOString():p,showDayNumbers:i>1,showWeekNumbers:t.showWeekNumbers,todayRange:h,dateProfile:n,cells:o,renderIntro:t.renderRowIntro,businessHourSegs:l[p],eventSelection:t.eventSelection,bgEventSegs:s[p].filter(isSegAllDay),fgEventSegs:u[p],dateSelectionSegs:c[p],eventDrag:d[p],eventResize:f[p],dayMaxEvents:a,dayMaxEventRows:r,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:t.forPrint})})))))})))},t.prototype.prepareHits=function(){this.rowPositions=new PositionCache(this.rootEl,this.rowRefs.collect().map((function(e){return e.getCellEls()[0]})),!1,!0),this.colPositions=new PositionCache(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)},t.prototype.queryHit=function(e,t){var n=this.colPositions,r=this.rowPositions,a=n.leftToIndex(e),o=r.topToIndex(t);if(null!=o&&null!=a){var i=this.props.cells[o][a];return{dateProfile:this.props.dateProfile,dateSpan:__assign$1({range:this.getCellRange(o,a),allDay:!0},i.extraDateSpan),dayEl:this.getCellEl(o,a),rect:{left:n.lefts[a],right:n.rights[a],top:r.tops[o],bottom:r.bottoms[o]},layer:0}}return null},t.prototype.getCellEl=function(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]},t.prototype.getCellRange=function(e,t){var n=this.props.cells[e][t].date;return{start:n,end:addDays(n,1)}},t}(DateComponent);function isSegAllDay(e){return e.eventRange.def.allDay}var DayTableSlicer=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.forceDayIfListItem=!0,t}return __extends(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(Slicer),DayTable=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.slicer=new DayTableSlicer,t.tableRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return createElement(Table,__assign$1({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))},t}(DateComponent),DayTableView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayTableModel=memoize(buildDayTableModel),t.headerRef=createRef(),t.tableRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateProfileGenerator,a=this.props,o=this.buildDayTableModel(a.dateProfile,r),i=n.dayHeaders&&createElement(DayHeader,{ref:this.headerRef,dateProfile:a.dateProfile,dates:o.headerDates,datesRepDistinctDays:1===o.rowCnt}),l=function(t){return createElement(DayTable,{ref:e.tableRef,dateProfile:a.dateProfile,dayTableModel:o,businessHours:a.businessHours,dateSelection:a.dateSelection,eventStore:a.eventStore,eventUiBases:a.eventUiBases,eventSelection:a.eventSelection,eventDrag:a.eventDrag,eventResize:a.eventResize,nextDayThreshold:n.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:n.dayMaxEvents,dayMaxEventRows:n.dayMaxEventRows,showWeekNumbers:n.weekNumbers,expandRows:!a.isHeightAuto,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:a.forPrint})};return n.dayMinWidth?this.renderHScrollLayout(i,l,o.colCnt,n.dayMinWidth):this.renderSimpleLayout(i,l)},t}(TableView);function buildDayTableModel(e,t){var n=new DaySeriesModel(e.renderRange,t);return new DayTableModel(n,/year|month|week/.test(e.currentRangeUnit))}var TableDateProfileGenerator=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.buildRenderRange=function(t,n,r){var a,o=this.props.dateEnv,i=e.prototype.buildRenderRange.call(this,t,n,r),l=i.start,s=i.end;(/^(year|month)$/.test(n)&&(l=o.startOfWeek(l),(a=o.startOfWeek(s)).valueOf()!==s.valueOf()&&(s=addWeeks(a,1))),this.props.monthMode&&this.props.fixedWeekCount)&&(s=addWeeks(s,6-Math.ceil(diffWeeks(l,s))));return{start:l,end:s}},t}(DateProfileGenerator),main$3=createPlugin({initialView:"dayGridMonth",views:{dayGrid:{component:DayTableView,dateProfileGeneratorClass:TableDateProfileGenerator},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}}),AllDaySplitter=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.getKeyInfo=function(){return{allDay:{},timed:{}}},t.prototype.getKeysForDateSpan=function(e){return e.allDay?["allDay"]:["timed"]},t.prototype.getKeysForEventDef=function(e){return e.allDay?hasBgRendering(e)?["timed","allDay"]:["allDay"]:["timed"]},t}(Splitter),DEFAULT_SLAT_LABEL_FORMAT=createFormatter({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function TimeColsAxisCell(e){var t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return createElement(ViewContextType.Consumer,null,(function(n){if(!e.isLabeled)return createElement("td",{className:t.join(" "),"data-time":e.isoTimeStr});var r=n.dateEnv,a=n.options,o=n.viewApi,i=null==a.slotLabelFormat?DEFAULT_SLAT_LABEL_FORMAT:Array.isArray(a.slotLabelFormat)?createFormatter(a.slotLabelFormat[0]):createFormatter(a.slotLabelFormat),l={level:0,time:e.time,date:r.toDate(e.date),view:o,text:r.format(e.date,i)};return createElement(RenderHook,{hookProps:l,classNames:a.slotLabelClassNames,content:a.slotLabelContent,defaultContent:renderInnerContent$1,didMount:a.slotLabelDidMount,willUnmount:a.slotLabelWillUnmount},(function(n,r,a,o){return createElement("td",{ref:n,className:t.concat(r).join(" "),"data-time":e.isoTimeStr},createElement("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},createElement("div",{className:"fc-timegrid-slot-label-cushion fc-scrollgrid-shrink-cushion",ref:a},o)))}))}))}function renderInnerContent$1(e){return e.text}var TimeBodyAxis=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){return this.props.slatMetas.map((function(e){return createElement("tr",{key:e.key},createElement(TimeColsAxisCell,__assign$1({},e)))}))},t}(BaseComponent),DEFAULT_WEEK_NUM_FORMAT=createFormatter({week:"short"}),AUTO_ALL_DAY_MAX_EVENT_ROWS=5,TimeColsView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.allDaySplitter=new AllDaySplitter,t.headerElRef=createRef(),t.rootElRef=createRef(),t.scrollerElRef=createRef(),t.state={slatCoords:null},t.handleScrollTopRequest=function(e){var n=t.scrollerElRef.current;n&&(n.scrollTop=e)},t.renderHeadAxis=function(e,n){void 0===n&&(n="");var r=t.context.options,a=t.props.dateProfile.renderRange,o=1===diffDays(a.start,a.end)?buildNavLinkAttrs(t.context,a.start,"week"):{};return r.weekNumbers&&"day"===e?createElement(WeekNumberRoot,{date:a.start,defaultFormat:DEFAULT_WEEK_NUM_FORMAT},(function(e,t,r,a){return createElement("th",{ref:e,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(t).join(" ")},createElement("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame fc-timegrid-axis-frame-liquid",style:{height:n}},createElement("a",__assign$1({ref:r,className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner"},o),a)))})):createElement("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},createElement("div",{className:"fc-timegrid-axis-frame",style:{height:n}}))},t.renderTableRowAxis=function(e){var n=t.context,r=n.options,a=n.viewApi,o={text:r.allDayText,view:a};return createElement(RenderHook,{hookProps:o,classNames:r.allDayClassNames,content:r.allDayContent,defaultContent:renderAllDayInner$1,didMount:r.allDayDidMount,willUnmount:r.allDayWillUnmount},(function(t,n,r,a){return createElement("td",{ref:t,"aria-hidden":!0,className:["fc-timegrid-axis","fc-scrollgrid-shrink"].concat(n).join(" ")},createElement("div",{className:"fc-timegrid-axis-frame fc-scrollgrid-shrink-frame"+(null==e?" fc-timegrid-axis-frame-liquid":""),style:{height:e}},createElement("span",{className:"fc-timegrid-axis-cushion fc-scrollgrid-shrink-cushion fc-scrollgrid-sync-inner",ref:r},a)))}))},t.handleSlatCoords=function(e){t.setState({slatCoords:e})},t}return __extends(t,e),t.prototype.renderSimpleLayout=function(e,t,n){var r=this.context,a=this.props,o=[],i=getStickyHeaderDates(r.options);return e&&o.push({type:"header",key:"header",isSticky:i,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(o.push({type:"body",key:"all-day",chunk:{content:t}}),o.push({type:"body",key:"all-day-divider",outerContent:createElement("tr",{role:"presentation",className:"fc-scrollgrid-section"},createElement("td",{className:"fc-timegrid-divider "+r.theme.getClass("tableCellShaded")}))})),o.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(r.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),createElement(ViewRoot,{viewSpec:r.viewSpec,elRef:this.rootElRef},(function(e,t){return createElement("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},createElement(SimpleScrollGrid,{liquid:!a.isHeightAuto&&!a.forPrint,collapsibleWidth:a.forPrint,cols:[{width:"shrink"}],sections:o}))}))},t.prototype.renderHScrollLayout=function(e,t,n,r,a,o,i){var l=this,s=this.context.pluginHooks.scrollGridImpl;if(!s)throw new Error("No ScrollGrid implementation");var u=this.context,c=this.props,d=!c.forPrint&&getStickyHeaderDates(u.options),f=!c.forPrint&&getStickyFooterScrollbar(u.options),p=[];e&&p.push({type:"header",key:"header",isSticky:d,syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return createElement("tr",{role:"presentation"},l.renderHeadAxis("day",e.rowSyncHeights[0]))}},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(p.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:function(e){return createElement("tr",{role:"presentation"},l.renderTableRowAxis(e.rowSyncHeights[0]))}},{key:"cols",content:t}]}),p.push({key:"all-day-divider",type:"body",outerContent:createElement("tr",{role:"presentation",className:"fc-scrollgrid-section"},createElement("td",{colSpan:2,className:"fc-timegrid-divider "+u.theme.getClass("tableCellShaded")}))}));var h=u.options.nowIndicator;return p.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(u.options.expandRows),chunks:[{key:"axis",content:function(e){return createElement("div",{className:"fc-timegrid-axis-chunk"},createElement("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,createElement("tbody",null,createElement(TimeBodyAxis,{slatMetas:o}))),createElement("div",{className:"fc-timegrid-now-indicator-container"},createElement(NowTimer,{unit:h?"minute":"day"},(function(e){var t=h&&i&&i.safeComputeTop(e);return"number"==typeof t?createElement(NowIndicatorRoot,{isAxis:!0,date:e},(function(e,n,r,a){return createElement("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(n).join(" "),style:{top:t}},a)})):null}))))}},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),f&&p.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:renderScrollShim},{key:"cols",content:renderScrollShim}]}),createElement(ViewRoot,{viewSpec:u.viewSpec,elRef:this.rootElRef},(function(e,t){return createElement("div",{className:["fc-timegrid"].concat(t).join(" "),ref:e},createElement(s,{liquid:!c.isHeightAuto&&!c.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:r,minWidth:a}]}],sections:p}))}))},t.prototype.getAllDayMaxEventProps=function(){var e=this.context.options,t=e.dayMaxEvents,n=e.dayMaxEventRows;return!0!==t&&!0!==n||(t=void 0,n=AUTO_ALL_DAY_MAX_EVENT_ROWS),{dayMaxEvents:t,dayMaxEventRows:n}},t}(DateComponent);function renderAllDayInner$1(e){return e.text}var TimeColsSlatsCoords=function(){function e(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}return e.prototype.safeComputeTop=function(e){var t=this.dateProfile;if(rangeContainsMarker(t.currentRange,e)){var n=startOfDay(e),r=e.valueOf()-n.valueOf();if(r>=asRoughMs(t.slotMinTime)&&r<asRoughMs(t.slotMaxTime))return this.computeTimeTop(createDuration(r))}return null},e.prototype.computeDateTop=function(e,t){return t||(t=startOfDay(e)),this.computeTimeTop(createDuration(e.valueOf()-t.valueOf()))},e.prototype.computeTimeTop=function(e){var t,n,r=this.positions,a=this.dateProfile,o=r.els.length,i=(e.milliseconds-asRoughMs(a.slotMinTime))/asRoughMs(this.slotDuration);return i=Math.max(0,i),i=Math.min(o,i),t=Math.floor(i),n=i-(t=Math.min(t,o-1)),r.tops[t]+r.getHeight(t)*n},e}(),TimeColsSlatsBody=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=t.options,r=e.slatElRefs;return createElement("tbody",null,e.slatMetas.map((function(a,o){var i={time:a.time,date:t.dateEnv.toDate(a.date),view:t.viewApi},l=["fc-timegrid-slot","fc-timegrid-slot-lane",a.isLabeled?"":"fc-timegrid-slot-minor"];return createElement("tr",{key:a.key,ref:r.createRef(a.key)},e.axis&&createElement(TimeColsAxisCell,__assign$1({},a)),createElement(RenderHook,{hookProps:i,classNames:n.slotLaneClassNames,content:n.slotLaneContent,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount},(function(e,t,n,r){return createElement("td",{ref:e,className:l.concat(t).join(" "),"data-time":a.isoTimeStr},r)})))})))},t}(BaseComponent),TimeColsSlats=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=createRef(),t.slatElRefs=new RefMap,t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context;return createElement("div",{ref:this.rootElRef,className:"fc-timegrid-slots"},createElement("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,createElement(TimeColsSlatsBody,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))},t.prototype.componentDidMount=function(){this.updateSizing()},t.prototype.componentDidUpdate=function(){this.updateSizing()},t.prototype.componentWillUnmount=function(){this.props.onCoords&&this.props.onCoords(null)},t.prototype.updateSizing=function(){var e=this.context,t=this.props;t.onCoords&&null!==t.clientWidth&&(this.rootElRef.current.offsetHeight&&t.onCoords(new TimeColsSlatsCoords(new PositionCache(this.rootElRef.current,collectSlatEls(this.slatElRefs.currentMap,t.slatMetas),!1,!0),this.props.dateProfile,e.options.slotDuration)))},t}(BaseComponent);function collectSlatEls(e,t){return t.map((function(t){return e[t.key]}))}function splitSegsByCol(e,t){var n,r=[];for(n=0;n<t;n+=1)r.push([]);if(e)for(n=0;n<e.length;n+=1)r[e[n].col].push(e[n]);return r}function splitInteractionByCol(e,t){var n=[];if(e){for(i=0;i<t;i+=1)n[i]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(var r=0,a=e.segs;r<a.length;r++){var o=a[r];n[o.col].segs.push(o)}}else for(var i=0;i<t;i+=1)n[i]=null;return n}var TimeColMoreLink=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rootElRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props;return createElement(MoreLinkRoot,{allDayDate:null,moreCnt:t.hiddenSegs.length,allSegs:t.hiddenSegs,hiddenSegs:t.hiddenSegs,alignmentElRef:this.rootElRef,defaultContent:renderMoreLinkInner,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,todayRange:t.todayRange,popoverContent:function(){return renderPlainFgSegs(t.hiddenSegs,t)}},(function(n,r,a,o,i,l,s,u){return createElement("a",{ref:function(t){setRef(n,t),setRef(e.rootElRef,t)},className:["fc-timegrid-more-link"].concat(r).join(" "),style:{top:t.top,bottom:t.bottom},onClick:i,title:l,"aria-expanded":s,"aria-controls":u},createElement("div",{ref:a,className:"fc-timegrid-more-link-inner fc-sticky"},o))}))},t}(BaseComponent);function renderMoreLinkInner(e){return e.shortText}function buildPositioning(e,t,n){var r=new SegHierarchy;null!=t&&(r.strictOrder=t),null!=n&&(r.maxStackCnt=n);var a=groupIntersectingEntries(r.addSegs(e)),o=buildWeb(r);return{segRects:webToRects(o=stretchWeb(o,1)),hiddenGroups:a}}function buildWeb(e){var t=e.entriesByLevel,n=cacheable((function(e,t){return e+":"+t}),(function(r,a){var o=buildNodes(findNextLevelSegs(e,r,a),n),i=t[r][a];return[__assign$1(__assign$1({},i),{nextLevelNodes:o[0]}),i.thickness+o[1]]}));return buildNodes(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,n)[0]}function buildNodes(e,t){if(!e)return[[],0];for(var n=e.level,r=e.lateralStart,a=e.lateralEnd,o=r,i=[];o<a;)i.push(t(n,o)),o+=1;return i.sort(cmpDescPressures),[i.map(extractNode),i[0][1]]}function cmpDescPressures(e,t){return t[1]-e[1]}function extractNode(e){return e[0]}function findNextLevelSegs(e,t,n){for(var r=e.levelCoords,a=e.entriesByLevel,o=a[t][n],i=r[t]+o.thickness,l=r.length,s=t;s<l&&r[s]<i;s+=1);for(;s<l;s+=1){for(var u=a[s],c=void 0,d=binarySearch(u,o.span.start,getEntrySpanEnd),f=d[0]+d[1],p=f;(c=u[p])&&c.span.start<o.span.end;)p+=1;if(f<p)return{level:s,lateralStart:f,lateralEnd:p}}return null}function stretchWeb(e,t){var n=cacheable((function(e,t,n){return buildEntryKey(e)}),(function(e,r,a){var o,i=e.nextLevelNodes,l=e.thickness,s=l+a,u=l/s,c=[];if(i.length)for(var d=0,f=i;d<f.length;d++){var p=f[d];if(void 0===o){o=(h=n(p,r,s))[0],c.push(h[1])}else{var h=n(p,o,0);c.push(h[1])}}else o=t;var m=(o-r)*u;return[o-m,__assign$1(__assign$1({},e),{thickness:m,nextLevelNodes:c})]}));return e.map((function(e){return n(e,0,0)[1]}))}function webToRects(e){var t=[],n=cacheable((function(e,t,n){return buildEntryKey(e)}),(function(e,n,a){var o=__assign$1(__assign$1({},e),{levelCoord:n,stackDepth:a,stackForward:0});return t.push(o),o.stackForward=r(e.nextLevelNodes,n+e.thickness,a+1)+1}));function r(e,t,r){for(var a=0,o=0,i=e;o<i.length;o++){var l=i[o];a=Math.max(n(l,t,r),a)}return a}return r(e,0,0),t}function cacheable(e,t){var n={};return function(){for(var r=[],a=0;a<arguments.length;a++)r[a]=arguments[a];var o=e.apply(void 0,r);return o in n?n[o]:n[o]=t.apply(void 0,r)}}function computeSegVCoords(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=0);var a=[];if(n)for(var o=0;o<e.length;o+=1){var i=e[o],l=n.computeDateTop(i.start,t),s=Math.max(l+(r||0),n.computeDateTop(i.end,t));a.push({start:Math.round(l),end:Math.round(s)})}return a}function computeFgSegPlacements(e,t,n,r){for(var a=[],o=[],i=0;i<e.length;i+=1){var l=t[i];l?a.push({index:i,thickness:1,span:l}):o.push(e[i])}for(var s=buildPositioning(a,n,r),u=s.segRects,c=s.hiddenGroups,d=[],f=0,p=u;f<p.length;f++){var h=p[f];d.push({seg:e[h.index],rect:h})}for(var m=0,v=o;m<v.length;m++){var g=v[m];d.push({seg:g,rect:null})}return{segPlacements:d,hiddenGroups:c}}var DEFAULT_TIME_FORMAT$1=createFormatter({hour:"numeric",minute:"2-digit",meridiem:!1}),TimeColEvent=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=["fc-timegrid-event","fc-v-event"];return this.props.isShort&&e.push("fc-timegrid-event-short"),createElement(StandardEvent,__assign$1({},this.props,{defaultTimeFormat:DEFAULT_TIME_FORMAT$1,extraClassNames:e}))},t}(BaseComponent),TimeColMisc=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props;return createElement(DayCellContent,{date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraHookProps:e.extraHookProps},(function(e,t){return t&&createElement("div",{className:"fc-timegrid-col-misc",ref:e},t)}))},t}(BaseComponent),TimeCol=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.sortEventSegs=memoize(sortEventSegs),t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=n.options.selectMirror,a=t.eventDrag&&t.eventDrag.segs||t.eventResize&&t.eventResize.segs||r&&t.dateSelectionSegs||[],o=t.eventDrag&&t.eventDrag.affectedInstances||t.eventResize&&t.eventResize.affectedInstances||{},i=this.sortEventSegs(t.fgEventSegs,n.options.eventOrder);return createElement(DayCellRoot,{elRef:t.elRef,date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps},(function(n,l,s){return createElement("td",__assign$1({ref:n,role:"gridcell",className:["fc-timegrid-col"].concat(l,t.extraClassNames||[]).join(" ")},s,t.extraDataAttrs),createElement("div",{className:"fc-timegrid-col-frame"},createElement("div",{className:"fc-timegrid-col-bg"},e.renderFillSegs(t.businessHourSegs,"non-business"),e.renderFillSegs(t.bgEventSegs,"bg-event"),e.renderFillSegs(t.dateSelectionSegs,"highlight")),createElement("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(i,o,!1,!1,!1)),createElement("div",{className:"fc-timegrid-col-events"},e.renderFgSegs(a,{},Boolean(t.eventDrag),Boolean(t.eventResize),Boolean(r))),createElement("div",{className:"fc-timegrid-now-indicator-container"},e.renderNowIndicator(t.nowIndicatorSegs)),createElement(TimeColMisc,{date:t.date,dateProfile:t.dateProfile,todayRange:t.todayRange,extraHookProps:t.extraHookProps})))}))},t.prototype.renderFgSegs=function(e,t,n,r,a){var o=this.props;return o.forPrint?renderPlainFgSegs(e,o):this.renderPositionedFgSegs(e,t,n,r,a)},t.prototype.renderPositionedFgSegs=function(e,t,n,r,a){var o=this,i=this.context.options,l=i.eventMaxStack,s=i.eventShortHeight,u=i.eventOrderStrict,c=i.eventMinHeight,d=this.props,f=d.date,p=d.slatCoords,h=d.eventSelection,m=d.todayRange,v=d.nowDate,g=n||r||a,y=computeFgSegPlacements(e,computeSegVCoords(e,f,p,c),u,l),b=y.segPlacements,w=y.hiddenGroups;return createElement(Fragment,null,this.renderHiddenGroups(w,e),b.map((function(e){var i=e.seg,l=e.rect,u=i.eventRange.instance.instanceId,c=g||Boolean(!t[u]&&l),d=computeSegVStyle(l&&l.span),f=!g&&l?o.computeSegHStyle(l):{left:0,right:0},p=Boolean(l)&&l.stackForward>0,y=Boolean(l)&&l.span.end-l.span.start<s;return createElement("div",{className:"fc-timegrid-event-harness"+(p?" fc-timegrid-event-harness-inset":""),key:u,style:__assign$1(__assign$1({visibility:c?"":"hidden"},d),f)},createElement(TimeColEvent,__assign$1({seg:i,isDragging:n,isResizing:r,isDateSelecting:a,isSelected:u===h,isShort:y},getSegMeta(i,m,v))))})))},t.prototype.renderHiddenGroups=function(e,t){var n=this.props,r=n.extraDateSpan,a=n.dateProfile,o=n.todayRange,i=n.nowDate,l=n.eventSelection,s=n.eventDrag,u=n.eventResize;return createElement(Fragment,null,e.map((function(e){var n=computeSegVStyle(e.span),c=compileSegsFromEntries(e.entries,t);return createElement(TimeColMoreLink,{key:buildIsoString(computeEarliestSegStart(c)),hiddenSegs:c,top:n.top,bottom:n.bottom,extraDateSpan:r,dateProfile:a,todayRange:o,nowDate:i,eventSelection:l,eventDrag:s,eventResize:u})})))},t.prototype.renderFillSegs=function(e,t){var n=this.props,r=this.context,a=computeSegVCoords(e,n.date,n.slatCoords,r.options.eventMinHeight).map((function(r,a){var o=e[a];return createElement("div",{key:buildEventRangeKey(o.eventRange),className:"fc-timegrid-bg-harness",style:computeSegVStyle(r)},"bg-event"===t?createElement(BgEvent,__assign$1({seg:o},getSegMeta(o,n.todayRange,n.nowDate))):renderFill(t))}));return createElement(Fragment,null,a)},t.prototype.renderNowIndicator=function(e){var t=this.props,n=t.slatCoords,r=t.date;return n?e.map((function(e,t){return createElement(NowIndicatorRoot,{isAxis:!1,date:r,key:t},(function(t,a,o,i){return createElement("div",{ref:t,className:["fc-timegrid-now-indicator-line"].concat(a).join(" "),style:{top:n.computeDateTop(e.start,r)}},i)}))})):null},t.prototype.computeSegHStyle=function(e){var t,n,r=this.context,a=r.isRtl,o=r.options.slotEventOverlap,i=e.levelCoord,l=e.levelCoord+e.thickness;o&&(l=Math.min(1,i+2*(l-i))),a?(t=1-l,n=i):(t=i,n=1-l);var s={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return o&&!e.stackForward&&(s[a?"marginLeft":"marginRight"]=20),s},t}(BaseComponent);function renderPlainFgSegs(e,t){var n=t.todayRange,r=t.nowDate,a=t.eventSelection,o=t.eventDrag,i=t.eventResize,l=(o?o.affectedInstances:null)||(i?i.affectedInstances:null)||{};return createElement(Fragment,null,e.map((function(e){var t=e.eventRange.instance.instanceId;return createElement("div",{key:t,style:{visibility:l[t]?"hidden":""}},createElement(TimeColEvent,__assign$1({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:t===a,isShort:!1},getSegMeta(e,n,r))))})))}function computeSegVStyle(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}function compileSegsFromEntries(e,t){return e.map((function(e){return t[e.index]}))}var TimeColsContent=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.splitFgEventSegs=memoize(splitSegsByCol),t.splitBgEventSegs=memoize(splitSegsByCol),t.splitBusinessHourSegs=memoize(splitSegsByCol),t.splitNowIndicatorSegs=memoize(splitSegsByCol),t.splitDateSelectionSegs=memoize(splitSegsByCol),t.splitEventDrag=memoize(splitInteractionByCol),t.splitEventResize=memoize(splitInteractionByCol),t.rootElRef=createRef(),t.cellElRefs=new RefMap,t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context.options.nowIndicator&&t.slatCoords&&t.slatCoords.safeComputeTop(t.nowDate),r=t.cells.length,a=this.splitFgEventSegs(t.fgEventSegs,r),o=this.splitBgEventSegs(t.bgEventSegs,r),i=this.splitBusinessHourSegs(t.businessHourSegs,r),l=this.splitNowIndicatorSegs(t.nowIndicatorSegs,r),s=this.splitDateSelectionSegs(t.dateSelectionSegs,r),u=this.splitEventDrag(t.eventDrag,r),c=this.splitEventResize(t.eventResize,r);return createElement("div",{className:"fc-timegrid-cols",ref:this.rootElRef},createElement("table",{role:"presentation",style:{minWidth:t.tableMinWidth,width:t.clientWidth}},t.tableColGroupNode,createElement("tbody",{role:"presentation"},createElement("tr",{role:"row"},t.axis&&createElement("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},createElement("div",{className:"fc-timegrid-col-frame"},createElement("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof n&&createElement(NowIndicatorRoot,{isAxis:!0,date:t.nowDate},(function(e,t,r,a){return createElement("div",{ref:e,className:["fc-timegrid-now-indicator-arrow"].concat(t).join(" "),style:{top:n}},a)}))))),t.cells.map((function(n,r){return createElement(TimeCol,{key:n.key,elRef:e.cellElRefs.createRef(n.key),dateProfile:t.dateProfile,date:n.date,nowDate:t.nowDate,todayRange:t.todayRange,extraHookProps:n.extraHookProps,extraDataAttrs:n.extraDataAttrs,extraClassNames:n.extraClassNames,extraDateSpan:n.extraDateSpan,fgEventSegs:a[r],bgEventSegs:o[r],businessHourSegs:i[r],nowIndicatorSegs:l[r],dateSelectionSegs:s[r],eventDrag:u[r],eventResize:c[r],slatCoords:t.slatCoords,eventSelection:t.eventSelection,forPrint:t.forPrint})}))))))},t.prototype.componentDidMount=function(){this.updateCoords()},t.prototype.componentDidUpdate=function(){this.updateCoords()},t.prototype.updateCoords=function(){var e=this.props;e.onColCoords&&null!==e.clientWidth&&e.onColCoords(new PositionCache(this.rootElRef.current,collectCellEls(this.cellElRefs.currentMap,e.cells),!0,!1))},t}(BaseComponent);function collectCellEls(e,t){return t.map((function(t){return e[t.key]}))}var TimeCols=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.processSlotOptions=memoize(processSlotOptions),t.state={slatCoords:null},t.handleRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e,isHitComboAllowed:t.props.isHitComboAllowed}):t.context.unregisterInteractiveComponent(t)},t.handleScrollRequest=function(e){var n=t.props.onScrollTopRequest,r=t.state.slatCoords;if(n&&r){if(e.time){var a=r.computeTimeTop(e.time);(a=Math.ceil(a))&&(a+=1),n(a)}return!0}return!1},t.handleColCoords=function(e){t.colCoords=e},t.handleSlatCoords=function(e){t.setState({slatCoords:e}),t.props.onSlatCoords&&t.props.onSlatCoords(e)},t}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.state;return createElement("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},createElement(TimeColsSlats,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),createElement(TimeColsContent,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))},t.prototype.componentDidMount=function(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)},t.prototype.componentDidUpdate=function(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)},t.prototype.componentWillUnmount=function(){this.scrollResponder.detach()},t.prototype.queryHit=function(e,t){var n=this.context,r=n.dateEnv,a=n.options,o=this.colCoords,i=this.props.dateProfile,l=this.state.slatCoords,s=this.processSlotOptions(this.props.slotDuration,a.snapDuration),u=s.snapDuration,c=s.snapsPerSlot,d=o.leftToIndex(e),f=l.positions.topToIndex(t);if(null!=d&&null!=f){var p=this.props.cells[d],h=l.positions.tops[f],m=l.positions.getHeight(f),v=(t-h)/m,g=f*c+Math.floor(v*c),y=this.props.cells[d].date,b=addDurations(i.slotMinTime,multiplyDuration(u,g)),w=r.add(y,b),S=r.add(w,u);return{dateProfile:i,dateSpan:__assign$1({range:{start:w,end:S},allDay:!1},p.extraDateSpan),dayEl:o.els[d],rect:{left:o.lefts[d],right:o.rights[d],top:h,bottom:h+m},layer:0}}return null},t}(DateComponent);function processSlotOptions(e,t){var n=t||e,r=wholeDivideDurations(e,n);return null===r&&(n=e,r=1),{snapDuration:n,snapsPerSlot:r}}var DayTimeColsSlicer=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.sliceRange=function(e,t){for(var n=[],r=0;r<t.length;r+=1){var a=intersectRanges(e,t[r]);a&&n.push({start:a.start,end:a.end,isStart:a.start.valueOf()===e.start.valueOf(),isEnd:a.end.valueOf()===e.end.valueOf(),col:r})}return n},t}(Slicer),DayTimeCols=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildDayRanges=memoize(buildDayRanges),t.slicer=new DayTimeColsSlicer,t.timeColsRef=createRef(),t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=t.dateProfile,a=t.dayTableModel,o=n.options.nowIndicator,i=this.buildDayRanges(a,r,n.dateEnv);return createElement(NowTimer,{unit:o?"minute":"day"},(function(l,s){return createElement(TimeCols,__assign$1({ref:e.timeColsRef},e.slicer.sliceProps(t,r,null,n,i),{forPrint:t.forPrint,axis:t.axis,dateProfile:r,slatMetas:t.slatMetas,slotDuration:t.slotDuration,cells:a.cells[0],tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,expandRows:t.expandRows,nowDate:l,nowIndicatorSegs:o&&e.slicer.sliceNowDate(l,n,i),todayRange:s,onScrollTopRequest:t.onScrollTopRequest,onSlatCoords:t.onSlatCoords}))}))},t}(DateComponent);function buildDayRanges(e,t,n){for(var r=[],a=0,o=e.headerDates;a<o.length;a++){var i=o[a];r.push({start:n.add(i,t.slotMinTime),end:n.add(i,t.slotMaxTime)})}return r}var STOCK_SUB_DURATIONS=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function buildSlatMetas(e,t,n,r,a){for(var o=new Date(0),i=e,l=createDuration(0),s=n||computeLabelInterval(r),u=[];asRoughMs(i)<asRoughMs(t);){var c=a.add(o,i),d=null!==wholeDivideDurations(l,s);u.push({date:c,time:i,key:c.toISOString(),isoTimeStr:formatIsoTimeString(c),isLabeled:d}),i=addDurations(i,r),l=addDurations(l,r)}return u}function computeLabelInterval(e){var t,n,r;for(t=STOCK_SUB_DURATIONS.length-1;t>=0;t-=1)if(null!==(r=wholeDivideDurations(n=createDuration(STOCK_SUB_DURATIONS[t]),e))&&r>1)return n;return e}var DayTimeColsView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.buildTimeColsModel=memoize(buildTimeColsModel),t.buildSlatMetas=memoize(buildSlatMetas),t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.context,n=t.options,r=t.dateEnv,a=t.dateProfileGenerator,o=this.props,i=o.dateProfile,l=this.buildTimeColsModel(i,a),s=this.allDaySplitter.splitProps(o),u=this.buildSlatMetas(i.slotMinTime,i.slotMaxTime,n.slotLabelInterval,n.slotDuration,r),c=n.dayMinWidth,d=!c,f=c,p=n.dayHeaders&&createElement(DayHeader,{dates:l.headerDates,dateProfile:i,datesRepDistinctDays:!0,renderIntro:d?this.renderHeadAxis:null}),h=!1!==n.allDaySlot&&function(t){return createElement(DayTable,__assign$1({},s.allDay,{dateProfile:i,dayTableModel:l,nextDayThreshold:n.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:d?e.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:e.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:o.forPrint},e.getAllDayMaxEventProps()))},m=function(t){return createElement(DayTimeCols,__assign$1({},s.timed,{dayTableModel:l,dateProfile:i,axis:d,slotDuration:n.slotDuration,slatMetas:u,forPrint:o.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:e.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:e.handleScrollTopRequest}))};return f?this.renderHScrollLayout(p,h,m,l.colCnt,c,u,this.state.slatCoords):this.renderSimpleLayout(p,h,m)},t}(TimeColsView);function buildTimeColsModel(e,t){var n=new DaySeriesModel(e.renderRange,t);return new DayTableModel(n,!1)}var OPTION_REFINERS$2={allDaySlot:Boolean},main$2=createPlugin({initialView:"timeGridWeek",optionRefiners:OPTION_REFINERS$2,views:{timeGrid:{component:DayTimeColsView,usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});
62
62
  /*!
63
63
  FullCalendar v5.11.3
64
64
  Docs & License: https://fullcalendar.io/
65
65
  (c) 2022 Adam Shaw
66
66
  */
67
- config.touchMouseIgnoreWait=500;var ignoreMouseDepth=0,listenerCnt=0,isWindowTouchMoveCancelled=!1,PointerDragging=function(){function e(e){var t=this;this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=function(e){if(!t.shouldIgnoreMouse()&&isPrimaryMouseButton(e)&&t.tryStart(e)){var n=t.createEventFromMouse(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n),t.shouldIgnoreMove||document.addEventListener("mousemove",t.handleMouseMove),document.addEventListener("mouseup",t.handleMouseUp)}},this.handleMouseMove=function(e){var n=t.createEventFromMouse(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleMouseUp=function(e){document.removeEventListener("mousemove",t.handleMouseMove),document.removeEventListener("mouseup",t.handleMouseUp),t.emitter.trigger("pointerup",t.createEventFromMouse(e)),t.cleanup()},this.handleTouchStart=function(e){if(t.tryStart(e)){t.isTouchDragging=!0;var n=t.createEventFromTouch(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n);var r=e.target;t.shouldIgnoreMove||r.addEventListener("touchmove",t.handleTouchMove),r.addEventListener("touchend",t.handleTouchEnd),r.addEventListener("touchcancel",t.handleTouchEnd),window.addEventListener("scroll",t.handleTouchScroll,!0)}},this.handleTouchMove=function(e){var n=t.createEventFromTouch(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleTouchEnd=function(e){if(t.isDragging){var n=e.target;n.removeEventListener("touchmove",t.handleTouchMove),n.removeEventListener("touchend",t.handleTouchEnd),n.removeEventListener("touchcancel",t.handleTouchEnd),window.removeEventListener("scroll",t.handleTouchScroll,!0),t.emitter.trigger("pointerup",t.createEventFromTouch(e)),t.cleanup(),t.isTouchDragging=!1,startIgnoringMouse()}},this.handleTouchScroll=function(){t.wasTouchScroll=!0},this.handleScroll=function(e){if(!t.shouldIgnoreMove){var n=window.pageXOffset-t.prevScrollX+t.prevPageX,r=window.pageYOffset-t.prevScrollY+t.prevPageY;t.emitter.trigger("pointermove",{origEvent:e,isTouch:t.isTouchDragging,subjectEl:t.subjectEl,pageX:n,pageY:r,deltaX:n-t.origPageX,deltaY:r-t.origPageY})}},this.containerEl=e,this.emitter=new Emitter,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),listenerCreated()}return e.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),listenerDestroyed()},e.prototype.tryStart=function(e){var t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!elementClosest(n,this.handleSelector))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)},e.prototype.cleanup=function(){isWindowTouchMoveCancelled=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()},e.prototype.querySubjectEl=function(e){return this.selector?elementClosest(e.target,this.selector):this.containerEl},e.prototype.shouldIgnoreMouse=function(){return ignoreMouseDepth||this.isTouchDragging},e.prototype.cancelTouchScroll=function(){this.isDragging&&(isWindowTouchMoveCancelled=!0)},e.prototype.initScrollWatch=function(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))},e.prototype.recordCoords=function(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},e.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},e.prototype.createEventFromMouse=function(e,t){var n=0,r=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:r}},e.prototype.createEventFromTouch=function(e,t){var n,r,o=e.touches,a=0,i=0;return o&&o.length?(n=o[0].pageX,r=o[0].pageY):(n=e.pageX,r=e.pageY),t?(this.origPageX=n,this.origPageY=r):(a=n-this.origPageX,i=r-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:a,deltaY:i}},e}();function isPrimaryMouseButton(e){return 0===e.button&&!e.ctrlKey}function startIgnoringMouse(){ignoreMouseDepth+=1,setTimeout((function(){ignoreMouseDepth-=1}),config.touchMouseIgnoreWait)}function listenerCreated(){1===(listenerCnt+=1)&&window.addEventListener("touchmove",onWindowTouchMove,{passive:!1})}function listenerDestroyed(){(listenerCnt-=1)||window.removeEventListener("touchmove",onWindowTouchMove,{passive:!1})}function onWindowTouchMove(e){isWindowTouchMoveCancelled&&e.preventDefault()}var ElementMirror=function(){function e(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}return e.prototype.start=function(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()},e.prototype.handleMove=function(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()},e.prototype.setIsVisible=function(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)},e.prototype.stop=function(e,t){var n=this,r=function(){n.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)},e.prototype.doRevertAnimation=function(e,t){var n=this.mirrorEl,r=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",applyStyle(n,{left:r.left,top:r.top}),whenTransitionDone(n,(function(){n.style.transition="",e()}))},e.prototype.cleanup=function(){this.mirrorEl&&(removeElement(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},e.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&applyStyle(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},e.prototype.getMirrorEl=function(){var e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).classList.add("fc-unselectable"),t.classList.add("fc-event-dragging"),applyStyle(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t},e}(),ScrollGeomCache=function(e){function t(t,n){var r=e.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=t,r.doesListening=n,r.scrollTop=r.origScrollTop=t.getScrollTop(),r.scrollLeft=r.origScrollLeft=t.getScrollLeft(),r.scrollWidth=t.getScrollWidth(),r.scrollHeight=t.getScrollHeight(),r.clientWidth=t.getClientWidth(),r.clientHeight=t.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return __extends(t,e),t.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},t.prototype.getScrollTop=function(){return this.scrollTop},t.prototype.getScrollLeft=function(){return this.scrollLeft},t.prototype.setScrollTop=function(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())},t.prototype.setScrollLeft=function(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())},t.prototype.getClientWidth=function(){return this.clientWidth},t.prototype.getClientHeight=function(){return this.clientHeight},t.prototype.getScrollWidth=function(){return this.scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollHeight},t.prototype.handleScrollChange=function(){},t}(ScrollController),ElementScrollGeomCache=function(e){function t(t,n){return e.call(this,new ElementScrollController(t),n)||this}return __extends(t,e),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return computeInnerRect(this.scrollController.el)},t}(ScrollGeomCache),WindowScrollGeomCache=function(e){function t(t){return e.call(this,new WindowScrollController,t)||this}return __extends(t,e),t.prototype.getEventTarget=function(){return window},t.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},t.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()},t}(ScrollGeomCache),getTime="function"==typeof performance?performance.now:Date.now,AutoScroller=function(){function e(){var e=this;this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=function(){if(e.isAnimating){var t=e.computeBestEdge(e.pointerScreenX+window.pageXOffset,e.pointerScreenY+window.pageYOffset);if(t){var n=getTime();e.handleSide(t,(n-e.msSinceRequest)/1e3),e.requestAnimation(n)}else e.isAnimating=!1}}}return e.prototype.start=function(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))},e.prototype.handleMove=function(e,t){if(this.isEnabled){var n=e-window.pageXOffset,r=t-window.pageYOffset,o=null===this.pointerScreenY?0:r-this.pointerScreenY,a=null===this.pointerScreenX?0:n-this.pointerScreenX;o<0?this.everMovedUp=!0:o>0&&(this.everMovedDown=!0),a<0?this.everMovedLeft=!0:a>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(getTime()))}},e.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}this.scrollCaches=null}},e.prototype.requestAnimation=function(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)},e.prototype.handleSide=function(e,t){var n=e.scrollCache,r=this.edgeThreshold,o=r-e.distance,a=o*o/(r*r)*this.maxVelocity*t,i=1;switch(e.name){case"left":i=-1;case"right":n.setScrollLeft(n.getScrollLeft()+a*i);break;case"top":i=-1;case"bottom":n.setScrollTop(n.getScrollTop()+a*i)}},e.prototype.computeBestEdge=function(e,t){for(var n=this.edgeThreshold,r=null,o=0,a=this.scrollCaches||[];o<a.length;o++){var i=a[o],l=i.clientRect,s=e-l.left,u=l.right-e,c=t-l.top,d=l.bottom-t;s>=0&&u>=0&&c>=0&&d>=0&&(c<=n&&this.everMovedUp&&i.canScrollUp()&&(!r||r.distance>c)&&(r={scrollCache:i,name:"top",distance:c}),d<=n&&this.everMovedDown&&i.canScrollDown()&&(!r||r.distance>d)&&(r={scrollCache:i,name:"bottom",distance:d}),s<=n&&this.everMovedLeft&&i.canScrollLeft()&&(!r||r.distance>s)&&(r={scrollCache:i,name:"left",distance:s}),u<=n&&this.everMovedRight&&i.canScrollRight()&&(!r||r.distance>u)&&(r={scrollCache:i,name:"right",distance:u}))}return r},e.prototype.buildCaches=function(e){return this.queryScrollEls(e).map((function(e){return e===window?new WindowScrollGeomCache(!1):new ElementScrollGeomCache(e,!1)}))},e.prototype.queryScrollEls=function(e){for(var t=[],n=0,r=this.scrollQuery;n<r.length;n++){var o=r[n];"object"==typeof o?t.push(o):t.push.apply(t,Array.prototype.slice.call(getElRoot(e).querySelectorAll(o)))}return t},e}(),FeaturefulElementDragging=function(e){function t(t,n){var r=e.call(this,t)||this;r.containerEl=t,r.delay=null,r.minDistance=0,r.touchScrollAllowed=!0,r.mirrorNeedsRevert=!1,r.isInteracting=!1,r.isDragging=!1,r.isDelayEnded=!1,r.isDistanceSurpassed=!1,r.delayTimeoutId=null,r.onPointerDown=function(e){r.isDragging||(r.isInteracting=!0,r.isDelayEnded=!1,r.isDistanceSurpassed=!1,preventSelection(document.body),preventContextMenu(document.body),e.isTouch||e.origEvent.preventDefault(),r.emitter.trigger("pointerdown",e),r.isInteracting&&!r.pointer.shouldIgnoreMove&&(r.mirror.setIsVisible(!1),r.mirror.start(e.subjectEl,e.pageX,e.pageY),r.startDelay(e),r.minDistance||r.handleDistanceSurpassed(e)))},r.onPointerMove=function(e){if(r.isInteracting){if(r.emitter.trigger("pointermove",e),!r.isDistanceSurpassed){var t=r.minDistance,n=e.deltaX,o=e.deltaY;n*n+o*o>=t*t&&r.handleDistanceSurpassed(e)}r.isDragging&&("scroll"!==e.origEvent.type&&(r.mirror.handleMove(e.pageX,e.pageY),r.autoScroller.handleMove(e.pageX,e.pageY)),r.emitter.trigger("dragmove",e))}},r.onPointerUp=function(e){r.isInteracting&&(r.isInteracting=!1,allowSelection(document.body),allowContextMenu(document.body),r.emitter.trigger("pointerup",e),r.isDragging&&(r.autoScroller.stop(),r.tryStopDrag(e)),r.delayTimeoutId&&(clearTimeout(r.delayTimeoutId),r.delayTimeoutId=null))};var o=r.pointer=new PointerDragging(t);return o.emitter.on("pointerdown",r.onPointerDown),o.emitter.on("pointermove",r.onPointerMove),o.emitter.on("pointerup",r.onPointerUp),n&&(o.selector=n),r.mirror=new ElementMirror,r.autoScroller=new AutoScroller,r}return __extends(t,e),t.prototype.destroy=function(){this.pointer.destroy(),this.onPointerUp({})},t.prototype.startDelay=function(e){var t=this;"number"==typeof this.delay?this.delayTimeoutId=setTimeout((function(){t.delayTimeoutId=null,t.handleDelayEnd(e)}),this.delay):this.handleDelayEnd(e)},t.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},t.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},t.prototype.tryStartDrag=function(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))},t.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},t.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)},t.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},t.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},t.prototype.setAutoScrollEnabled=function(e){this.autoScroller.isEnabled=e},t}(ElementDragging),OffsetTracker=function(){function e(e){this.origRect=computeRect(e),this.scrollCaches=getClippingParents(e).map((function(e){return new ElementScrollGeomCache(e,!0)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}},e.prototype.computeLeft=function(){for(var e=this.origRect.left,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollLeft-r.getScrollLeft()}return e},e.prototype.computeTop=function(){for(var e=this.origRect.top,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollTop-r.getScrollTop()}return e},e.prototype.isWithinClipping=function(e,t){for(var n={left:e,top:t},r=0,o=this.scrollCaches;r<o.length;r++){var a=o[r];if(!isIgnoredClipping(a.getEventTarget())&&!pointInsideRect(n,a.clientRect))return!1}return!0},e}();function isIgnoredClipping(e){var t=e.tagName;return"HTML"===t||"BODY"===t}var HitDragging=function(){function e(e,t){var n=this;this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(e){var t=n.dragging;n.initialHit=null,n.movingHit=null,n.finalHit=null,n.prepareHits(),n.processFirstCoord(e),n.initialHit||!n.requireInitial?(t.setIgnoreMove(!1),n.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=function(e){n.emitter.trigger("dragstart",e),n.handleMove(e,!0)},this.handleDragMove=function(e){n.emitter.trigger("dragmove",e),n.handleMove(e)},this.handlePointerUp=function(e){n.releaseHits(),n.emitter.trigger("pointerup",e)},this.handleDragEnd=function(e){n.movingHit&&n.emitter.trigger("hitupdate",null,!0,e),n.finalHit=n.movingHit,n.movingHit=null,n.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new Emitter}return e.prototype.processFirstCoord=function(e){var t,n={left:e.pageX,top:e.pageY},r=n,o=e.subjectEl;o instanceof HTMLElement&&(r=constrainPoint(r,t=computeRect(o)));var a=this.initialHit=this.queryHitForOffset(r.left,r.top);if(a){if(this.useSubjectCenter&&t){var i=intersectRects(t,a.rect);i&&(r=getRectCenter(i))}this.coordAdjust=diffPoints(r,n)}else this.coordAdjust={left:0,top:0}},e.prototype.handleMove=function(e,t){var n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&isHitsEqual(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))},e.prototype.prepareHits=function(){this.offsetTrackers=mapHash(this.droppableStore,(function(e){return e.component.prepareHits(),new OffsetTracker(e.el)}))},e.prototype.releaseHits=function(){var e=this.offsetTrackers;for(var t in e)e[t].destroy();this.offsetTrackers={}},e.prototype.queryHitForOffset=function(e,t){var n=this.droppableStore,r=this.offsetTrackers,o=null;for(var a in n){var i=n[a].component,l=r[a];if(l&&l.isWithinClipping(e,t)){var s=l.computeLeft(),u=l.computeTop(),c=e-s,d=t-u,f=l.origRect,p=f.right-f.left,h=f.bottom-f.top;if(c>=0&&c<p&&d>=0&&d<h){var v=i.queryHit(c,d,p,h);v&&rangeContainsRange(v.dateProfile.activeRange,v.dateSpan.range)&&(!o||v.layer>o.layer)&&(v.componentId=a,v.context=i.context,v.rect.left+=s,v.rect.right+=s,v.rect.top+=u,v.rect.bottom+=u,o=v)}}}return o},e}();function isHitsEqual(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&isDateSpansEqual(e.dateSpan,t.dateSpan)}function buildDatePointApiWithContext(e,t){for(var n={},r=0,o=t.pluginHooks.datePointTransforms;r<o.length;r++){var a=o[r];__assign$1(n,a(e,t))}return __assign$1(n,buildDatePointApi(e,t.dateEnv)),n}function buildDatePointApi(e,t){return{date:t.toDate(e.range.start),dateStr:t.formatIso(e.range.start,{omitTime:e.allDay}),allDay:e.allDay}}var DateClicking=function(e){function t(t){var n=e.call(this,t)||this;n.handlePointerDown=function(e){var t=n.dragging,r=e.origEvent.target;t.setIgnoreMove(!n.component.isValidDateDownEl(r))},n.handleDragEnd=function(e){var t=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,o=r.initialHit,a=r.finalHit;if(o&&a&&isHitsEqual(o,a)){var i=t.context,l=__assign$1(__assign$1({},buildDatePointApiWithContext(o.dateSpan,i)),{dayEl:o.dayEl,jsEvent:e.origEvent,view:i.viewApi||i.calendarApi.view});i.emitter.trigger("dateClick",l)}}},n.dragging=new FeaturefulElementDragging(t.el),n.dragging.autoScroller.isEnabled=!1;var r=n.hitDragging=new HitDragging(n.dragging,interactionSettingsToStore(t));return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("dragend",n.handleDragEnd),n}return __extends(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(Interaction),DateSelecting=function(e){function t(t){var n=e.call(this,t)||this;n.dragSelection=null,n.handlePointerDown=function(e){var t=n,r=t.component,o=t.dragging,a=r.context.options.selectable&&r.isValidDateDownEl(e.origEvent.target);o.setIgnoreMove(!a),o.delay=e.isTouch?getComponentTouchDelay$1(r):null},n.handleDragStart=function(e){n.component.context.calendarApi.unselect(e)},n.handleHitUpdate=function(e,t){var r=n.component.context,o=null,a=!1;if(e){var i=n.hitDragging.initialHit;e.componentId===i.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(i,e)||(o=joinHitsIntoSelection(i,e,r.pluginHooks.dateSelectionTransformers)),o&&isDateSelectionValid(o,e.dateProfile,r)||(a=!0,o=null)}o?r.dispatch({type:"SELECT_DATES",selection:o}):t||r.dispatch({type:"UNSELECT_DATES"}),a?disableCursor():enableCursor(),t||(n.dragSelection=o)},n.handlePointerUp=function(e){n.dragSelection&&(triggerDateSelect(n.dragSelection,e,n.component.context),n.dragSelection=null)};var r=t.component.context.options,o=n.dragging=new FeaturefulElementDragging(t.el);o.touchScrollAllowed=!1,o.minDistance=r.selectMinDistance||0,o.autoScroller.isEnabled=r.dragScroll;var a=n.hitDragging=new HitDragging(n.dragging,interactionSettingsToStore(t));return a.emitter.on("pointerdown",n.handlePointerDown),a.emitter.on("dragstart",n.handleDragStart),a.emitter.on("hitupdate",n.handleHitUpdate),a.emitter.on("pointerup",n.handlePointerUp),n}return __extends(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(Interaction);function getComponentTouchDelay$1(e){var t=e.context.options,n=t.selectLongPressDelay;return null==n&&(n=t.longPressDelay),n}function joinHitsIntoSelection(e,t,n){var r=e.dateSpan,o=t.dateSpan,a=[r.range.start,r.range.end,o.range.start,o.range.end];a.sort(compareNumbers);for(var i={},l=0,s=n;l<s.length;l++){var u=(0,s[l])(e,t);if(!1===u)return null;u&&__assign$1(i,u)}return i.range={start:a[0],end:a[3]},i.allDay=r.allDay,i}var EventDragging=function(e){function t(n){var r=e.call(this,n)||this;r.subjectEl=null,r.subjectSeg=null,r.isDragging=!1,r.eventRange=null,r.relevantEvents=null,r.receivingContext=null,r.validMutation=null,r.mutatedRelevantEvents=null,r.handlePointerDown=function(e){var t=e.origEvent.target,n=r,o=n.component,a=n.dragging,i=a.mirror,l=o.context.options,s=o.context;r.subjectEl=e.subjectEl;var u=r.subjectSeg=getElSeg(e.subjectEl),c=(r.eventRange=u.eventRange).instance.instanceId;r.relevantEvents=getRelevantEvents(s.getCurrentData().eventStore,c),a.minDistance=e.isTouch?0:l.eventDragMinDistance,a.delay=e.isTouch&&c!==o.props.eventSelection?getComponentTouchDelay(o):null,l.fixedMirrorParent?i.parentNode=l.fixedMirrorParent:i.parentNode=elementClosest(t,".fc"),i.revertDuration=l.dragRevertDuration;var d=o.isValidSegDownEl(t)&&!elementClosest(t,".fc-event-resizer");a.setIgnoreMove(!d),r.isDragging=d&&e.subjectEl.classList.contains("fc-event-draggable")},r.handleDragStart=function(e){var t=r.component.context,n=r.eventRange,o=n.instance.instanceId;e.isTouch?o!==r.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:o}):t.dispatch({type:"UNSELECT_EVENT"}),r.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:r.subjectEl,event:new EventApi(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},r.handleHitUpdate=function(e,t){if(r.isDragging){var n=r.relevantEvents,o=r.hitDragging.initialHit,a=r.component.context,i=null,l=null,s=null,u=!1,c={affectedEvents:n,mutatedEvents:createEmptyEventStore(),isEvent:!0};if(e){var d=(i=e.context).options;a===i||d.editable&&d.droppable?(l=computeEventMutation(o,e,i.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(s=applyMutationToEventStore(n,i.getCurrentData().eventUiBases,l,i),c.mutatedEvents=s,isInteractionValid(c,e.dateProfile,i)||(u=!0,l=null,s=null,c.mutatedEvents=createEmptyEventStore())):i=null}r.displayDrag(i,c),u?disableCursor():enableCursor(),t||(a===i&&isHitsEqual(o,e)&&(l=null),r.dragging.setMirrorNeedsRevert(!l),r.dragging.setMirrorIsVisible(!e||!getElRoot(r.subjectEl).querySelector(".fc-event-mirror")),r.receivingContext=i,r.validMutation=l,r.mutatedRelevantEvents=s)}},r.handlePointerUp=function(){r.isDragging||r.cleanup()},r.handleDragEnd=function(e){if(r.isDragging){var t=r.component.context,n=t.viewApi,o=r,a=o.receivingContext,i=o.validMutation,l=r.eventRange.def,s=r.eventRange.instance,u=new EventApi(t,l,s),c=r.relevantEvents,d=r.mutatedRelevantEvents,f=r.hitDragging.finalHit;if(r.clearDrag(),t.emitter.trigger("eventDragStop",{el:r.subjectEl,event:u,jsEvent:e.origEvent,view:n}),i){if(a===t){var p=new EventApi(t,d.defs[l.defId],s?d.instances[s.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:d});for(var h={oldEvent:u,event:p,relatedEvents:buildEventApis(d,t,s),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:c})}},v={},m=0,g=t.getCurrentData().pluginHooks.eventDropTransformers;m<g.length;m++){var y=g[m];__assign$1(v,y(i,t))}t.emitter.trigger("eventDrop",__assign$1(__assign$1(__assign$1({},h),v),{el:e.subjectEl,delta:i.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",h)}else if(a){var b={event:u,relatedEvents:buildEventApis(c,t,s),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:c})}};t.emitter.trigger("eventLeave",__assign$1(__assign$1({},b),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:c}),t.emitter.trigger("eventRemove",b);var w=d.defs[l.defId],E=d.instances[s.instanceId],S=new EventApi(a,w,E);a.dispatch({type:"MERGE_EVENTS",eventStore:d});var k={event:S,relatedEvents:buildEventApis(d,a,E),revert:function(){a.dispatch({type:"REMOVE_EVENTS",eventStore:d})}};a.emitter.trigger("eventAdd",k),e.isTouch&&a.dispatch({type:"SELECT_EVENT",eventInstanceId:s.instanceId}),a.emitter.trigger("drop",__assign$1(__assign$1({},buildDatePointApiWithContext(f.dateSpan,a)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:f.context.viewApi})),a.emitter.trigger("eventReceive",__assign$1(__assign$1({},k),{draggedEl:e.subjectEl,view:f.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}r.cleanup()};var o=r.component.context.options,a=r.dragging=new FeaturefulElementDragging(n.el);a.pointer.selector=t.SELECTOR,a.touchScrollAllowed=!1,a.autoScroller.isEnabled=o.dragScroll;var i=r.hitDragging=new HitDragging(r.dragging,interactionSettingsStore);return i.useSubjectCenter=n.useEventCenter,i.emitter.on("pointerdown",r.handlePointerDown),i.emitter.on("dragstart",r.handleDragStart),i.emitter.on("hitupdate",r.handleHitUpdate),i.emitter.on("pointerup",r.handlePointerUp),i.emitter.on("dragend",r.handleDragEnd),r}return __extends(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.displayDrag=function(e,t){var n=this.component.context,r=this.receivingContext;r&&r!==e&&(r===n?r.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:createEmptyEventStore(),isEvent:!0}}):r.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},t.prototype.clearDrag=function(){var e=this.component.context,t=this.receivingContext;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})},t.prototype.cleanup=function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null},t.SELECTOR=".fc-event-draggable, .fc-event-resizable",t}(Interaction);function computeEventMutation(e,t,n){var r=e.dateSpan,o=t.dateSpan,a=r.range.start,i=o.range.start,l={};r.allDay!==o.allDay&&(l.allDay=o.allDay,l.hasEnd=t.context.options.allDayMaintainDuration,o.allDay&&(a=startOfDay(a)));var s=diffDates(a,i,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);s.milliseconds&&(l.allDay=!1);for(var u={datesDelta:s,standardProps:l},c=0,d=n;c<d.length;c++){(0,d[c])(u,e,t)}return u}function getComponentTouchDelay(e){var t=e.context.options,n=t.eventLongPressDelay;return null==n&&(n=t.longPressDelay),n}var EventResizing=function(e){function t(t){var n=e.call(this,t)||this;n.draggingSegEl=null,n.draggingSeg=null,n.eventRange=null,n.relevantEvents=null,n.validMutation=null,n.mutatedRelevantEvents=null,n.handlePointerDown=function(e){var t=n.component,r=getElSeg(n.querySegEl(e)),o=n.eventRange=r.eventRange;n.dragging.minDistance=t.context.options.eventDragMinDistance,n.dragging.setIgnoreMove(!n.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&n.component.props.eventSelection!==o.instance.instanceId)},n.handleDragStart=function(e){var t=n.component.context,r=n.eventRange;n.relevantEvents=getRelevantEvents(t.getCurrentData().eventStore,n.eventRange.instance.instanceId);var o=n.querySegEl(e);n.draggingSegEl=o,n.draggingSeg=getElSeg(o),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:o,event:new EventApi(t,r.def,r.instance),jsEvent:e.origEvent,view:t.viewApi})},n.handleHitUpdate=function(e,t,r){var o=n.component.context,a=n.relevantEvents,i=n.hitDragging.initialHit,l=n.eventRange.instance,s=null,u=null,c=!1,d={affectedEvents:a,mutatedEvents:createEmptyEventStore(),isEvent:!0};e&&(e.componentId===i.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(i,e)||(s=computeMutation(i,e,r.subjectEl.classList.contains("fc-event-resizer-start"),l.range)));s&&(u=applyMutationToEventStore(a,o.getCurrentData().eventUiBases,s,o),d.mutatedEvents=u,isInteractionValid(d,e.dateProfile,o)||(c=!0,s=null,u=null,d.mutatedEvents=null)),u?o.dispatch({type:"SET_EVENT_RESIZE",state:d}):o.dispatch({type:"UNSET_EVENT_RESIZE"}),c?disableCursor():enableCursor(),t||(s&&isHitsEqual(i,e)&&(s=null),n.validMutation=s,n.mutatedRelevantEvents=u)},n.handleDragEnd=function(e){var t=n.component.context,r=n.eventRange.def,o=n.eventRange.instance,a=new EventApi(t,r,o),i=n.relevantEvents,l=n.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:n.draggingSegEl,event:a,jsEvent:e.origEvent,view:t.viewApi}),n.validMutation){var s=new EventApi(t,l.defs[r.defId],o?l.instances[o.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:l});var u={oldEvent:a,event:s,relatedEvents:buildEventApis(l,t,o),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:i})}};t.emitter.trigger("eventResize",__assign$1(__assign$1({},u),{el:n.draggingSegEl,startDelta:n.validMutation.startDelta||createDuration(0),endDelta:n.validMutation.endDelta||createDuration(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",u)}else t.emitter.trigger("_noEventResize");n.draggingSeg=null,n.relevantEvents=null,n.validMutation=null};var r=t.component,o=n.dragging=new FeaturefulElementDragging(t.el);o.pointer.selector=".fc-event-resizer",o.touchScrollAllowed=!1,o.autoScroller.isEnabled=r.context.options.dragScroll;var a=n.hitDragging=new HitDragging(n.dragging,interactionSettingsToStore(t));return a.emitter.on("pointerdown",n.handlePointerDown),a.emitter.on("dragstart",n.handleDragStart),a.emitter.on("hitupdate",n.handleHitUpdate),a.emitter.on("dragend",n.handleDragEnd),n}return __extends(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySegEl=function(e){return elementClosest(e.subjectEl,".fc-event")},t}(Interaction);function computeMutation(e,t,n,r){var o=e.context.dateEnv,a=diffDates(e.dateSpan.range.start,t.dateSpan.range.start,o,e.largeUnit);if(n){if(o.add(r.start,a)<r.end)return{startDelta:a}}else if(o.add(r.end,a)>r.start)return{endDelta:a};return null}var UnselectAuto=function(){function e(e){var t=this;this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(e){e.jsEvent&&(t.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(e){var n=t.context.options.unselectCancel,r=getEventTargetViaRoot(e.origEvent);t.matchesCancel=!!elementClosest(r,n),t.matchesEvent=!!elementClosest(r,EventDragging.SELECTOR)},this.onDocumentPointerUp=function(e){var n=t.context,r=t.documentPointer,o=n.getCurrentData();if(!r.wasTouchScroll){if(o.dateSelection&&!t.isRecentPointerDateSelect){var a=n.options.unselectAuto;!a||a&&t.matchesCancel||n.calendarApi.unselect(e)}o.eventSelection&&!t.matchesEvent&&n.dispatch({type:"UNSELECT_EVENT"})}t.isRecentPointerDateSelect=!1};var n=this.documentPointer=new PointerDragging(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerdown",this.onDocumentPointerDown),n.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}return e.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()},e}(),OPTION_REFINERS$1={fixedMirrorParent:identity},LISTENER_REFINERS={dateClick:identity,eventDragStart:identity,eventDragStop:identity,eventDrop:identity,eventResizeStart:identity,eventResizeStop:identity,eventResize:identity,drop:identity,eventReceive:identity,eventLeave:identity};config.dataAttrPrefix="",function(e){function t(t){var n=e.call(this,t)||this;n.shouldIgnoreMove=!1,n.mirrorSelector="",n.currentMirrorEl=null,n.handlePointerDown=function(e){n.emitter.trigger("pointerdown",e),n.shouldIgnoreMove||n.emitter.trigger("dragstart",e)},n.handlePointerMove=function(e){n.shouldIgnoreMove||n.emitter.trigger("dragmove",e)},n.handlePointerUp=function(e){n.emitter.trigger("pointerup",e),n.shouldIgnoreMove||n.emitter.trigger("dragend",e)};var r=n.pointer=new PointerDragging(t);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}__extends(t,e),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.setIgnoreMove=function(e){this.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){if(e)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{var t=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;t&&(this.currentMirrorEl=t,t.style.visibility="hidden")}}}(ElementDragging);var main$1=createPlugin({componentInteractions:[DateClicking,DateSelecting,EventDragging,EventResizing],calendarInteractions:[UnselectAuto],elementDraggingImpl:FeaturefulElementDragging,optionRefiners:OPTION_REFINERS$1,listenerRefiners:LISTENER_REFINERS}),ListViewHeaderRow=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={textId:getUniqueDomId()},t}return __extends(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.dateEnv,r=e.options,o=e.viewApi,a=this.props,i=a.cellId,l=a.dayDate,s=a.todayRange,u=this.state.textId,c=getDateMeta(l,s),d=r.listDayFormat?n.format(l,r.listDayFormat):"",f=r.listDaySideFormat?n.format(l,r.listDaySideFormat):"",p=__assign$1({date:n.toDate(l),view:o,textId:u,text:d,sideText:f,navLinkAttrs:buildNavLinkAttrs(this.context,l),sideNavLinkAttrs:buildNavLinkAttrs(this.context,l,"day",!1)},c),h=["fc-list-day"].concat(getDayClassNames(c,t));return createElement(RenderHook,{hookProps:p,classNames:r.dayHeaderClassNames,content:r.dayHeaderContent,defaultContent:renderInnerContent,didMount:r.dayHeaderDidMount,willUnmount:r.dayHeaderWillUnmount},(function(e,n,r,o){return createElement("tr",{ref:e,className:h.concat(n).join(" "),"data-date":formatDayString(l)},createElement("th",{scope:"colgroup",colSpan:3,id:i,"aria-labelledby":u},createElement("div",{className:"fc-list-day-cushion "+t.getClass("tableCellShaded"),ref:r},o)))}))},t}(BaseComponent);
67
+ config$1.touchMouseIgnoreWait=500;var ignoreMouseDepth=0,listenerCnt=0,isWindowTouchMoveCancelled=!1,PointerDragging=function(){function e(e){var t=this;this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=function(e){if(!t.shouldIgnoreMouse()&&isPrimaryMouseButton(e)&&t.tryStart(e)){var n=t.createEventFromMouse(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n),t.shouldIgnoreMove||document.addEventListener("mousemove",t.handleMouseMove),document.addEventListener("mouseup",t.handleMouseUp)}},this.handleMouseMove=function(e){var n=t.createEventFromMouse(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleMouseUp=function(e){document.removeEventListener("mousemove",t.handleMouseMove),document.removeEventListener("mouseup",t.handleMouseUp),t.emitter.trigger("pointerup",t.createEventFromMouse(e)),t.cleanup()},this.handleTouchStart=function(e){if(t.tryStart(e)){t.isTouchDragging=!0;var n=t.createEventFromTouch(e,!0);t.emitter.trigger("pointerdown",n),t.initScrollWatch(n);var r=e.target;t.shouldIgnoreMove||r.addEventListener("touchmove",t.handleTouchMove),r.addEventListener("touchend",t.handleTouchEnd),r.addEventListener("touchcancel",t.handleTouchEnd),window.addEventListener("scroll",t.handleTouchScroll,!0)}},this.handleTouchMove=function(e){var n=t.createEventFromTouch(e);t.recordCoords(n),t.emitter.trigger("pointermove",n)},this.handleTouchEnd=function(e){if(t.isDragging){var n=e.target;n.removeEventListener("touchmove",t.handleTouchMove),n.removeEventListener("touchend",t.handleTouchEnd),n.removeEventListener("touchcancel",t.handleTouchEnd),window.removeEventListener("scroll",t.handleTouchScroll,!0),t.emitter.trigger("pointerup",t.createEventFromTouch(e)),t.cleanup(),t.isTouchDragging=!1,startIgnoringMouse()}},this.handleTouchScroll=function(){t.wasTouchScroll=!0},this.handleScroll=function(e){if(!t.shouldIgnoreMove){var n=window.pageXOffset-t.prevScrollX+t.prevPageX,r=window.pageYOffset-t.prevScrollY+t.prevPageY;t.emitter.trigger("pointermove",{origEvent:e,isTouch:t.isTouchDragging,subjectEl:t.subjectEl,pageX:n,pageY:r,deltaX:n-t.origPageX,deltaY:r-t.origPageY})}},this.containerEl=e,this.emitter=new Emitter,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),listenerCreated()}return e.prototype.destroy=function(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),listenerDestroyed()},e.prototype.tryStart=function(e){var t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!elementClosest(n,this.handleSelector))&&(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,!0)},e.prototype.cleanup=function(){isWindowTouchMoveCancelled=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()},e.prototype.querySubjectEl=function(e){return this.selector?elementClosest(e.target,this.selector):this.containerEl},e.prototype.shouldIgnoreMouse=function(){return ignoreMouseDepth||this.isTouchDragging},e.prototype.cancelTouchScroll=function(){this.isDragging&&(isWindowTouchMoveCancelled=!0)},e.prototype.initScrollWatch=function(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))},e.prototype.recordCoords=function(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)},e.prototype.destroyScrollWatch=function(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)},e.prototype.createEventFromMouse=function(e,t){var n=0,r=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,r=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:r}},e.prototype.createEventFromTouch=function(e,t){var n,r,a=e.touches,o=0,i=0;return a&&a.length?(n=a[0].pageX,r=a[0].pageY):(n=e.pageX,r=e.pageY),t?(this.origPageX=n,this.origPageY=r):(o=n-this.origPageX,i=r-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:r,deltaX:o,deltaY:i}},e}();function isPrimaryMouseButton(e){return 0===e.button&&!e.ctrlKey}function startIgnoringMouse(){ignoreMouseDepth+=1,setTimeout((function(){ignoreMouseDepth-=1}),config$1.touchMouseIgnoreWait)}function listenerCreated(){1===(listenerCnt+=1)&&window.addEventListener("touchmove",onWindowTouchMove,{passive:!1})}function listenerDestroyed(){(listenerCnt-=1)||window.removeEventListener("touchmove",onWindowTouchMove,{passive:!1})}function onWindowTouchMove(e){isWindowTouchMoveCancelled&&e.preventDefault()}var ElementMirror=function(){function e(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}return e.prototype.start=function(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()},e.prototype.handleMove=function(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()},e.prototype.setIsVisible=function(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)},e.prototype.stop=function(e,t){var n=this,r=function(){n.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(r,this.revertDuration):setTimeout(r,0)},e.prototype.doRevertAnimation=function(e,t){var n=this.mirrorEl,r=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",applyStyle(n,{left:r.left,top:r.top}),whenTransitionDone(n,(function(){n.style.transition="",e()}))},e.prototype.cleanup=function(){this.mirrorEl&&(removeElement(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null},e.prototype.updateElPosition=function(){this.sourceEl&&this.isVisible&&applyStyle(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})},e.prototype.getMirrorEl=function(){var e=this.sourceElRect,t=this.mirrorEl;return t||((t=this.mirrorEl=this.sourceEl.cloneNode(!0)).classList.add("fc-unselectable"),t.classList.add("fc-event-dragging"),applyStyle(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t},e}(),ScrollGeomCache=function(e){function t(t,n){var r=e.call(this)||this;return r.handleScroll=function(){r.scrollTop=r.scrollController.getScrollTop(),r.scrollLeft=r.scrollController.getScrollLeft(),r.handleScrollChange()},r.scrollController=t,r.doesListening=n,r.scrollTop=r.origScrollTop=t.getScrollTop(),r.scrollLeft=r.origScrollLeft=t.getScrollLeft(),r.scrollWidth=t.getScrollWidth(),r.scrollHeight=t.getScrollHeight(),r.clientWidth=t.getClientWidth(),r.clientHeight=t.getClientHeight(),r.clientRect=r.computeClientRect(),r.doesListening&&r.getEventTarget().addEventListener("scroll",r.handleScroll),r}return __extends(t,e),t.prototype.destroy=function(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)},t.prototype.getScrollTop=function(){return this.scrollTop},t.prototype.getScrollLeft=function(){return this.scrollLeft},t.prototype.setScrollTop=function(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())},t.prototype.setScrollLeft=function(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())},t.prototype.getClientWidth=function(){return this.clientWidth},t.prototype.getClientHeight=function(){return this.clientHeight},t.prototype.getScrollWidth=function(){return this.scrollWidth},t.prototype.getScrollHeight=function(){return this.scrollHeight},t.prototype.handleScrollChange=function(){},t}(ScrollController),ElementScrollGeomCache=function(e){function t(t,n){return e.call(this,new ElementScrollController(t),n)||this}return __extends(t,e),t.prototype.getEventTarget=function(){return this.scrollController.el},t.prototype.computeClientRect=function(){return computeInnerRect(this.scrollController.el)},t}(ScrollGeomCache),WindowScrollGeomCache=function(e){function t(t){return e.call(this,new WindowScrollController,t)||this}return __extends(t,e),t.prototype.getEventTarget=function(){return window},t.prototype.computeClientRect=function(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}},t.prototype.handleScrollChange=function(){this.clientRect=this.computeClientRect()},t}(ScrollGeomCache),getTime="function"==typeof performance?performance.now:Date.now,AutoScroller=function(){function e(){var e=this;this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=function(){if(e.isAnimating){var t=e.computeBestEdge(e.pointerScreenX+window.pageXOffset,e.pointerScreenY+window.pageYOffset);if(t){var n=getTime();e.handleSide(t,(n-e.msSinceRequest)/1e3),e.requestAnimation(n)}else e.isAnimating=!1}}}return e.prototype.start=function(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))},e.prototype.handleMove=function(e,t){if(this.isEnabled){var n=e-window.pageXOffset,r=t-window.pageYOffset,a=null===this.pointerScreenY?0:r-this.pointerScreenY,o=null===this.pointerScreenX?0:n-this.pointerScreenX;a<0?this.everMovedUp=!0:a>0&&(this.everMovedDown=!0),o<0?this.everMovedLeft=!0:o>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=r,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(getTime()))}},e.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}this.scrollCaches=null}},e.prototype.requestAnimation=function(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)},e.prototype.handleSide=function(e,t){var n=e.scrollCache,r=this.edgeThreshold,a=r-e.distance,o=a*a/(r*r)*this.maxVelocity*t,i=1;switch(e.name){case"left":i=-1;case"right":n.setScrollLeft(n.getScrollLeft()+o*i);break;case"top":i=-1;case"bottom":n.setScrollTop(n.getScrollTop()+o*i)}},e.prototype.computeBestEdge=function(e,t){for(var n=this.edgeThreshold,r=null,a=0,o=this.scrollCaches||[];a<o.length;a++){var i=o[a],l=i.clientRect,s=e-l.left,u=l.right-e,c=t-l.top,d=l.bottom-t;s>=0&&u>=0&&c>=0&&d>=0&&(c<=n&&this.everMovedUp&&i.canScrollUp()&&(!r||r.distance>c)&&(r={scrollCache:i,name:"top",distance:c}),d<=n&&this.everMovedDown&&i.canScrollDown()&&(!r||r.distance>d)&&(r={scrollCache:i,name:"bottom",distance:d}),s<=n&&this.everMovedLeft&&i.canScrollLeft()&&(!r||r.distance>s)&&(r={scrollCache:i,name:"left",distance:s}),u<=n&&this.everMovedRight&&i.canScrollRight()&&(!r||r.distance>u)&&(r={scrollCache:i,name:"right",distance:u}))}return r},e.prototype.buildCaches=function(e){return this.queryScrollEls(e).map((function(e){return e===window?new WindowScrollGeomCache(!1):new ElementScrollGeomCache(e,!1)}))},e.prototype.queryScrollEls=function(e){for(var t=[],n=0,r=this.scrollQuery;n<r.length;n++){var a=r[n];"object"==typeof a?t.push(a):t.push.apply(t,Array.prototype.slice.call(getElRoot(e).querySelectorAll(a)))}return t},e}(),FeaturefulElementDragging=function(e){function t(t,n){var r=e.call(this,t)||this;r.containerEl=t,r.delay=null,r.minDistance=0,r.touchScrollAllowed=!0,r.mirrorNeedsRevert=!1,r.isInteracting=!1,r.isDragging=!1,r.isDelayEnded=!1,r.isDistanceSurpassed=!1,r.delayTimeoutId=null,r.onPointerDown=function(e){r.isDragging||(r.isInteracting=!0,r.isDelayEnded=!1,r.isDistanceSurpassed=!1,preventSelection(document.body),preventContextMenu(document.body),e.isTouch||e.origEvent.preventDefault(),r.emitter.trigger("pointerdown",e),r.isInteracting&&!r.pointer.shouldIgnoreMove&&(r.mirror.setIsVisible(!1),r.mirror.start(e.subjectEl,e.pageX,e.pageY),r.startDelay(e),r.minDistance||r.handleDistanceSurpassed(e)))},r.onPointerMove=function(e){if(r.isInteracting){if(r.emitter.trigger("pointermove",e),!r.isDistanceSurpassed){var t=r.minDistance,n=e.deltaX,a=e.deltaY;n*n+a*a>=t*t&&r.handleDistanceSurpassed(e)}r.isDragging&&("scroll"!==e.origEvent.type&&(r.mirror.handleMove(e.pageX,e.pageY),r.autoScroller.handleMove(e.pageX,e.pageY)),r.emitter.trigger("dragmove",e))}},r.onPointerUp=function(e){r.isInteracting&&(r.isInteracting=!1,allowSelection(document.body),allowContextMenu(document.body),r.emitter.trigger("pointerup",e),r.isDragging&&(r.autoScroller.stop(),r.tryStopDrag(e)),r.delayTimeoutId&&(clearTimeout(r.delayTimeoutId),r.delayTimeoutId=null))};var a=r.pointer=new PointerDragging(t);return a.emitter.on("pointerdown",r.onPointerDown),a.emitter.on("pointermove",r.onPointerMove),a.emitter.on("pointerup",r.onPointerUp),n&&(a.selector=n),r.mirror=new ElementMirror,r.autoScroller=new AutoScroller,r}return __extends(t,e),t.prototype.destroy=function(){this.pointer.destroy(),this.onPointerUp({})},t.prototype.startDelay=function(e){var t=this;"number"==typeof this.delay?this.delayTimeoutId=setTimeout((function(){t.delayTimeoutId=null,t.handleDelayEnd(e)}),this.delay):this.handleDelayEnd(e)},t.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},t.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},t.prototype.tryStartDrag=function(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))},t.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},t.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger("dragend",e)},t.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},t.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},t.prototype.setAutoScrollEnabled=function(e){this.autoScroller.isEnabled=e},t}(ElementDragging),OffsetTracker=function(){function e(e){this.origRect=computeRect(e),this.scrollCaches=getClippingParents(e).map((function(e){return new ElementScrollGeomCache(e,!0)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e<t.length;e++){t[e].destroy()}},e.prototype.computeLeft=function(){for(var e=this.origRect.left,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollLeft-r.getScrollLeft()}return e},e.prototype.computeTop=function(){for(var e=this.origRect.top,t=0,n=this.scrollCaches;t<n.length;t++){var r=n[t];e+=r.origScrollTop-r.getScrollTop()}return e},e.prototype.isWithinClipping=function(e,t){for(var n={left:e,top:t},r=0,a=this.scrollCaches;r<a.length;r++){var o=a[r];if(!isIgnoredClipping(o.getEventTarget())&&!pointInsideRect(n,o.clientRect))return!1}return!0},e}();function isIgnoredClipping(e){var t=e.tagName;return"HTML"===t||"BODY"===t}var HitDragging=function(){function e(e,t){var n=this;this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=function(e){var t=n.dragging;n.initialHit=null,n.movingHit=null,n.finalHit=null,n.prepareHits(),n.processFirstCoord(e),n.initialHit||!n.requireInitial?(t.setIgnoreMove(!1),n.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=function(e){n.emitter.trigger("dragstart",e),n.handleMove(e,!0)},this.handleDragMove=function(e){n.emitter.trigger("dragmove",e),n.handleMove(e)},this.handlePointerUp=function(e){n.releaseHits(),n.emitter.trigger("pointerup",e)},this.handleDragEnd=function(e){n.movingHit&&n.emitter.trigger("hitupdate",null,!0,e),n.finalHit=n.movingHit,n.movingHit=null,n.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new Emitter}return e.prototype.processFirstCoord=function(e){var t,n={left:e.pageX,top:e.pageY},r=n,a=e.subjectEl;a instanceof HTMLElement&&(r=constrainPoint(r,t=computeRect(a)));var o=this.initialHit=this.queryHitForOffset(r.left,r.top);if(o){if(this.useSubjectCenter&&t){var i=intersectRects(t,o.rect);i&&(r=getRectCenter(i))}this.coordAdjust=diffPoints(r,n)}else this.coordAdjust={left:0,top:0}},e.prototype.handleMove=function(e,t){var n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&isHitsEqual(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))},e.prototype.prepareHits=function(){this.offsetTrackers=mapHash(this.droppableStore,(function(e){return e.component.prepareHits(),new OffsetTracker(e.el)}))},e.prototype.releaseHits=function(){var e=this.offsetTrackers;for(var t in e)e[t].destroy();this.offsetTrackers={}},e.prototype.queryHitForOffset=function(e,t){var n=this.droppableStore,r=this.offsetTrackers,a=null;for(var o in n){var i=n[o].component,l=r[o];if(l&&l.isWithinClipping(e,t)){var s=l.computeLeft(),u=l.computeTop(),c=e-s,d=t-u,f=l.origRect,p=f.right-f.left,h=f.bottom-f.top;if(c>=0&&c<p&&d>=0&&d<h){var m=i.queryHit(c,d,p,h);m&&rangeContainsRange(m.dateProfile.activeRange,m.dateSpan.range)&&(!a||m.layer>a.layer)&&(m.componentId=o,m.context=i.context,m.rect.left+=s,m.rect.right+=s,m.rect.top+=u,m.rect.bottom+=u,a=m)}}}return a},e}();function isHitsEqual(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&isDateSpansEqual(e.dateSpan,t.dateSpan)}function buildDatePointApiWithContext(e,t){for(var n={},r=0,a=t.pluginHooks.datePointTransforms;r<a.length;r++){var o=a[r];__assign$1(n,o(e,t))}return __assign$1(n,buildDatePointApi(e,t.dateEnv)),n}function buildDatePointApi(e,t){return{date:t.toDate(e.range.start),dateStr:t.formatIso(e.range.start,{omitTime:e.allDay}),allDay:e.allDay}}var DateClicking=function(e){function t(t){var n=e.call(this,t)||this;n.handlePointerDown=function(e){var t=n.dragging,r=e.origEvent.target;t.setIgnoreMove(!n.component.isValidDateDownEl(r))},n.handleDragEnd=function(e){var t=n.component;if(!n.dragging.pointer.wasTouchScroll){var r=n.hitDragging,a=r.initialHit,o=r.finalHit;if(a&&o&&isHitsEqual(a,o)){var i=t.context,l=__assign$1(__assign$1({},buildDatePointApiWithContext(a.dateSpan,i)),{dayEl:a.dayEl,jsEvent:e.origEvent,view:i.viewApi||i.calendarApi.view});i.emitter.trigger("dateClick",l)}}},n.dragging=new FeaturefulElementDragging(t.el),n.dragging.autoScroller.isEnabled=!1;var r=n.hitDragging=new HitDragging(n.dragging,interactionSettingsToStore(t));return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("dragend",n.handleDragEnd),n}return __extends(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(Interaction),DateSelecting=function(e){function t(t){var n=e.call(this,t)||this;n.dragSelection=null,n.handlePointerDown=function(e){var t=n,r=t.component,a=t.dragging,o=r.context.options.selectable&&r.isValidDateDownEl(e.origEvent.target);a.setIgnoreMove(!o),a.delay=e.isTouch?getComponentTouchDelay$1(r):null},n.handleDragStart=function(e){n.component.context.calendarApi.unselect(e)},n.handleHitUpdate=function(e,t){var r=n.component.context,a=null,o=!1;if(e){var i=n.hitDragging.initialHit;e.componentId===i.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(i,e)||(a=joinHitsIntoSelection(i,e,r.pluginHooks.dateSelectionTransformers)),a&&isDateSelectionValid(a,e.dateProfile,r)||(o=!0,a=null)}a?r.dispatch({type:"SELECT_DATES",selection:a}):t||r.dispatch({type:"UNSELECT_DATES"}),o?disableCursor():enableCursor(),t||(n.dragSelection=a)},n.handlePointerUp=function(e){n.dragSelection&&(triggerDateSelect(n.dragSelection,e,n.component.context),n.dragSelection=null)};var r=t.component.context.options,a=n.dragging=new FeaturefulElementDragging(t.el);a.touchScrollAllowed=!1,a.minDistance=r.selectMinDistance||0,a.autoScroller.isEnabled=r.dragScroll;var o=n.hitDragging=new HitDragging(n.dragging,interactionSettingsToStore(t));return o.emitter.on("pointerdown",n.handlePointerDown),o.emitter.on("dragstart",n.handleDragStart),o.emitter.on("hitupdate",n.handleHitUpdate),o.emitter.on("pointerup",n.handlePointerUp),n}return __extends(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t}(Interaction);function getComponentTouchDelay$1(e){var t=e.context.options,n=t.selectLongPressDelay;return null==n&&(n=t.longPressDelay),n}function joinHitsIntoSelection(e,t,n){var r=e.dateSpan,a=t.dateSpan,o=[r.range.start,r.range.end,a.range.start,a.range.end];o.sort(compareNumbers);for(var i={},l=0,s=n;l<s.length;l++){var u=(0,s[l])(e,t);if(!1===u)return null;u&&__assign$1(i,u)}return i.range={start:o[0],end:o[3]},i.allDay=r.allDay,i}var EventDragging=function(e){function t(n){var r=e.call(this,n)||this;r.subjectEl=null,r.subjectSeg=null,r.isDragging=!1,r.eventRange=null,r.relevantEvents=null,r.receivingContext=null,r.validMutation=null,r.mutatedRelevantEvents=null,r.handlePointerDown=function(e){var t=e.origEvent.target,n=r,a=n.component,o=n.dragging,i=o.mirror,l=a.context.options,s=a.context;r.subjectEl=e.subjectEl;var u=r.subjectSeg=getElSeg(e.subjectEl),c=(r.eventRange=u.eventRange).instance.instanceId;r.relevantEvents=getRelevantEvents(s.getCurrentData().eventStore,c),o.minDistance=e.isTouch?0:l.eventDragMinDistance,o.delay=e.isTouch&&c!==a.props.eventSelection?getComponentTouchDelay(a):null,l.fixedMirrorParent?i.parentNode=l.fixedMirrorParent:i.parentNode=elementClosest(t,".fc"),i.revertDuration=l.dragRevertDuration;var d=a.isValidSegDownEl(t)&&!elementClosest(t,".fc-event-resizer");o.setIgnoreMove(!d),r.isDragging=d&&e.subjectEl.classList.contains("fc-event-draggable")},r.handleDragStart=function(e){var t=r.component.context,n=r.eventRange,a=n.instance.instanceId;e.isTouch?a!==r.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:a}):t.dispatch({type:"UNSELECT_EVENT"}),r.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:r.subjectEl,event:new EventApi(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},r.handleHitUpdate=function(e,t){if(r.isDragging){var n=r.relevantEvents,a=r.hitDragging.initialHit,o=r.component.context,i=null,l=null,s=null,u=!1,c={affectedEvents:n,mutatedEvents:createEmptyEventStore(),isEvent:!0};if(e){var d=(i=e.context).options;o===i||d.editable&&d.droppable?(l=computeEventMutation(a,e,i.getCurrentData().pluginHooks.eventDragMutationMassagers))&&(s=applyMutationToEventStore(n,i.getCurrentData().eventUiBases,l,i),c.mutatedEvents=s,isInteractionValid(c,e.dateProfile,i)||(u=!0,l=null,s=null,c.mutatedEvents=createEmptyEventStore())):i=null}r.displayDrag(i,c),u?disableCursor():enableCursor(),t||(o===i&&isHitsEqual(a,e)&&(l=null),r.dragging.setMirrorNeedsRevert(!l),r.dragging.setMirrorIsVisible(!e||!getElRoot(r.subjectEl).querySelector(".fc-event-mirror")),r.receivingContext=i,r.validMutation=l,r.mutatedRelevantEvents=s)}},r.handlePointerUp=function(){r.isDragging||r.cleanup()},r.handleDragEnd=function(e){if(r.isDragging){var t=r.component.context,n=t.viewApi,a=r,o=a.receivingContext,i=a.validMutation,l=r.eventRange.def,s=r.eventRange.instance,u=new EventApi(t,l,s),c=r.relevantEvents,d=r.mutatedRelevantEvents,f=r.hitDragging.finalHit;if(r.clearDrag(),t.emitter.trigger("eventDragStop",{el:r.subjectEl,event:u,jsEvent:e.origEvent,view:n}),i){if(o===t){var p=new EventApi(t,d.defs[l.defId],s?d.instances[s.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:d});for(var h={oldEvent:u,event:p,relatedEvents:buildEventApis(d,t,s),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:c})}},m={},v=0,g=t.getCurrentData().pluginHooks.eventDropTransformers;v<g.length;v++){var y=g[v];__assign$1(m,y(i,t))}t.emitter.trigger("eventDrop",__assign$1(__assign$1(__assign$1({},h),m),{el:e.subjectEl,delta:i.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",h)}else if(o){var b={event:u,relatedEvents:buildEventApis(c,t,s),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:c})}};t.emitter.trigger("eventLeave",__assign$1(__assign$1({},b),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:c}),t.emitter.trigger("eventRemove",b);var w=d.defs[l.defId],S=d.instances[s.instanceId],E=new EventApi(o,w,S);o.dispatch({type:"MERGE_EVENTS",eventStore:d});var _={event:E,relatedEvents:buildEventApis(d,o,S),revert:function(){o.dispatch({type:"REMOVE_EVENTS",eventStore:d})}};o.emitter.trigger("eventAdd",_),e.isTouch&&o.dispatch({type:"SELECT_EVENT",eventInstanceId:s.instanceId}),o.emitter.trigger("drop",__assign$1(__assign$1({},buildDatePointApiWithContext(f.dateSpan,o)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:f.context.viewApi})),o.emitter.trigger("eventReceive",__assign$1(__assign$1({},_),{draggedEl:e.subjectEl,view:f.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}r.cleanup()};var a=r.component.context.options,o=r.dragging=new FeaturefulElementDragging(n.el);o.pointer.selector=t.SELECTOR,o.touchScrollAllowed=!1,o.autoScroller.isEnabled=a.dragScroll;var i=r.hitDragging=new HitDragging(r.dragging,interactionSettingsStore);return i.useSubjectCenter=n.useEventCenter,i.emitter.on("pointerdown",r.handlePointerDown),i.emitter.on("dragstart",r.handleDragStart),i.emitter.on("hitupdate",r.handleHitUpdate),i.emitter.on("pointerup",r.handlePointerUp),i.emitter.on("dragend",r.handleDragEnd),r}return __extends(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.displayDrag=function(e,t){var n=this.component.context,r=this.receivingContext;r&&r!==e&&(r===n?r.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:createEmptyEventStore(),isEvent:!0}}):r.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})},t.prototype.clearDrag=function(){var e=this.component.context,t=this.receivingContext;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})},t.prototype.cleanup=function(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null},t.SELECTOR=".fc-event-draggable, .fc-event-resizable",t}(Interaction);function computeEventMutation(e,t,n){var r=e.dateSpan,a=t.dateSpan,o=r.range.start,i=a.range.start,l={};r.allDay!==a.allDay&&(l.allDay=a.allDay,l.hasEnd=t.context.options.allDayMaintainDuration,a.allDay&&(o=startOfDay(o)));var s=diffDates(o,i,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);s.milliseconds&&(l.allDay=!1);for(var u={datesDelta:s,standardProps:l},c=0,d=n;c<d.length;c++){(0,d[c])(u,e,t)}return u}function getComponentTouchDelay(e){var t=e.context.options,n=t.eventLongPressDelay;return null==n&&(n=t.longPressDelay),n}var EventResizing=function(e){function t(t){var n=e.call(this,t)||this;n.draggingSegEl=null,n.draggingSeg=null,n.eventRange=null,n.relevantEvents=null,n.validMutation=null,n.mutatedRelevantEvents=null,n.handlePointerDown=function(e){var t=n.component,r=getElSeg(n.querySegEl(e)),a=n.eventRange=r.eventRange;n.dragging.minDistance=t.context.options.eventDragMinDistance,n.dragging.setIgnoreMove(!n.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&n.component.props.eventSelection!==a.instance.instanceId)},n.handleDragStart=function(e){var t=n.component.context,r=n.eventRange;n.relevantEvents=getRelevantEvents(t.getCurrentData().eventStore,n.eventRange.instance.instanceId);var a=n.querySegEl(e);n.draggingSegEl=a,n.draggingSeg=getElSeg(a),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:a,event:new EventApi(t,r.def,r.instance),jsEvent:e.origEvent,view:t.viewApi})},n.handleHitUpdate=function(e,t,r){var a=n.component.context,o=n.relevantEvents,i=n.hitDragging.initialHit,l=n.eventRange.instance,s=null,u=null,c=!1,d={affectedEvents:o,mutatedEvents:createEmptyEventStore(),isEvent:!0};e&&(e.componentId===i.componentId&&n.isHitComboAllowed&&!n.isHitComboAllowed(i,e)||(s=computeMutation(i,e,r.subjectEl.classList.contains("fc-event-resizer-start"),l.range)));s&&(u=applyMutationToEventStore(o,a.getCurrentData().eventUiBases,s,a),d.mutatedEvents=u,isInteractionValid(d,e.dateProfile,a)||(c=!0,s=null,u=null,d.mutatedEvents=null)),u?a.dispatch({type:"SET_EVENT_RESIZE",state:d}):a.dispatch({type:"UNSET_EVENT_RESIZE"}),c?disableCursor():enableCursor(),t||(s&&isHitsEqual(i,e)&&(s=null),n.validMutation=s,n.mutatedRelevantEvents=u)},n.handleDragEnd=function(e){var t=n.component.context,r=n.eventRange.def,a=n.eventRange.instance,o=new EventApi(t,r,a),i=n.relevantEvents,l=n.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:n.draggingSegEl,event:o,jsEvent:e.origEvent,view:t.viewApi}),n.validMutation){var s=new EventApi(t,l.defs[r.defId],a?l.instances[a.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:l});var u={oldEvent:o,event:s,relatedEvents:buildEventApis(l,t,a),revert:function(){t.dispatch({type:"MERGE_EVENTS",eventStore:i})}};t.emitter.trigger("eventResize",__assign$1(__assign$1({},u),{el:n.draggingSegEl,startDelta:n.validMutation.startDelta||createDuration(0),endDelta:n.validMutation.endDelta||createDuration(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",u)}else t.emitter.trigger("_noEventResize");n.draggingSeg=null,n.relevantEvents=null,n.validMutation=null};var r=t.component,a=n.dragging=new FeaturefulElementDragging(t.el);a.pointer.selector=".fc-event-resizer",a.touchScrollAllowed=!1,a.autoScroller.isEnabled=r.context.options.dragScroll;var o=n.hitDragging=new HitDragging(n.dragging,interactionSettingsToStore(t));return o.emitter.on("pointerdown",n.handlePointerDown),o.emitter.on("dragstart",n.handleDragStart),o.emitter.on("hitupdate",n.handleHitUpdate),o.emitter.on("dragend",n.handleDragEnd),n}return __extends(t,e),t.prototype.destroy=function(){this.dragging.destroy()},t.prototype.querySegEl=function(e){return elementClosest(e.subjectEl,".fc-event")},t}(Interaction);function computeMutation(e,t,n,r){var a=e.context.dateEnv,o=diffDates(e.dateSpan.range.start,t.dateSpan.range.start,a,e.largeUnit);if(n){if(a.add(r.start,o)<r.end)return{startDelta:o}}else if(a.add(r.end,o)>r.start)return{endDelta:o};return null}var UnselectAuto=function(){function e(e){var t=this;this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=function(e){e.jsEvent&&(t.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=function(e){var n=t.context.options.unselectCancel,r=getEventTargetViaRoot(e.origEvent);t.matchesCancel=!!elementClosest(r,n),t.matchesEvent=!!elementClosest(r,EventDragging.SELECTOR)},this.onDocumentPointerUp=function(e){var n=t.context,r=t.documentPointer,a=n.getCurrentData();if(!r.wasTouchScroll){if(a.dateSelection&&!t.isRecentPointerDateSelect){var o=n.options.unselectAuto;!o||o&&t.matchesCancel||n.calendarApi.unselect(e)}a.eventSelection&&!t.matchesEvent&&n.dispatch({type:"UNSELECT_EVENT"})}t.isRecentPointerDateSelect=!1};var n=this.documentPointer=new PointerDragging(document);n.shouldIgnoreMove=!0,n.shouldWatchScroll=!1,n.emitter.on("pointerdown",this.onDocumentPointerDown),n.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}return e.prototype.destroy=function(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()},e}(),OPTION_REFINERS$1={fixedMirrorParent:identity},LISTENER_REFINERS={dateClick:identity,eventDragStart:identity,eventDragStop:identity,eventDrop:identity,eventResizeStart:identity,eventResizeStop:identity,eventResize:identity,drop:identity,eventReceive:identity,eventLeave:identity};config$1.dataAttrPrefix="",function(e){function t(t){var n=e.call(this,t)||this;n.shouldIgnoreMove=!1,n.mirrorSelector="",n.currentMirrorEl=null,n.handlePointerDown=function(e){n.emitter.trigger("pointerdown",e),n.shouldIgnoreMove||n.emitter.trigger("dragstart",e)},n.handlePointerMove=function(e){n.shouldIgnoreMove||n.emitter.trigger("dragmove",e)},n.handlePointerUp=function(e){n.emitter.trigger("pointerup",e),n.shouldIgnoreMove||n.emitter.trigger("dragend",e)};var r=n.pointer=new PointerDragging(t);return r.emitter.on("pointerdown",n.handlePointerDown),r.emitter.on("pointermove",n.handlePointerMove),r.emitter.on("pointerup",n.handlePointerUp),n}__extends(t,e),t.prototype.destroy=function(){this.pointer.destroy()},t.prototype.setIgnoreMove=function(e){this.shouldIgnoreMove=e},t.prototype.setMirrorIsVisible=function(e){if(e)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{var t=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;t&&(this.currentMirrorEl=t,t.style.visibility="hidden")}}}(ElementDragging);var main$1=createPlugin({componentInteractions:[DateClicking,DateSelecting,EventDragging,EventResizing],calendarInteractions:[UnselectAuto],elementDraggingImpl:FeaturefulElementDragging,optionRefiners:OPTION_REFINERS$1,listenerRefiners:LISTENER_REFINERS}),ListViewHeaderRow=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.state={textId:getUniqueDomId()},t}return __extends(t,e),t.prototype.render=function(){var e=this.context,t=e.theme,n=e.dateEnv,r=e.options,a=e.viewApi,o=this.props,i=o.cellId,l=o.dayDate,s=o.todayRange,u=this.state.textId,c=getDateMeta(l,s),d=r.listDayFormat?n.format(l,r.listDayFormat):"",f=r.listDaySideFormat?n.format(l,r.listDaySideFormat):"",p=__assign$1({date:n.toDate(l),view:a,textId:u,text:d,sideText:f,navLinkAttrs:buildNavLinkAttrs(this.context,l),sideNavLinkAttrs:buildNavLinkAttrs(this.context,l,"day",!1)},c),h=["fc-list-day"].concat(getDayClassNames(c,t));return createElement(RenderHook,{hookProps:p,classNames:r.dayHeaderClassNames,content:r.dayHeaderContent,defaultContent:renderInnerContent,didMount:r.dayHeaderDidMount,willUnmount:r.dayHeaderWillUnmount},(function(e,n,r,a){return createElement("tr",{ref:e,className:h.concat(n).join(" "),"data-date":formatDayString(l)},createElement("th",{scope:"colgroup",colSpan:3,id:i,"aria-labelledby":u},createElement("div",{className:"fc-list-day-cushion "+t.getClass("tableCellShaded"),ref:r},a)))}))},t}(BaseComponent);
68
68
  /*!
69
69
  FullCalendar v5.11.3
70
70
  Docs & License: https://fullcalendar.io/
71
71
  (c) 2022 Adam Shaw
72
- */function renderInnerContent(e){return createElement(Fragment,null,e.text&&createElement("a",__assign$1({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&createElement("a",__assign$1({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}var DEFAULT_TIME_FORMAT=createFormatter({hour:"numeric",minute:"2-digit",meridiem:"short"}),ListViewEventRow=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=e.timeHeaderId,o=e.eventHeaderId,a=e.dateHeaderId,i=t.options.eventTimeFormat||DEFAULT_TIME_FORMAT;return createElement(EventRoot,{seg:n,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:function(){return renderEventInnerContent(n,t)},isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},(function(e,l,s,u,c){return createElement("tr",{className:["fc-list-event",c.event.url?"fc-event-forced-url":""].concat(l).join(" "),ref:e},buildTimeContent(n,i,t,r,a),createElement("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},createElement("span",{className:"fc-list-event-dot",style:{borderColor:c.borderColor||c.backgroundColor}})),createElement("td",{ref:s,headers:o+" "+a,className:"fc-list-event-title"},u))}))},t}(BaseComponent);function renderEventInnerContent(e,t){var n=getSegAnchorAttrs(e,t);return createElement("a",__assign$1({},n),e.eventRange.def.title)}function buildTimeContent(e,t,n,r,o){var a=n.options;if(!1!==a.displayEventTime){var i=e.eventRange.def,l=e.eventRange.instance,s=!1,u=void 0;if(i.allDay?s=!0:isMultiDayRange(e.eventRange.range)?e.isStart?u=buildSegTimeText(e,t,n,null,null,l.range.start,e.end):e.isEnd?u=buildSegTimeText(e,t,n,null,null,e.start,l.range.end):s=!0:u=buildSegTimeText(e,t,n),s){var c={text:n.options.allDayText,view:n.viewApi};return createElement(RenderHook,{hookProps:c,classNames:a.allDayClassNames,content:a.allDayContent,defaultContent:renderAllDayInner,didMount:a.allDayDidMount,willUnmount:a.allDayWillUnmount},(function(e,t,n,a){return createElement("td",{ref:e,headers:r+" "+o,className:["fc-list-event-time"].concat(t).join(" ")},a)}))}return createElement("td",{className:"fc-list-event-time"},u)}return null}function renderAllDayInner(e){return e.text}var ListView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.computeDateVars=memoize(computeDateVars),t.eventStoreToSegs=memoize(t._eventStoreToSegs),t.state={timeHeaderId:getUniqueDomId(),eventHeaderId:getUniqueDomId(),dateHeaderIdRoot:getUniqueDomId()},t.setRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=["fc-list",n.theme.getClass("table"),!1!==n.options.stickyHeaderDates?"fc-list-sticky":""],o=this.computeDateVars(t.dateProfile),a=o.dayDates,i=o.dayRanges,l=this.eventStoreToSegs(t.eventStore,t.eventUiBases,i);return createElement(ViewRoot,{viewSpec:n.viewSpec,elRef:this.setRootEl},(function(n,o){return createElement("div",{ref:n,className:r.concat(o).join(" ")},createElement(Scroller,{liquid:!t.isHeightAuto,overflowX:t.isHeightAuto?"visible":"hidden",overflowY:t.isHeightAuto?"visible":"auto"},l.length>0?e.renderSegList(l,a):e.renderEmptyMessage()))}))},t.prototype.renderEmptyMessage=function(){var e=this.context,t=e.options,n=e.viewApi,r={text:t.noEventsText,view:n};return createElement(RenderHook,{hookProps:r,classNames:t.noEventsClassNames,content:t.noEventsContent,defaultContent:renderNoEventsInner,didMount:t.noEventsDidMount,willUnmount:t.noEventsWillUnmount},(function(e,t,n,r){return createElement("div",{className:["fc-list-empty"].concat(t).join(" "),ref:e},createElement("div",{className:"fc-list-empty-cushion",ref:n},r))}))},t.prototype.renderSegList=function(e,t){var n=this.context,r=n.theme,o=n.options,a=this.state,i=a.timeHeaderId,l=a.eventHeaderId,s=a.dateHeaderIdRoot,u=groupSegsByDay(e);return createElement(NowTimer,{unit:"day"},(function(e,n){for(var a=[],c=0;c<u.length;c+=1){var d=u[c];if(d){var f=formatDayString(t[c]),p=s+"-"+f;a.push(createElement(ListViewHeaderRow,{key:f,cellId:p,dayDate:t[c],todayRange:n}));for(var h=0,v=d=sortEventSegs(d,o.eventOrder);h<v.length;h++){var m=v[h];a.push(createElement(ListViewEventRow,__assign$1({key:f+":"+m.eventRange.instance.instanceId,seg:m,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:i,eventHeaderId:l,dateHeaderId:p},getSegMeta(m,n,e))))}}}return createElement("table",{className:"fc-list-table "+r.getClass("table")},createElement("thead",null,createElement("tr",null,createElement("th",{scope:"col",id:i},o.timeHint),createElement("th",{scope:"col","aria-hidden":!0}),createElement("th",{scope:"col",id:l},o.eventHint))),createElement("tbody",null,a))}))},t.prototype._eventStoreToSegs=function(e,t,n){return this.eventRangesToSegs(sliceEventStore(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)},t.prototype.eventRangesToSegs=function(e,t){for(var n=[],r=0,o=e;r<o.length;r++){var a=o[r];n.push.apply(n,this.eventRangeToSegs(a,t))}return n},t.prototype.eventRangeToSegs=function(e,t){var n,r,o,a=this.context.dateEnv,i=this.context.options.nextDayThreshold,l=e.range,s=e.def.allDay,u=[];for(n=0;n<t.length;n+=1)if((r=intersectRanges(l,t[n]))&&(o={component:this,eventRange:e,start:r.start,end:r.end,isStart:e.isStart&&r.start.valueOf()===l.start.valueOf(),isEnd:e.isEnd&&r.end.valueOf()===l.end.valueOf(),dayIndex:n},u.push(o),!o.isEnd&&!s&&n+1<t.length&&l.end<a.add(t[n+1].start,i))){o.end=l.end,o.isEnd=!0;break}return u},t}(DateComponent);function renderNoEventsInner(e){return e.text}function computeDateVars(e){for(var t=startOfDay(e.renderRange.start),n=e.renderRange.end,r=[],o=[];t<n;)r.push(t),o.push({start:t,end:addDays(t,1)}),t=addDays(t,1);return{dayDates:r,dayRanges:o}}function groupSegsByDay(e){var t,n,r=[];for(t=0;t<e.length;t+=1)(r[(n=e[t]).dayIndex]||(r[n.dayIndex]=[])).push(n);return r}var OPTION_REFINERS={listDayFormat:createFalsableFormatter,listDaySideFormat:createFalsableFormatter,noEventsClassNames:identity,noEventsContent:identity,noEventsDidMount:identity,noEventsWillUnmount:identity};function createFalsableFormatter(e){return!1===e?null:createFormatter(e)}var main=createPlugin({optionRefiners:OPTION_REFINERS,views:{list:{component:ListView,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}}),localesAll$1={};Object.defineProperty(localesAll$1,"__esModule",{value:!0});var l0={code:"af",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Heeldag",moreLinkText:"Addisionele",noEventsText:"Daar is geen gebeurtenisse nie"},l1={code:"ar-dz",week:{dow:0,doy:4},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l2={code:"ar-kw",week:{dow:0,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l3={code:"ar-ly",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l4={code:"ar-ma",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l5={code:"ar-sa",week:{dow:0,doy:6},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l6={code:"ar-tn",week:{dow:1,doy:4},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l7={code:"ar",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l8={code:"az",week:{dow:1,doy:4},buttonText:{prev:"Əvvəl",next:"Sonra",today:"Bu Gün",month:"Ay",week:"Həftə",day:"Gün",list:"Gündəm"},weekText:"Həftə",allDayText:"Bütün Gün",moreLinkText:function(e){return"+ daha çox "+e},noEventsText:"Göstərmək üçün hadisə yoxdur"},l9={code:"bg",week:{dow:1,doy:7},buttonText:{prev:"назад",next:"напред",today:"днес",month:"Месец",week:"Седмица",day:"Ден",list:"График"},allDayText:"Цял ден",moreLinkText:function(e){return"+още "+e},noEventsText:"Няма събития за показване"},l10={code:"bn",week:{dow:0,doy:6},buttonText:{prev:"পেছনে",next:"সামনে",today:"আজ",month:"মাস",week:"সপ্তাহ",day:"দিন",list:"তালিকা"},weekText:"সপ্তাহ",allDayText:"সারাদিন",moreLinkText:function(e){return"+অন্যান্য "+e},noEventsText:"কোনো ইভেন্ট নেই"},l11={code:"bs",week:{dow:1,doy:7},buttonText:{prev:"Prošli",next:"Sljedeći",today:"Danas",month:"Mjesec",week:"Sedmica",day:"Dan",list:"Raspored"},weekText:"Sed",allDayText:"Cijeli dan",moreLinkText:function(e){return"+ još "+e},noEventsText:"Nema događaja za prikazivanje"},l12={code:"ca",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Següent",today:"Avui",month:"Mes",week:"Setmana",day:"Dia",list:"Agenda"},weekText:"Set",allDayText:"Tot el dia",moreLinkText:"més",noEventsText:"No hi ha esdeveniments per mostrar"},l13={code:"cs",week:{dow:1,doy:4},buttonText:{prev:"Dříve",next:"Později",today:"Nyní",month:"Měsíc",week:"Týden",day:"Den",list:"Agenda"},weekText:"Týd",allDayText:"Celý den",moreLinkText:function(e){return"+další: "+e},noEventsText:"Žádné akce k zobrazení"},l14={code:"cy",week:{dow:1,doy:4},buttonText:{prev:"Blaenorol",next:"Nesaf",today:"Heddiw",year:"Blwyddyn",month:"Mis",week:"Wythnos",day:"Dydd",list:"Rhestr"},weekText:"Wythnos",allDayText:"Trwy'r dydd",moreLinkText:"Mwy",noEventsText:"Dim digwyddiadau"},l15={code:"da",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Næste",today:"I dag",month:"Måned",week:"Uge",day:"Dag",list:"Agenda"},weekText:"Uge",allDayText:"Hele dagen",moreLinkText:"flere",noEventsText:"Ingen arrangementer at vise"};function affix$1(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}var l16={code:"de-at",week:{dow:1,doy:4},buttonText:{prev:"Zurück",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganztägig",moreLinkText:function(e){return"+ weitere "+e},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:function(e){return"Vorherige".concat(affix$1(e)," ").concat(e)},next:function(e){return"Nächste".concat(affix$1(e)," ").concat(e)},today:function(e){return"Tag"===e?"Heute":"Diese".concat(affix$1(e)," ").concat(e)}},viewHint:function(e){return e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint:function(e){return"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse")},closeHint:"Schließen",timeHint:"Uhrzeit",eventHint:"Ereignis"};function affix(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}var l17={code:"de",week:{dow:1,doy:4},buttonText:{prev:"Zurück",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganztägig",moreLinkText:function(e){return"+ weitere "+e},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:function(e){return"Vorherige".concat(affix(e)," ").concat(e)},next:function(e){return"Nächste".concat(affix(e)," ").concat(e)},today:function(e){return"Tag"===e?"Heute":"Diese".concat(affix(e)," ").concat(e)}},viewHint:function(e){return e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint:function(e){return"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse")},closeHint:"Schließen",timeHint:"Uhrzeit",eventHint:"Ereignis"},l18={code:"el",week:{dow:1,doy:4},buttonText:{prev:"Προηγούμενος",next:"Επόμενος",today:"Σήμερα",month:"Μήνας",week:"Εβδομάδα",day:"Ημέρα",list:"Ατζέντα"},weekText:"Εβδ",allDayText:"Ολοήμερο",moreLinkText:"περισσότερα",noEventsText:"Δεν υπάρχουν γεγονότα προς εμφάνιση"},l19={code:"en-au",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show ".concat(e," more event").concat(1===e?"":"s")}},l20={code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show ".concat(e," more event").concat(1===e?"":"s")}},l21={code:"en-nz",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show ".concat(e," more event").concat(1===e?"":"s")}},l22={code:"eo",week:{dow:1,doy:4},buttonText:{prev:"Antaŭa",next:"Sekva",today:"Hodiaŭ",month:"Monato",week:"Semajno",day:"Tago",list:"Tagordo"},weekText:"Sm",allDayText:"Tuta tago",moreLinkText:"pli",noEventsText:"Neniuj eventoj por montri"},l23={code:"es",week:{dow:0,doy:6},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},weekText:"Sm",allDayText:"Todo el día",moreLinkText:"más",noEventsText:"No hay eventos para mostrar"},l24={code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today:function(e){return"Día"===e?"Hoy":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint:function(e){return"Vista "+("Semana"===e?"de la":"del")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el día",moreLinkText:"más",moreLinkHint:function(e){return"Mostrar ".concat(e," eventos más")},noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},l25={code:"et",week:{dow:1,doy:4},buttonText:{prev:"Eelnev",next:"Järgnev",today:"Täna",month:"Kuu",week:"Nädal",day:"Päev",list:"Päevakord"},weekText:"näd",allDayText:"Kogu päev",moreLinkText:function(e){return"+ veel "+e},noEventsText:"Kuvamiseks puuduvad sündmused"},l26={code:"eu",week:{dow:1,doy:7},buttonText:{prev:"Aur",next:"Hur",today:"Gaur",month:"Hilabetea",week:"Astea",day:"Eguna",list:"Agenda"},weekText:"As",allDayText:"Egun osoa",moreLinkText:"gehiago",noEventsText:"Ez dago ekitaldirik erakusteko"},l27={code:"fa",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"قبلی",next:"بعدی",today:"امروز",month:"ماه",week:"هفته",day:"روز",list:"برنامه"},weekText:"هف",allDayText:"تمام روز",moreLinkText:function(e){return"بیش از "+e},noEventsText:"هیچ رویدادی به نمایش"},l28={code:"fi",week:{dow:1,doy:4},buttonText:{prev:"Edellinen",next:"Seuraava",today:"Tänään",month:"Kuukausi",week:"Viikko",day:"Päivä",list:"Tapahtumat"},weekText:"Vk",allDayText:"Koko päivä",moreLinkText:"lisää",noEventsText:"Ei näytettäviä tapahtumia"},l29={code:"fr",buttonText:{prev:"Précédent",next:"Suivant",today:"Aujourd'hui",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sem.",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun événement à afficher"},l30={code:"fr-ch",week:{dow:1,doy:4},buttonText:{prev:"Précédent",next:"Suivant",today:"Courant",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sm",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun événement à afficher"},l31={code:"fr",week:{dow:1,doy:4},buttonText:{prev:"Précédent",next:"Suivant",today:"Aujourd'hui",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Planning"},weekText:"Sem.",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun événement à afficher"},l32={code:"gl",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Seg",today:"Hoxe",month:"Mes",week:"Semana",day:"Día",list:"Axenda"},weekText:"Sm",allDayText:"Todo o día",moreLinkText:"máis",noEventsText:"Non hai eventos para amosar"},l33={code:"he",direction:"rtl",buttonText:{prev:"הקודם",next:"הבא",today:"היום",month:"חודש",week:"שבוע",day:"יום",list:"סדר יום"},allDayText:"כל היום",moreLinkText:"אחר",noEventsText:"אין אירועים להצגה",weekText:"שבוע"},l34={code:"hi",week:{dow:0,doy:6},buttonText:{prev:"पिछला",next:"अगला",today:"आज",month:"महीना",week:"सप्ताह",day:"दिन",list:"कार्यसूची"},weekText:"हफ्ता",allDayText:"सभी दिन",moreLinkText:function(e){return"+अधिक "+e},noEventsText:"कोई घटनाओं को प्रदर्शित करने के लिए"},l35={code:"hr",week:{dow:1,doy:7},buttonText:{prev:"Prijašnji",next:"Sljedeći",today:"Danas",month:"Mjesec",week:"Tjedan",day:"Dan",list:"Raspored"},weekText:"Tje",allDayText:"Cijeli dan",moreLinkText:function(e){return"+ još "+e},noEventsText:"Nema događaja za prikaz"},l36={code:"hu",week:{dow:1,doy:4},buttonText:{prev:"vissza",next:"előre",today:"ma",month:"Hónap",week:"Hét",day:"Nap",list:"Lista"},weekText:"Hét",allDayText:"Egész nap",moreLinkText:"további",noEventsText:"Nincs megjeleníthető esemény"},l37={code:"hy-am",week:{dow:1,doy:4},buttonText:{prev:"Նախորդ",next:"Հաջորդ",today:"Այսօր",month:"Ամիս",week:"Շաբաթ",day:"Օր",list:"Օրվա ցուցակ"},weekText:"Շաբ",allDayText:"Ամբողջ օր",moreLinkText:function(e){return"+ ևս "+e},noEventsText:"Բացակայում է իրադարձությունը ցուցադրելու"},l38={code:"id",week:{dow:1,doy:7},buttonText:{prev:"mundur",next:"maju",today:"hari ini",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sehari penuh",moreLinkText:"lebih",noEventsText:"Tidak ada acara untuk ditampilkan"},l39={code:"is",week:{dow:1,doy:4},buttonText:{prev:"Fyrri",next:"Næsti",today:"Í dag",month:"Mánuður",week:"Vika",day:"Dagur",list:"Dagskrá"},weekText:"Vika",allDayText:"Allan daginn",moreLinkText:"meira",noEventsText:"Engir viðburðir til að sýna"},l40={code:"it",week:{dow:1,doy:4},buttonText:{prev:"Prec",next:"Succ",today:"Oggi",month:"Mese",week:"Settimana",day:"Giorno",list:"Agenda"},weekText:"Sm",allDayText:"Tutto il giorno",moreLinkText:function(e){return"+altri "+e},noEventsText:"Non ci sono eventi da visualizzare"},l41={code:"ja",buttonText:{prev:"前",next:"次",today:"今日",month:"月",week:"週",day:"日",list:"予定リスト"},weekText:"週",allDayText:"終日",moreLinkText:function(e){return"他 "+e+" 件"},noEventsText:"表示する予定はありません"},l42={code:"ka",week:{dow:1,doy:7},buttonText:{prev:"წინა",next:"შემდეგი",today:"დღეს",month:"თვე",week:"კვირა",day:"დღე",list:"დღის წესრიგი"},weekText:"კვ",allDayText:"მთელი დღე",moreLinkText:function(e){return"+ კიდევ "+e},noEventsText:"ღონისძიებები არ არის"},l43={code:"kk",week:{dow:1,doy:7},buttonText:{prev:"Алдыңғы",next:"Келесі",today:"Бүгін",month:"Ай",week:"Апта",day:"Күн",list:"Күн тәртібі"},weekText:"Не",allDayText:"Күні бойы",moreLinkText:function(e){return"+ тағы "+e},noEventsText:"Көрсету үшін оқиғалар жоқ"},l44={code:"km",week:{dow:1,doy:4},buttonText:{prev:"មុន",next:"បន្ទាប់",today:"ថ្ងៃនេះ",year:"ឆ្នាំ",month:"ខែ",week:"សប្តាហ៍",day:"ថ្ងៃ",list:"បញ្ជី"},weekText:"សប្តាហ៍",allDayText:"ពេញមួយថ្ងៃ",moreLinkText:"ច្រើនទៀត",noEventsText:"គ្មានព្រឹត្តិការណ៍ត្រូវបង្ហាញ"},l45={code:"ko",buttonText:{prev:"이전달",next:"다음달",today:"오늘",month:"월",week:"주",day:"일",list:"일정목록"},weekText:"주",allDayText:"종일",moreLinkText:"개",noEventsText:"일정이 없습니다"},l46={code:"ku",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"پێشتر",next:"دواتر",today:"ئەمڕو",month:"مانگ",week:"هەفتە",day:"ڕۆژ",list:"بەرنامە"},weekText:"هەفتە",allDayText:"هەموو ڕۆژەکە",moreLinkText:"زیاتر",noEventsText:"هیچ ڕووداوێك نیە"},l47={code:"lb",week:{dow:1,doy:4},buttonText:{prev:"Zréck",next:"Weider",today:"Haut",month:"Mount",week:"Woch",day:"Dag",list:"Terminiwwersiicht"},weekText:"W",allDayText:"Ganzen Dag",moreLinkText:"méi",noEventsText:"Nee Evenementer ze affichéieren"},l48={code:"lt",week:{dow:1,doy:4},buttonText:{prev:"Atgal",next:"Pirmyn",today:"Šiandien",month:"Mėnuo",week:"Savaitė",day:"Diena",list:"Darbotvarkė"},weekText:"SAV",allDayText:"Visą dieną",moreLinkText:"daugiau",noEventsText:"Nėra įvykių rodyti"},l49={code:"lv",week:{dow:1,doy:4},buttonText:{prev:"Iepr.",next:"Nāk.",today:"Šodien",month:"Mēnesis",week:"Nedēļa",day:"Diena",list:"Dienas kārtība"},weekText:"Ned.",allDayText:"Visu dienu",moreLinkText:function(e){return"+vēl "+e},noEventsText:"Nav notikumu"},l50={code:"mk",buttonText:{prev:"претходно",next:"следно",today:"Денес",month:"Месец",week:"Недела",day:"Ден",list:"График"},weekText:"Сед",allDayText:"Цел ден",moreLinkText:function(e){return"+повеќе "+e},noEventsText:"Нема настани за прикажување"},l51={code:"ms",week:{dow:1,doy:7},buttonText:{prev:"Sebelum",next:"Selepas",today:"hari ini",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sepanjang hari",moreLinkText:function(e){return"masih ada "+e+" acara"},noEventsText:"Tiada peristiwa untuk dipaparkan"},l52={code:"nb",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Neste",today:"I dag",month:"Måned",week:"Uke",day:"Dag",list:"Agenda"},weekText:"Uke",weekTextLong:"Uke",allDayText:"Hele dagen",moreLinkText:"til",noEventsText:"Ingen hendelser å vise",buttonHints:{prev:"Forrige $0",next:"Neste $0",today:"Nåværende $0"},viewHint:"$0 visning",navLinkHint:"Gå til $0",moreLinkHint:function(e){return"Vis ".concat(e," flere hendelse").concat(1===e?"":"r")}},l53={code:"ne",week:{dow:7,doy:1},buttonText:{prev:"अघिल्लो",next:"अर्को",today:"आज",month:"महिना",week:"हप्ता",day:"दिन",list:"सूची"},weekText:"हप्ता",allDayText:"दिनभरि",moreLinkText:"थप लिंक",noEventsText:"देखाउनको लागि कुनै घटनाहरू छैनन्"},l54={code:"nl",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandaag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Hele dag",moreLinkText:"extra",noEventsText:"Geen evenementen om te laten zien"},l55={code:"nn",week:{dow:1,doy:4},buttonText:{prev:"Førre",next:"Neste",today:"I dag",month:"Månad",week:"Veke",day:"Dag",list:"Agenda"},weekText:"Veke",allDayText:"Heile dagen",moreLinkText:"til",noEventsText:"Ingen hendelser å vise"},l56={code:"pl",week:{dow:1,doy:4},buttonText:{prev:"Poprzedni",next:"Następny",today:"Dziś",month:"Miesiąc",week:"Tydzień",day:"Dzień",list:"Plan dnia"},weekText:"Tydz",allDayText:"Cały dzień",moreLinkText:"więcej",noEventsText:"Brak wydarzeń do wyświetlenia"},l57={code:"pt-br",buttonText:{prev:"Anterior",next:"Próximo",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},weekText:"Sm",allDayText:"dia inteiro",moreLinkText:function(e){return"mais +"+e},noEventsText:"Não há eventos para mostrar"},l58={code:"pt",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Seguinte",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Agenda"},weekText:"Sem",allDayText:"Todo o dia",moreLinkText:"mais",noEventsText:"Não há eventos para mostrar"},l59={code:"ro",week:{dow:1,doy:7},buttonText:{prev:"precedentă",next:"următoare",today:"Azi",month:"Lună",week:"Săptămână",day:"Zi",list:"Agendă"},weekText:"Săpt",allDayText:"Toată ziua",moreLinkText:function(e){return"+alte "+e},noEventsText:"Nu există evenimente de afișat"},l60={code:"ru",week:{dow:1,doy:4},buttonText:{prev:"Пред",next:"След",today:"Сегодня",month:"Месяц",week:"Неделя",day:"День",list:"Повестка дня"},weekText:"Нед",allDayText:"Весь день",moreLinkText:function(e){return"+ ещё "+e},noEventsText:"Нет событий для отображения"},l61={code:"si-lk",week:{dow:1,doy:4},buttonText:{prev:"පෙර",next:"පසු",today:"අද",month:"මාසය",week:"සතිය",day:"දවස",list:"ලැයිස්තුව"},weekText:"සති",allDayText:"සියලු",moreLinkText:"තවත්",noEventsText:"මුකුත් නැත"},l62={code:"sk",week:{dow:1,doy:4},buttonText:{prev:"Predchádzajúci",next:"Nasledujúci",today:"Dnes",month:"Mesiac",week:"Týždeň",day:"Deň",list:"Rozvrh"},weekText:"Ty",allDayText:"Celý deň",moreLinkText:function(e){return"+ďalšie: "+e},noEventsText:"Žiadne akcie na zobrazenie"},l63={code:"sl",week:{dow:1,doy:7},buttonText:{prev:"Prejšnji",next:"Naslednji",today:"Trenutni",month:"Mesec",week:"Teden",day:"Dan",list:"Dnevni red"},weekText:"Teden",allDayText:"Ves dan",moreLinkText:"več",noEventsText:"Ni dogodkov za prikaz"},l64={code:"sm",buttonText:{prev:"Talu ai",next:"Mulimuli atu",today:"Aso nei",month:"Masina",week:"Vaiaso",day:"Aso",list:"Faasologa"},weekText:"Vaiaso",allDayText:"Aso atoa",moreLinkText:"sili atu",noEventsText:"Leai ni mea na tutupu"},l65={code:"sq",week:{dow:1,doy:4},buttonText:{prev:"mbrapa",next:"Përpara",today:"sot",month:"Muaj",week:"Javë",day:"Ditë",list:"Listë"},weekText:"Ja",allDayText:"Gjithë ditën",moreLinkText:function(e){return"+më tepër "+e},noEventsText:"Nuk ka evente për të shfaqur"},l66={code:"sr-cyrl",week:{dow:1,doy:7},buttonText:{prev:"Претходна",next:"следећи",today:"Данас",month:"Месец",week:"Недеља",day:"Дан",list:"Планер"},weekText:"Сед",allDayText:"Цео дан",moreLinkText:function(e){return"+ још "+e},noEventsText:"Нема догађаја за приказ"},l67={code:"sr",week:{dow:1,doy:7},buttonText:{prev:"Prethodna",next:"Sledeći",today:"Danas",month:"Mеsеc",week:"Nеdеlja",day:"Dan",list:"Planеr"},weekText:"Sed",allDayText:"Cеo dan",moreLinkText:function(e){return"+ još "+e},noEventsText:"Nеma događaja za prikaz"},l68={code:"sv",week:{dow:1,doy:4},buttonText:{prev:"Förra",next:"Nästa",today:"Idag",month:"Månad",week:"Vecka",day:"Dag",list:"Program"},buttonHints:{prev:function(e){return"Föregående ".concat(e.toLocaleLowerCase())},next:function(e){return"Nästa ".concat(e.toLocaleLowerCase())},today:function(e){return("Program"===e?"Detta":"Denna")+" "+e.toLocaleLowerCase()}},viewHint:"$0 vy",navLinkHint:"Gå till $0",moreLinkHint:function(e){return"Visa ytterligare ".concat(e," händelse").concat(1===e?"":"r")},weekText:"v.",weekTextLong:"Vecka",allDayText:"Heldag",moreLinkText:"till",noEventsText:"Inga händelser att visa",closeHint:"Stäng",timeHint:"Klockan",eventHint:"Händelse"},l69={code:"ta-in",week:{dow:1,doy:4},buttonText:{prev:"முந்தைய",next:"அடுத்தது",today:"இன்று",month:"மாதம்",week:"வாரம்",day:"நாள்",list:"தினசரி அட்டவணை"},weekText:"வாரம்",allDayText:"நாள் முழுவதும்",moreLinkText:function(e){return"+ மேலும் "+e},noEventsText:"காண்பிக்க நிகழ்வுகள் இல்லை"},l70={code:"th",week:{dow:1,doy:4},buttonText:{prev:"ก่อนหน้า",next:"ถัดไป",prevYear:"ปีก่อนหน้า",nextYear:"ปีถัดไป",year:"ปี",today:"วันนี้",month:"เดือน",week:"สัปดาห์",day:"วัน",list:"กำหนดการ"},weekText:"สัปดาห์",allDayText:"ตลอดวัน",moreLinkText:"เพิ่มเติม",noEventsText:"ไม่มีกิจกรรมที่จะแสดง"},l71={code:"tr",week:{dow:1,doy:7},buttonText:{prev:"geri",next:"ileri",today:"bugün",month:"Ay",week:"Hafta",day:"Gün",list:"Ajanda"},weekText:"Hf",allDayText:"Tüm gün",moreLinkText:"daha fazla",noEventsText:"Gösterilecek etkinlik yok"},l72={code:"ug",buttonText:{month:"ئاي",week:"ھەپتە",day:"كۈن",list:"كۈنتەرتىپ"},allDayText:"پۈتۈن كۈن"},l73={code:"uk",week:{dow:1,doy:7},buttonText:{prev:"Попередній",next:"далі",today:"Сьогодні",month:"Місяць",week:"Тиждень",day:"День",list:"Порядок денний"},weekText:"Тиж",allDayText:"Увесь день",moreLinkText:function(e){return"+ще "+e+"..."},noEventsText:"Немає подій для відображення"},l74={code:"uz",buttonText:{month:"Oy",week:"Xafta",day:"Kun",list:"Kun tartibi"},allDayText:"Kun bo'yi",moreLinkText:function(e){return"+ yana "+e},noEventsText:"Ko'rsatish uchun voqealar yo'q"},l75={code:"vi",week:{dow:1,doy:4},buttonText:{prev:"Trước",next:"Tiếp",today:"Hôm nay",month:"Tháng",week:"Tuần",day:"Ngày",list:"Lịch biểu"},weekText:"Tu",allDayText:"Cả ngày",moreLinkText:function(e){return"+ thêm "+e},noEventsText:"Không có sự kiện để hiển thị"},l76={code:"zh-cn",week:{dow:1,doy:4},buttonText:{prev:"上月",next:"下月",today:"今天",month:"月",week:"周",day:"日",list:"日程"},weekText:"周",allDayText:"全天",moreLinkText:function(e){return"另外 "+e+" 个"},noEventsText:"没有事件显示"},l77={code:"zh-tw",buttonText:{prev:"上月",next:"下月",today:"今天",month:"月",week:"週",day:"天",list:"活動列表"},weekText:"周",allDayText:"整天",moreLinkText:"顯示更多",noEventsText:"没有任何活動"},localesAll=[l0,l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12,l13,l14,l15,l16,l17,l18,l19,l20,l21,l22,l23,l24,l25,l26,l27,l28,l29,l30,l31,l32,l33,l34,l35,l36,l37,l38,l39,l40,l41,l42,l43,l44,l45,l46,l47,l48,l49,l50,l51,l52,l53,l54,l55,l56,l57,l58,l59,l60,l61,l62,l63,l64,l65,l66,l67,l68,l69,l70,l71,l72,l73,l74,l75,l76,l77],_default=localesAll$1.default=localesAll,lodash={exports:{}};
72
+ */function renderInnerContent(e){return createElement(Fragment,null,e.text&&createElement("a",__assign$1({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&createElement("a",__assign$1({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}var DEFAULT_TIME_FORMAT=createFormatter({hour:"numeric",minute:"2-digit",meridiem:"short"}),ListViewEventRow=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return __extends(t,e),t.prototype.render=function(){var e=this.props,t=this.context,n=e.seg,r=e.timeHeaderId,a=e.eventHeaderId,o=e.dateHeaderId,i=t.options.eventTimeFormat||DEFAULT_TIME_FORMAT;return createElement(EventRoot,{seg:n,timeText:"",disableDragging:!0,disableResizing:!0,defaultContent:function(){return renderEventInnerContent(n,t)},isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,isSelected:e.isSelected,isDragging:e.isDragging,isResizing:e.isResizing,isDateSelecting:e.isDateSelecting},(function(e,l,s,u,c){return createElement("tr",{className:["fc-list-event",c.event.url?"fc-event-forced-url":""].concat(l).join(" "),ref:e},buildTimeContent(n,i,t,r,o),createElement("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},createElement("span",{className:"fc-list-event-dot",style:{borderColor:c.borderColor||c.backgroundColor}})),createElement("td",{ref:s,headers:a+" "+o,className:"fc-list-event-title"},u))}))},t}(BaseComponent);function renderEventInnerContent(e,t){var n=getSegAnchorAttrs(e,t);return createElement("a",__assign$1({},n),e.eventRange.def.title)}function buildTimeContent(e,t,n,r,a){var o=n.options;if(!1!==o.displayEventTime){var i=e.eventRange.def,l=e.eventRange.instance,s=!1,u=void 0;if(i.allDay?s=!0:isMultiDayRange(e.eventRange.range)?e.isStart?u=buildSegTimeText(e,t,n,null,null,l.range.start,e.end):e.isEnd?u=buildSegTimeText(e,t,n,null,null,e.start,l.range.end):s=!0:u=buildSegTimeText(e,t,n),s){var c={text:n.options.allDayText,view:n.viewApi};return createElement(RenderHook,{hookProps:c,classNames:o.allDayClassNames,content:o.allDayContent,defaultContent:renderAllDayInner,didMount:o.allDayDidMount,willUnmount:o.allDayWillUnmount},(function(e,t,n,o){return createElement("td",{ref:e,headers:r+" "+a,className:["fc-list-event-time"].concat(t).join(" ")},o)}))}return createElement("td",{className:"fc-list-event-time"},u)}return null}function renderAllDayInner(e){return e.text}var ListView=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.computeDateVars=memoize(computeDateVars),t.eventStoreToSegs=memoize(t._eventStoreToSegs),t.state={timeHeaderId:getUniqueDomId(),eventHeaderId:getUniqueDomId(),dateHeaderIdRoot:getUniqueDomId()},t.setRootEl=function(e){e?t.context.registerInteractiveComponent(t,{el:e}):t.context.unregisterInteractiveComponent(t)},t}return __extends(t,e),t.prototype.render=function(){var e=this,t=this.props,n=this.context,r=["fc-list",n.theme.getClass("table"),!1!==n.options.stickyHeaderDates?"fc-list-sticky":""],a=this.computeDateVars(t.dateProfile),o=a.dayDates,i=a.dayRanges,l=this.eventStoreToSegs(t.eventStore,t.eventUiBases,i);return createElement(ViewRoot,{viewSpec:n.viewSpec,elRef:this.setRootEl},(function(n,a){return createElement("div",{ref:n,className:r.concat(a).join(" ")},createElement(Scroller,{liquid:!t.isHeightAuto,overflowX:t.isHeightAuto?"visible":"hidden",overflowY:t.isHeightAuto?"visible":"auto"},l.length>0?e.renderSegList(l,o):e.renderEmptyMessage()))}))},t.prototype.renderEmptyMessage=function(){var e=this.context,t=e.options,n=e.viewApi,r={text:t.noEventsText,view:n};return createElement(RenderHook,{hookProps:r,classNames:t.noEventsClassNames,content:t.noEventsContent,defaultContent:renderNoEventsInner,didMount:t.noEventsDidMount,willUnmount:t.noEventsWillUnmount},(function(e,t,n,r){return createElement("div",{className:["fc-list-empty"].concat(t).join(" "),ref:e},createElement("div",{className:"fc-list-empty-cushion",ref:n},r))}))},t.prototype.renderSegList=function(e,t){var n=this.context,r=n.theme,a=n.options,o=this.state,i=o.timeHeaderId,l=o.eventHeaderId,s=o.dateHeaderIdRoot,u=groupSegsByDay(e);return createElement(NowTimer,{unit:"day"},(function(e,n){for(var o=[],c=0;c<u.length;c+=1){var d=u[c];if(d){var f=formatDayString(t[c]),p=s+"-"+f;o.push(createElement(ListViewHeaderRow,{key:f,cellId:p,dayDate:t[c],todayRange:n}));for(var h=0,m=d=sortEventSegs(d,a.eventOrder);h<m.length;h++){var v=m[h];o.push(createElement(ListViewEventRow,__assign$1({key:f+":"+v.eventRange.instance.instanceId,seg:v,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:i,eventHeaderId:l,dateHeaderId:p},getSegMeta(v,n,e))))}}}return createElement("table",{className:"fc-list-table "+r.getClass("table")},createElement("thead",null,createElement("tr",null,createElement("th",{scope:"col",id:i},a.timeHint),createElement("th",{scope:"col","aria-hidden":!0}),createElement("th",{scope:"col",id:l},a.eventHint))),createElement("tbody",null,o))}))},t.prototype._eventStoreToSegs=function(e,t,n){return this.eventRangesToSegs(sliceEventStore(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)},t.prototype.eventRangesToSegs=function(e,t){for(var n=[],r=0,a=e;r<a.length;r++){var o=a[r];n.push.apply(n,this.eventRangeToSegs(o,t))}return n},t.prototype.eventRangeToSegs=function(e,t){var n,r,a,o=this.context.dateEnv,i=this.context.options.nextDayThreshold,l=e.range,s=e.def.allDay,u=[];for(n=0;n<t.length;n+=1)if((r=intersectRanges(l,t[n]))&&(a={component:this,eventRange:e,start:r.start,end:r.end,isStart:e.isStart&&r.start.valueOf()===l.start.valueOf(),isEnd:e.isEnd&&r.end.valueOf()===l.end.valueOf(),dayIndex:n},u.push(a),!a.isEnd&&!s&&n+1<t.length&&l.end<o.add(t[n+1].start,i))){a.end=l.end,a.isEnd=!0;break}return u},t}(DateComponent);function renderNoEventsInner(e){return e.text}function computeDateVars(e){for(var t=startOfDay(e.renderRange.start),n=e.renderRange.end,r=[],a=[];t<n;)r.push(t),a.push({start:t,end:addDays(t,1)}),t=addDays(t,1);return{dayDates:r,dayRanges:a}}function groupSegsByDay(e){var t,n,r=[];for(t=0;t<e.length;t+=1)(r[(n=e[t]).dayIndex]||(r[n.dayIndex]=[])).push(n);return r}var OPTION_REFINERS={listDayFormat:createFalsableFormatter,listDaySideFormat:createFalsableFormatter,noEventsClassNames:identity,noEventsContent:identity,noEventsDidMount:identity,noEventsWillUnmount:identity};function createFalsableFormatter(e){return!1===e?null:createFormatter(e)}var main=createPlugin({optionRefiners:OPTION_REFINERS,views:{list:{component:ListView,buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}}),localesAll$1={};Object.defineProperty(localesAll$1,"__esModule",{value:!0});var l0={code:"af",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Heeldag",moreLinkText:"Addisionele",noEventsText:"Daar is geen gebeurtenisse nie"},l1={code:"ar-dz",week:{dow:0,doy:4},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l2={code:"ar-kw",week:{dow:0,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l3={code:"ar-ly",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l4={code:"ar-ma",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l5={code:"ar-sa",week:{dow:0,doy:6},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l6={code:"ar-tn",week:{dow:1,doy:4},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l7={code:"ar",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"السابق",next:"التالي",today:"اليوم",month:"شهر",week:"أسبوع",day:"يوم",list:"أجندة"},weekText:"أسبوع",allDayText:"اليوم كله",moreLinkText:"أخرى",noEventsText:"أي أحداث لعرض"},l8={code:"az",week:{dow:1,doy:4},buttonText:{prev:"Əvvəl",next:"Sonra",today:"Bu Gün",month:"Ay",week:"Həftə",day:"Gün",list:"Gündəm"},weekText:"Həftə",allDayText:"Bütün Gün",moreLinkText:function(e){return"+ daha çox "+e},noEventsText:"Göstərmək üçün hadisə yoxdur"},l9={code:"bg",week:{dow:1,doy:7},buttonText:{prev:"назад",next:"напред",today:"днес",month:"Месец",week:"Седмица",day:"Ден",list:"График"},allDayText:"Цял ден",moreLinkText:function(e){return"+още "+e},noEventsText:"Няма събития за показване"},l10={code:"bn",week:{dow:0,doy:6},buttonText:{prev:"পেছনে",next:"সামনে",today:"আজ",month:"মাস",week:"সপ্তাহ",day:"দিন",list:"তালিকা"},weekText:"সপ্তাহ",allDayText:"সারাদিন",moreLinkText:function(e){return"+অন্যান্য "+e},noEventsText:"কোনো ইভেন্ট নেই"},l11={code:"bs",week:{dow:1,doy:7},buttonText:{prev:"Prošli",next:"Sljedeći",today:"Danas",month:"Mjesec",week:"Sedmica",day:"Dan",list:"Raspored"},weekText:"Sed",allDayText:"Cijeli dan",moreLinkText:function(e){return"+ još "+e},noEventsText:"Nema događaja za prikazivanje"},l12={code:"ca",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Següent",today:"Avui",month:"Mes",week:"Setmana",day:"Dia",list:"Agenda"},weekText:"Set",allDayText:"Tot el dia",moreLinkText:"més",noEventsText:"No hi ha esdeveniments per mostrar"},l13={code:"cs",week:{dow:1,doy:4},buttonText:{prev:"Dříve",next:"Později",today:"Nyní",month:"Měsíc",week:"Týden",day:"Den",list:"Agenda"},weekText:"Týd",allDayText:"Celý den",moreLinkText:function(e){return"+další: "+e},noEventsText:"Žádné akce k zobrazení"},l14={code:"cy",week:{dow:1,doy:4},buttonText:{prev:"Blaenorol",next:"Nesaf",today:"Heddiw",year:"Blwyddyn",month:"Mis",week:"Wythnos",day:"Dydd",list:"Rhestr"},weekText:"Wythnos",allDayText:"Trwy'r dydd",moreLinkText:"Mwy",noEventsText:"Dim digwyddiadau"},l15={code:"da",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Næste",today:"I dag",month:"Måned",week:"Uge",day:"Dag",list:"Agenda"},weekText:"Uge",allDayText:"Hele dagen",moreLinkText:"flere",noEventsText:"Ingen arrangementer at vise"};function affix$1(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}var l16={code:"de-at",week:{dow:1,doy:4},buttonText:{prev:"Zurück",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganztägig",moreLinkText:function(e){return"+ weitere "+e},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:function(e){return"Vorherige".concat(affix$1(e)," ").concat(e)},next:function(e){return"Nächste".concat(affix$1(e)," ").concat(e)},today:function(e){return"Tag"===e?"Heute":"Diese".concat(affix$1(e)," ").concat(e)}},viewHint:function(e){return e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint:function(e){return"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse")},closeHint:"Schließen",timeHint:"Uhrzeit",eventHint:"Ereignis"};function affix(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}var l17={code:"de",week:{dow:1,doy:4},buttonText:{prev:"Zurück",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganztägig",moreLinkText:function(e){return"+ weitere "+e},noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:function(e){return"Vorherige".concat(affix(e)," ").concat(e)},next:function(e){return"Nächste".concat(affix(e)," ").concat(e)},today:function(e){return"Tag"===e?"Heute":"Diese".concat(affix(e)," ").concat(e)}},viewHint:function(e){return e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht"},navLinkHint:"Gehe zu $0",moreLinkHint:function(e){return"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse")},closeHint:"Schließen",timeHint:"Uhrzeit",eventHint:"Ereignis"},l18={code:"el",week:{dow:1,doy:4},buttonText:{prev:"Προηγούμενος",next:"Επόμενος",today:"Σήμερα",month:"Μήνας",week:"Εβδομάδα",day:"Ημέρα",list:"Ατζέντα"},weekText:"Εβδ",allDayText:"Ολοήμερο",moreLinkText:"περισσότερα",noEventsText:"Δεν υπάρχουν γεγονότα προς εμφάνιση"},l19={code:"en-au",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show ".concat(e," more event").concat(1===e?"":"s")}},l20={code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show ".concat(e," more event").concat(1===e?"":"s")}},l21={code:"en-nz",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:function(e){return"Show ".concat(e," more event").concat(1===e?"":"s")}},l22={code:"eo",week:{dow:1,doy:4},buttonText:{prev:"Antaŭa",next:"Sekva",today:"Hodiaŭ",month:"Monato",week:"Semajno",day:"Tago",list:"Tagordo"},weekText:"Sm",allDayText:"Tuta tago",moreLinkText:"pli",noEventsText:"Neniuj eventoj por montri"},l23={code:"es",week:{dow:0,doy:6},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},weekText:"Sm",allDayText:"Todo el día",moreLinkText:"más",noEventsText:"No hay eventos para mostrar"},l24={code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",month:"Mes",week:"Semana",day:"Día",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today:function(e){return"Día"===e?"Hoy":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()}},viewHint:function(e){return"Vista "+("Semana"===e?"de la":"del")+" "+e.toLocaleLowerCase()},weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el día",moreLinkText:"más",moreLinkHint:function(e){return"Mostrar ".concat(e," eventos más")},noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},l25={code:"et",week:{dow:1,doy:4},buttonText:{prev:"Eelnev",next:"Järgnev",today:"Täna",month:"Kuu",week:"Nädal",day:"Päev",list:"Päevakord"},weekText:"näd",allDayText:"Kogu päev",moreLinkText:function(e){return"+ veel "+e},noEventsText:"Kuvamiseks puuduvad sündmused"},l26={code:"eu",week:{dow:1,doy:7},buttonText:{prev:"Aur",next:"Hur",today:"Gaur",month:"Hilabetea",week:"Astea",day:"Eguna",list:"Agenda"},weekText:"As",allDayText:"Egun osoa",moreLinkText:"gehiago",noEventsText:"Ez dago ekitaldirik erakusteko"},l27={code:"fa",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"قبلی",next:"بعدی",today:"امروز",month:"ماه",week:"هفته",day:"روز",list:"برنامه"},weekText:"هف",allDayText:"تمام روز",moreLinkText:function(e){return"بیش از "+e},noEventsText:"هیچ رویدادی به نمایش"},l28={code:"fi",week:{dow:1,doy:4},buttonText:{prev:"Edellinen",next:"Seuraava",today:"Tänään",month:"Kuukausi",week:"Viikko",day:"Päivä",list:"Tapahtumat"},weekText:"Vk",allDayText:"Koko päivä",moreLinkText:"lisää",noEventsText:"Ei näytettäviä tapahtumia"},l29={code:"fr",buttonText:{prev:"Précédent",next:"Suivant",today:"Aujourd'hui",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sem.",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun événement à afficher"},l30={code:"fr-ch",week:{dow:1,doy:4},buttonText:{prev:"Précédent",next:"Suivant",today:"Courant",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sm",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun événement à afficher"},l31={code:"fr",week:{dow:1,doy:4},buttonText:{prev:"Précédent",next:"Suivant",today:"Aujourd'hui",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Planning"},weekText:"Sem.",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun événement à afficher"},l32={code:"gl",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Seg",today:"Hoxe",month:"Mes",week:"Semana",day:"Día",list:"Axenda"},weekText:"Sm",allDayText:"Todo o día",moreLinkText:"máis",noEventsText:"Non hai eventos para amosar"},l33={code:"he",direction:"rtl",buttonText:{prev:"הקודם",next:"הבא",today:"היום",month:"חודש",week:"שבוע",day:"יום",list:"סדר יום"},allDayText:"כל היום",moreLinkText:"אחר",noEventsText:"אין אירועים להצגה",weekText:"שבוע"},l34={code:"hi",week:{dow:0,doy:6},buttonText:{prev:"पिछला",next:"अगला",today:"आज",month:"महीना",week:"सप्ताह",day:"दिन",list:"कार्यसूची"},weekText:"हफ्ता",allDayText:"सभी दिन",moreLinkText:function(e){return"+अधिक "+e},noEventsText:"कोई घटनाओं को प्रदर्शित करने के लिए"},l35={code:"hr",week:{dow:1,doy:7},buttonText:{prev:"Prijašnji",next:"Sljedeći",today:"Danas",month:"Mjesec",week:"Tjedan",day:"Dan",list:"Raspored"},weekText:"Tje",allDayText:"Cijeli dan",moreLinkText:function(e){return"+ još "+e},noEventsText:"Nema događaja za prikaz"},l36={code:"hu",week:{dow:1,doy:4},buttonText:{prev:"vissza",next:"előre",today:"ma",month:"Hónap",week:"Hét",day:"Nap",list:"Lista"},weekText:"Hét",allDayText:"Egész nap",moreLinkText:"további",noEventsText:"Nincs megjeleníthető esemény"},l37={code:"hy-am",week:{dow:1,doy:4},buttonText:{prev:"Նախորդ",next:"Հաջորդ",today:"Այսօր",month:"Ամիս",week:"Շաբաթ",day:"Օր",list:"Օրվա ցուցակ"},weekText:"Շաբ",allDayText:"Ամբողջ օր",moreLinkText:function(e){return"+ ևս "+e},noEventsText:"Բացակայում է իրադարձությունը ցուցադրելու"},l38={code:"id",week:{dow:1,doy:7},buttonText:{prev:"mundur",next:"maju",today:"hari ini",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sehari penuh",moreLinkText:"lebih",noEventsText:"Tidak ada acara untuk ditampilkan"},l39={code:"is",week:{dow:1,doy:4},buttonText:{prev:"Fyrri",next:"Næsti",today:"Í dag",month:"Mánuður",week:"Vika",day:"Dagur",list:"Dagskrá"},weekText:"Vika",allDayText:"Allan daginn",moreLinkText:"meira",noEventsText:"Engir viðburðir til að sýna"},l40={code:"it",week:{dow:1,doy:4},buttonText:{prev:"Prec",next:"Succ",today:"Oggi",month:"Mese",week:"Settimana",day:"Giorno",list:"Agenda"},weekText:"Sm",allDayText:"Tutto il giorno",moreLinkText:function(e){return"+altri "+e},noEventsText:"Non ci sono eventi da visualizzare"},l41={code:"ja",buttonText:{prev:"前",next:"次",today:"今日",month:"月",week:"週",day:"日",list:"予定リスト"},weekText:"週",allDayText:"終日",moreLinkText:function(e){return"他 "+e+" 件"},noEventsText:"表示する予定はありません"},l42={code:"ka",week:{dow:1,doy:7},buttonText:{prev:"წინა",next:"შემდეგი",today:"დღეს",month:"თვე",week:"კვირა",day:"დღე",list:"დღის წესრიგი"},weekText:"კვ",allDayText:"მთელი დღე",moreLinkText:function(e){return"+ კიდევ "+e},noEventsText:"ღონისძიებები არ არის"},l43={code:"kk",week:{dow:1,doy:7},buttonText:{prev:"Алдыңғы",next:"Келесі",today:"Бүгін",month:"Ай",week:"Апта",day:"Күн",list:"Күн тәртібі"},weekText:"Не",allDayText:"Күні бойы",moreLinkText:function(e){return"+ тағы "+e},noEventsText:"Көрсету үшін оқиғалар жоқ"},l44={code:"km",week:{dow:1,doy:4},buttonText:{prev:"មុន",next:"បន្ទាប់",today:"ថ្ងៃនេះ",year:"ឆ្នាំ",month:"ខែ",week:"សប្តាហ៍",day:"ថ្ងៃ",list:"បញ្ជី"},weekText:"សប្តាហ៍",allDayText:"ពេញមួយថ្ងៃ",moreLinkText:"ច្រើនទៀត",noEventsText:"គ្មានព្រឹត្តិការណ៍ត្រូវបង្ហាញ"},l45={code:"ko",buttonText:{prev:"이전달",next:"다음달",today:"오늘",month:"월",week:"주",day:"일",list:"일정목록"},weekText:"주",allDayText:"종일",moreLinkText:"개",noEventsText:"일정이 없습니다"},l46={code:"ku",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"پێشتر",next:"دواتر",today:"ئەمڕو",month:"مانگ",week:"هەفتە",day:"ڕۆژ",list:"بەرنامە"},weekText:"هەفتە",allDayText:"هەموو ڕۆژەکە",moreLinkText:"زیاتر",noEventsText:"هیچ ڕووداوێك نیە"},l47={code:"lb",week:{dow:1,doy:4},buttonText:{prev:"Zréck",next:"Weider",today:"Haut",month:"Mount",week:"Woch",day:"Dag",list:"Terminiwwersiicht"},weekText:"W",allDayText:"Ganzen Dag",moreLinkText:"méi",noEventsText:"Nee Evenementer ze affichéieren"},l48={code:"lt",week:{dow:1,doy:4},buttonText:{prev:"Atgal",next:"Pirmyn",today:"Šiandien",month:"Mėnuo",week:"Savaitė",day:"Diena",list:"Darbotvarkė"},weekText:"SAV",allDayText:"Visą dieną",moreLinkText:"daugiau",noEventsText:"Nėra įvykių rodyti"},l49={code:"lv",week:{dow:1,doy:4},buttonText:{prev:"Iepr.",next:"Nāk.",today:"Šodien",month:"Mēnesis",week:"Nedēļa",day:"Diena",list:"Dienas kārtība"},weekText:"Ned.",allDayText:"Visu dienu",moreLinkText:function(e){return"+vēl "+e},noEventsText:"Nav notikumu"},l50={code:"mk",buttonText:{prev:"претходно",next:"следно",today:"Денес",month:"Месец",week:"Недела",day:"Ден",list:"График"},weekText:"Сед",allDayText:"Цел ден",moreLinkText:function(e){return"+повеќе "+e},noEventsText:"Нема настани за прикажување"},l51={code:"ms",week:{dow:1,doy:7},buttonText:{prev:"Sebelum",next:"Selepas",today:"hari ini",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sepanjang hari",moreLinkText:function(e){return"masih ada "+e+" acara"},noEventsText:"Tiada peristiwa untuk dipaparkan"},l52={code:"nb",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Neste",today:"I dag",month:"Måned",week:"Uke",day:"Dag",list:"Agenda"},weekText:"Uke",weekTextLong:"Uke",allDayText:"Hele dagen",moreLinkText:"til",noEventsText:"Ingen hendelser å vise",buttonHints:{prev:"Forrige $0",next:"Neste $0",today:"Nåværende $0"},viewHint:"$0 visning",navLinkHint:"Gå til $0",moreLinkHint:function(e){return"Vis ".concat(e," flere hendelse").concat(1===e?"":"r")}},l53={code:"ne",week:{dow:7,doy:1},buttonText:{prev:"अघिल्लो",next:"अर्को",today:"आज",month:"महिना",week:"हप्ता",day:"दिन",list:"सूची"},weekText:"हप्ता",allDayText:"दिनभरि",moreLinkText:"थप लिंक",noEventsText:"देखाउनको लागि कुनै घटनाहरू छैनन्"},l54={code:"nl",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandaag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Hele dag",moreLinkText:"extra",noEventsText:"Geen evenementen om te laten zien"},l55={code:"nn",week:{dow:1,doy:4},buttonText:{prev:"Førre",next:"Neste",today:"I dag",month:"Månad",week:"Veke",day:"Dag",list:"Agenda"},weekText:"Veke",allDayText:"Heile dagen",moreLinkText:"til",noEventsText:"Ingen hendelser å vise"},l56={code:"pl",week:{dow:1,doy:4},buttonText:{prev:"Poprzedni",next:"Następny",today:"Dziś",month:"Miesiąc",week:"Tydzień",day:"Dzień",list:"Plan dnia"},weekText:"Tydz",allDayText:"Cały dzień",moreLinkText:"więcej",noEventsText:"Brak wydarzeń do wyświetlenia"},l57={code:"pt-br",buttonText:{prev:"Anterior",next:"Próximo",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},weekText:"Sm",allDayText:"dia inteiro",moreLinkText:function(e){return"mais +"+e},noEventsText:"Não há eventos para mostrar"},l58={code:"pt",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Seguinte",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Agenda"},weekText:"Sem",allDayText:"Todo o dia",moreLinkText:"mais",noEventsText:"Não há eventos para mostrar"},l59={code:"ro",week:{dow:1,doy:7},buttonText:{prev:"precedentă",next:"următoare",today:"Azi",month:"Lună",week:"Săptămână",day:"Zi",list:"Agendă"},weekText:"Săpt",allDayText:"Toată ziua",moreLinkText:function(e){return"+alte "+e},noEventsText:"Nu există evenimente de afișat"},l60={code:"ru",week:{dow:1,doy:4},buttonText:{prev:"Пред",next:"След",today:"Сегодня",month:"Месяц",week:"Неделя",day:"День",list:"Повестка дня"},weekText:"Нед",allDayText:"Весь день",moreLinkText:function(e){return"+ ещё "+e},noEventsText:"Нет событий для отображения"},l61={code:"si-lk",week:{dow:1,doy:4},buttonText:{prev:"පෙර",next:"පසු",today:"අද",month:"මාසය",week:"සතිය",day:"දවස",list:"ලැයිස්තුව"},weekText:"සති",allDayText:"සියලු",moreLinkText:"තවත්",noEventsText:"මුකුත් නැත"},l62={code:"sk",week:{dow:1,doy:4},buttonText:{prev:"Predchádzajúci",next:"Nasledujúci",today:"Dnes",month:"Mesiac",week:"Týždeň",day:"Deň",list:"Rozvrh"},weekText:"Ty",allDayText:"Celý deň",moreLinkText:function(e){return"+ďalšie: "+e},noEventsText:"Žiadne akcie na zobrazenie"},l63={code:"sl",week:{dow:1,doy:7},buttonText:{prev:"Prejšnji",next:"Naslednji",today:"Trenutni",month:"Mesec",week:"Teden",day:"Dan",list:"Dnevni red"},weekText:"Teden",allDayText:"Ves dan",moreLinkText:"več",noEventsText:"Ni dogodkov za prikaz"},l64={code:"sm",buttonText:{prev:"Talu ai",next:"Mulimuli atu",today:"Aso nei",month:"Masina",week:"Vaiaso",day:"Aso",list:"Faasologa"},weekText:"Vaiaso",allDayText:"Aso atoa",moreLinkText:"sili atu",noEventsText:"Leai ni mea na tutupu"},l65={code:"sq",week:{dow:1,doy:4},buttonText:{prev:"mbrapa",next:"Përpara",today:"sot",month:"Muaj",week:"Javë",day:"Ditë",list:"Listë"},weekText:"Ja",allDayText:"Gjithë ditën",moreLinkText:function(e){return"+më tepër "+e},noEventsText:"Nuk ka evente për të shfaqur"},l66={code:"sr-cyrl",week:{dow:1,doy:7},buttonText:{prev:"Претходна",next:"следећи",today:"Данас",month:"Месец",week:"Недеља",day:"Дан",list:"Планер"},weekText:"Сед",allDayText:"Цео дан",moreLinkText:function(e){return"+ још "+e},noEventsText:"Нема догађаја за приказ"},l67={code:"sr",week:{dow:1,doy:7},buttonText:{prev:"Prethodna",next:"Sledeći",today:"Danas",month:"Mеsеc",week:"Nеdеlja",day:"Dan",list:"Planеr"},weekText:"Sed",allDayText:"Cеo dan",moreLinkText:function(e){return"+ još "+e},noEventsText:"Nеma događaja za prikaz"},l68={code:"sv",week:{dow:1,doy:4},buttonText:{prev:"Förra",next:"Nästa",today:"Idag",month:"Månad",week:"Vecka",day:"Dag",list:"Program"},buttonHints:{prev:function(e){return"Föregående ".concat(e.toLocaleLowerCase())},next:function(e){return"Nästa ".concat(e.toLocaleLowerCase())},today:function(e){return("Program"===e?"Detta":"Denna")+" "+e.toLocaleLowerCase()}},viewHint:"$0 vy",navLinkHint:"Gå till $0",moreLinkHint:function(e){return"Visa ytterligare ".concat(e," händelse").concat(1===e?"":"r")},weekText:"v.",weekTextLong:"Vecka",allDayText:"Heldag",moreLinkText:"till",noEventsText:"Inga händelser att visa",closeHint:"Stäng",timeHint:"Klockan",eventHint:"Händelse"},l69={code:"ta-in",week:{dow:1,doy:4},buttonText:{prev:"முந்தைய",next:"அடுத்தது",today:"இன்று",month:"மாதம்",week:"வாரம்",day:"நாள்",list:"தினசரி அட்டவணை"},weekText:"வாரம்",allDayText:"நாள் முழுவதும்",moreLinkText:function(e){return"+ மேலும் "+e},noEventsText:"காண்பிக்க நிகழ்வுகள் இல்லை"},l70={code:"th",week:{dow:1,doy:4},buttonText:{prev:"ก่อนหน้า",next:"ถัดไป",prevYear:"ปีก่อนหน้า",nextYear:"ปีถัดไป",year:"ปี",today:"วันนี้",month:"เดือน",week:"สัปดาห์",day:"วัน",list:"กำหนดการ"},weekText:"สัปดาห์",allDayText:"ตลอดวัน",moreLinkText:"เพิ่มเติม",noEventsText:"ไม่มีกิจกรรมที่จะแสดง"},l71={code:"tr",week:{dow:1,doy:7},buttonText:{prev:"geri",next:"ileri",today:"bugün",month:"Ay",week:"Hafta",day:"Gün",list:"Ajanda"},weekText:"Hf",allDayText:"Tüm gün",moreLinkText:"daha fazla",noEventsText:"Gösterilecek etkinlik yok"},l72={code:"ug",buttonText:{month:"ئاي",week:"ھەپتە",day:"كۈن",list:"كۈنتەرتىپ"},allDayText:"پۈتۈن كۈن"},l73={code:"uk",week:{dow:1,doy:7},buttonText:{prev:"Попередній",next:"далі",today:"Сьогодні",month:"Місяць",week:"Тиждень",day:"День",list:"Порядок денний"},weekText:"Тиж",allDayText:"Увесь день",moreLinkText:function(e){return"+ще "+e+"..."},noEventsText:"Немає подій для відображення"},l74={code:"uz",buttonText:{month:"Oy",week:"Xafta",day:"Kun",list:"Kun tartibi"},allDayText:"Kun bo'yi",moreLinkText:function(e){return"+ yana "+e},noEventsText:"Ko'rsatish uchun voqealar yo'q"},l75={code:"vi",week:{dow:1,doy:4},buttonText:{prev:"Trước",next:"Tiếp",today:"Hôm nay",month:"Tháng",week:"Tuần",day:"Ngày",list:"Lịch biểu"},weekText:"Tu",allDayText:"Cả ngày",moreLinkText:function(e){return"+ thêm "+e},noEventsText:"Không có sự kiện để hiển thị"},l76={code:"zh-cn",week:{dow:1,doy:4},buttonText:{prev:"上月",next:"下月",today:"今天",month:"月",week:"周",day:"日",list:"日程"},weekText:"周",allDayText:"全天",moreLinkText:function(e){return"另外 "+e+" 个"},noEventsText:"没有事件显示"},l77={code:"zh-tw",buttonText:{prev:"上月",next:"下月",today:"今天",month:"月",week:"週",day:"天",list:"活動列表"},weekText:"周",allDayText:"整天",moreLinkText:"顯示更多",noEventsText:"没有任何活動"},localesAll=[l0,l1,l2,l3,l4,l5,l6,l7,l8,l9,l10,l11,l12,l13,l14,l15,l16,l17,l18,l19,l20,l21,l22,l23,l24,l25,l26,l27,l28,l29,l30,l31,l32,l33,l34,l35,l36,l37,l38,l39,l40,l41,l42,l43,l44,l45,l46,l47,l48,l49,l50,l51,l52,l53,l54,l55,l56,l57,l58,l59,l60,l61,l62,l63,l64,l65,l66,l67,l68,l69,l70,l71,l72,l73,l74,l75,l76,l77],_default=localesAll$1.default=localesAll,lodash={exports:{}};
73
73
  /**
74
74
  * @license
75
75
  * Lodash <https://lodash.com/>
@@ -78,5 +78,5 @@ Docs & License: https://fullcalendar.io/
78
78
  * Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
79
79
  * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
80
80
  */
81
- !function(e,t){(function(){var n,r="Expected a function",o="__lodash_hash_undefined__",a="__lodash_placeholder__",i=16,l=32,s=64,u=128,c=256,d=1/0,f=9007199254740991,p=NaN,h=4294967295,v=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",i],["flip",512],["partial",l],["partialRight",s],["rearg",c]],m="[object Arguments]",g="[object Array]",y="[object Boolean]",b="[object Date]",w="[object Error]",E="[object Function]",S="[object GeneratorFunction]",k="[object Map]",_="[object Number]",T="[object Object]",x="[object Promise]",C="[object RegExp]",D="[object Set]",R="[object String]",P="[object Symbol]",I="[object WeakMap]",M="[object ArrayBuffer]",N="[object DataView]",O="[object Float32Array]",A="[object Float64Array]",L="[object Int8Array]",z="[object Int16Array]",H="[object Int32Array]",F="[object Uint8Array]",U="[object Uint8ClampedArray]",j="[object Uint16Array]",V="[object Uint32Array]",W=/\b__p \+= '';/g,B=/\b(__p \+=) '' \+/g,$=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,Y=RegExp(q.source),K=RegExp(G.source),Q=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,re=RegExp(ne.source),oe=/^\s+/,ae=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,ve=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=/($^)/,Ee=/['\n\r\u2028\u2029\\]/g,Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",ke="\\u2700-\\u27bf",_e="a-z\\xdf-\\xf6\\xf8-\\xff",Te="A-Z\\xc0-\\xd6\\xd8-\\xde",xe="\\ufe0e\\ufe0f",Ce="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",De="['’]",Re="[\\ud800-\\udfff]",Pe="["+Ce+"]",Ie="["+Se+"]",Me="\\d+",Ne="[\\u2700-\\u27bf]",Oe="["+_e+"]",Ae="[^\\ud800-\\udfff"+Ce+Me+ke+_e+Te+"]",Le="\\ud83c[\\udffb-\\udfff]",ze="[^\\ud800-\\udfff]",He="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Te+"]",je="(?:"+Oe+"|"+Ae+")",Ve="(?:"+Ue+"|"+Ae+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Be="(?:['’](?:D|LL|M|RE|S|T|VE))?",$e="(?:"+Ie+"|"+Le+")"+"?",qe="[\\ufe0e\\ufe0f]?",Ge=qe+$e+("(?:\\u200d(?:"+[ze,He,Fe].join("|")+")"+qe+$e+")*"),Ye="(?:"+[Ne,He,Fe].join("|")+")"+Ge,Ke="(?:"+[ze+Ie+"?",Ie,He,Fe,Re].join("|")+")",Qe=RegExp(De,"g"),Xe=RegExp(Ie,"g"),Ze=RegExp(Le+"(?="+Le+")|"+Ke+Ge,"g"),Je=RegExp([Ue+"?"+Oe+"+"+We+"(?="+[Pe,Ue,"$"].join("|")+")",Ve+"+"+Be+"(?="+[Pe,Ue+je,"$"].join("|")+")",Ue+"?"+je+"+"+We,Ue+"+"+Be,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Me,Ye].join("|"),"g"),et=RegExp("[\\u200d\\ud800-\\udfff"+Se+xe+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,ot={};ot[O]=ot[A]=ot[L]=ot[z]=ot[H]=ot[F]=ot[U]=ot[j]=ot[V]=!0,ot[m]=ot[g]=ot[M]=ot[y]=ot[N]=ot[b]=ot[w]=ot[E]=ot[k]=ot[_]=ot[T]=ot[C]=ot[D]=ot[R]=ot[I]=!1;var at={};at[m]=at[g]=at[M]=at[N]=at[y]=at[b]=at[O]=at[A]=at[L]=at[z]=at[H]=at[k]=at[_]=at[T]=at[C]=at[D]=at[R]=at[P]=at[F]=at[U]=at[j]=at[V]=!0,at[w]=at[E]=at[I]=!1;var it={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,st=parseInt,ut="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,ct="object"==typeof self&&self&&self.Object===Object&&self,dt=ut||ct||Function("return this")(),ft=t&&!t.nodeType&&t,pt=ft&&e&&!e.nodeType&&e,ht=pt&&pt.exports===ft,vt=ht&&ut.process,mt=function(){try{var e=pt&&pt.require&&pt.require("util").types;return e||vt&&vt.binding&&vt.binding("util")}catch(e){}}(),gt=mt&&mt.isArrayBuffer,yt=mt&&mt.isDate,bt=mt&&mt.isMap,wt=mt&&mt.isRegExp,Et=mt&&mt.isSet,St=mt&&mt.isTypedArray;function kt(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function _t(e,t,n,r){for(var o=-1,a=null==e?0:e.length;++o<a;){var i=e[o];t(r,i,n(i),e)}return r}function Tt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function xt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Dt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,a=[];++n<r;){var i=e[n];t(i,n,e)&&(a[o++]=i)}return a}function Rt(e,t){return!!(null==e?0:e.length)&&Ft(e,t,0)>-1}function Pt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function It(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Mt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Nt(e,t,n,r){var o=-1,a=null==e?0:e.length;for(r&&a&&(n=e[++o]);++o<a;)n=t(n,e[o],o,e);return n}function Ot(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function At(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Lt=Wt("length");function zt(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Ht(e,t,n,r){for(var o=e.length,a=n+(r?1:-1);r?a--:++a<o;)if(t(e[a],a,e))return a;return-1}function Ft(e,t,n){return t==t?function(e,t,n){var r=n-1,o=e.length;for(;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Ht(e,jt,n)}function Ut(e,t,n,r){for(var o=n-1,a=e.length;++o<a;)if(r(e[o],t))return o;return-1}function jt(e){return e!=e}function Vt(e,t){var n=null==e?0:e.length;return n?qt(e,t)/n:p}function Wt(e){return function(t){return null==t?n:t[e]}}function Bt(e){return function(t){return null==e?n:e[t]}}function $t(e,t,n,r,o){return o(e,(function(e,o,a){n=r?(r=!1,e):t(n,e,o,a)})),n}function qt(e,t){for(var r,o=-1,a=e.length;++o<a;){var i=t(e[o]);i!==n&&(r=r===n?i:r+i)}return r}function Gt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Yt(e){return e?e.slice(0,pn(e)+1).replace(oe,""):e}function Kt(e){return function(t){return e(t)}}function Qt(e,t){return It(t,(function(t){return e[t]}))}function Xt(e,t){return e.has(t)}function Zt(e,t){for(var n=-1,r=e.length;++n<r&&Ft(t,e[n],0)>-1;);return n}function Jt(e,t){for(var n=e.length;n--&&Ft(t,e[n],0)>-1;);return n}function en(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var tn=Bt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),nn=Bt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function rn(e){return"\\"+it[e]}function on(e){return et.test(e)}function an(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function sn(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var l=e[n];l!==t&&l!==a||(e[n]=a,i[o++]=n)}return i}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function dn(e){return on(e)?function(e){var t=Ze.lastIndex=0;for(;Ze.test(e);)++t;return t}(e):Lt(e)}function fn(e){return on(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.split("")}(e)}function pn(e){for(var t=e.length;t--&&ae.test(e.charAt(t)););return t}var hn=Bt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var vn=function e(t){var ae,Se=(t=null==t?dt:vn.defaults(dt.Object(),t,vn.pick(dt,nt))).Array,ke=t.Date,_e=t.Error,Te=t.Function,xe=t.Math,Ce=t.Object,De=t.RegExp,Re=t.String,Pe=t.TypeError,Ie=Se.prototype,Me=Te.prototype,Ne=Ce.prototype,Oe=t["__core-js_shared__"],Ae=Me.toString,Le=Ne.hasOwnProperty,ze=0,He=(ae=/[^.]+$/.exec(Oe&&Oe.keys&&Oe.keys.IE_PROTO||""))?"Symbol(src)_1."+ae:"",Fe=Ne.toString,Ue=Ae.call(Ce),je=dt._,Ve=De("^"+Ae.call(Le).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),We=ht?t.Buffer:n,Be=t.Symbol,$e=t.Uint8Array,qe=We?We.allocUnsafe:n,Ge=ln(Ce.getPrototypeOf,Ce),Ye=Ce.create,Ke=Ne.propertyIsEnumerable,Ze=Ie.splice,et=Be?Be.isConcatSpreadable:n,it=Be?Be.iterator:n,ut=Be?Be.toStringTag:n,ct=function(){try{var e=ha(Ce,"defineProperty");return e({},"",{}),e}catch(e){}}(),ft=t.clearTimeout!==dt.clearTimeout&&t.clearTimeout,pt=ke&&ke.now!==dt.Date.now&&ke.now,vt=t.setTimeout!==dt.setTimeout&&t.setTimeout,mt=xe.ceil,Lt=xe.floor,Bt=Ce.getOwnPropertySymbols,mn=We?We.isBuffer:n,gn=t.isFinite,yn=Ie.join,bn=ln(Ce.keys,Ce),wn=xe.max,En=xe.min,Sn=ke.now,kn=t.parseInt,_n=xe.random,Tn=Ie.reverse,xn=ha(t,"DataView"),Cn=ha(t,"Map"),Dn=ha(t,"Promise"),Rn=ha(t,"Set"),Pn=ha(t,"WeakMap"),In=ha(Ce,"create"),Mn=Pn&&new Pn,Nn={},On=ja(xn),An=ja(Cn),Ln=ja(Dn),zn=ja(Rn),Hn=ja(Pn),Fn=Be?Be.prototype:n,Un=Fn?Fn.valueOf:n,jn=Fn?Fn.toString:n;function Vn(e){if(ol(e)&&!Gi(e)&&!(e instanceof qn)){if(e instanceof $n)return e;if(Le.call(e,"__wrapped__"))return Va(e)}return new $n(e)}var Wn=function(){function e(){}return function(t){if(!rl(t))return{};if(Ye)return Ye(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Bn(){}function $n(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Qn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Kn;++t<n;)this.add(e[t])}function Xn(e){var t=this.__data__=new Yn(e);this.size=t.size}function Zn(e,t){var n=Gi(e),r=!n&&qi(e),o=!n&&!r&&Xi(e),a=!n&&!r&&!o&&fl(e),i=n||r||o||a,l=i?Gt(e.length,Re):[],s=l.length;for(var u in e)!t&&!Le.call(e,u)||i&&("length"==u||o&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Ea(u,s))||l.push(u);return l}function Jn(e){var t=e.length;return t?e[Qr(0,t-1)]:n}function er(e,t){return Ha(Mo(e),ur(t,0,e.length))}function tr(e){return Ha(Mo(e))}function nr(e,t,r){(r!==n&&!Wi(e[t],r)||r===n&&!(t in e))&&lr(e,t,r)}function rr(e,t,r){var o=e[t];Le.call(e,t)&&Wi(o,r)&&(r!==n||t in e)||lr(e,t,r)}function or(e,t){for(var n=e.length;n--;)if(Wi(e[n][0],t))return n;return-1}function ar(e,t,n,r){return hr(e,(function(e,o,a){t(r,e,n(e),a)})),r}function ir(e,t){return e&&No(t,Ol(t),e)}function lr(e,t,n){"__proto__"==t&&ct?ct(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function sr(e,t){for(var r=-1,o=t.length,a=Se(o),i=null==e;++r<o;)a[r]=i?n:Rl(e,t[r]);return a}function ur(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function cr(e,t,r,o,a,i){var l,s=1&t,u=2&t,c=4&t;if(r&&(l=a?r(e,o,a,i):r(e)),l!==n)return l;if(!rl(e))return e;var d=Gi(e);if(d){if(l=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return Mo(e,l)}else{var f=ga(e),p=f==E||f==S;if(Xi(e))return xo(e,s);if(f==T||f==m||p&&!a){if(l=u||p?{}:ba(e),!s)return u?function(e,t){return No(e,ma(e),t)}(e,function(e,t){return e&&No(t,Al(t),e)}(l,e)):function(e,t){return No(e,va(e),t)}(e,ir(l,e))}else{if(!at[f])return a?e:{};l=function(e,t,n){var r=e.constructor;switch(t){case M:return Co(e);case y:case b:return new r(+e);case N:return function(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case O:case A:case L:case z:case H:case F:case U:case j:case V:return Do(e,n);case k:return new r;case _:case R:return new r(e);case C:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case D:return new r;case P:return o=e,Un?Ce(Un.call(o)):{}}var o}(e,f,s)}}i||(i=new Xn);var h=i.get(e);if(h)return h;i.set(e,l),ul(e)?e.forEach((function(n){l.add(cr(n,t,r,n,e,i))})):al(e)&&e.forEach((function(n,o){l.set(o,cr(n,t,r,o,e,i))}));var v=d?n:(c?u?la:ia:u?Al:Ol)(e);return Tt(v||e,(function(n,o){v&&(n=e[o=n]),rr(l,o,cr(n,t,r,o,e,i))})),l}function dr(e,t,r){var o=r.length;if(null==e)return!o;for(e=Ce(e);o--;){var a=r[o],i=t[a],l=e[a];if(l===n&&!(a in e)||!i(l))return!1}return!0}function fr(e,t,o){if("function"!=typeof e)throw new Pe(r);return Oa((function(){e.apply(n,o)}),t)}function pr(e,t,n,r){var o=-1,a=Rt,i=!0,l=e.length,s=[],u=t.length;if(!l)return s;n&&(t=It(t,Kt(n))),r?(a=Pt,i=!1):t.length>=200&&(a=Xt,i=!1,t=new Qn(t));e:for(;++o<l;){var c=e[o],d=null==n?c:n(c);if(c=r||0!==c?c:0,i&&d==d){for(var f=u;f--;)if(t[f]===d)continue e;s.push(c)}else a(t,d,r)||s.push(c)}return s}Vn.templateSettings={escape:Q,evaluate:X,interpolate:Z,variable:"",imports:{_:Vn}},Vn.prototype=Bn.prototype,Vn.prototype.constructor=Vn,$n.prototype=Wn(Bn.prototype),$n.prototype.constructor=$n,qn.prototype=Wn(Bn.prototype),qn.prototype.constructor=qn,Gn.prototype.clear=function(){this.__data__=In?In(null):{},this.size=0},Gn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Gn.prototype.get=function(e){var t=this.__data__;if(In){var r=t[e];return r===o?n:r}return Le.call(t,e)?t[e]:n},Gn.prototype.has=function(e){var t=this.__data__;return In?t[e]!==n:Le.call(t,e)},Gn.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=In&&t===n?o:t,this},Yn.prototype.clear=function(){this.__data__=[],this.size=0},Yn.prototype.delete=function(e){var t=this.__data__,n=or(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ze.call(t,n,1),--this.size,!0)},Yn.prototype.get=function(e){var t=this.__data__,r=or(t,e);return r<0?n:t[r][1]},Yn.prototype.has=function(e){return or(this.__data__,e)>-1},Yn.prototype.set=function(e,t){var n=this.__data__,r=or(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Gn,map:new(Cn||Yn),string:new Gn}},Kn.prototype.delete=function(e){var t=fa(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return fa(this,e).get(e)},Kn.prototype.has=function(e){return fa(this,e).has(e)},Kn.prototype.set=function(e,t){var n=fa(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Qn.prototype.add=Qn.prototype.push=function(e){return this.__data__.set(e,o),this},Qn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.clear=function(){this.__data__=new Yn,this.size=0},Xn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Xn.prototype.get=function(e){return this.__data__.get(e)},Xn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Yn){var r=n.__data__;if(!Cn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var hr=Lo(Sr),vr=Lo(kr,!0);function mr(e,t){var n=!0;return hr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function gr(e,t,r){for(var o=-1,a=e.length;++o<a;){var i=e[o],l=t(i);if(null!=l&&(s===n?l==l&&!dl(l):r(l,s)))var s=l,u=i}return u}function yr(e,t){var n=[];return hr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function br(e,t,n,r,o){var a=-1,i=e.length;for(n||(n=wa),o||(o=[]);++a<i;){var l=e[a];t>0&&n(l)?t>1?br(l,t-1,n,r,o):Mt(o,l):r||(o[o.length]=l)}return o}var wr=zo(),Er=zo(!0);function Sr(e,t){return e&&wr(e,t,Ol)}function kr(e,t){return e&&Er(e,t,Ol)}function _r(e,t){return Dt(t,(function(t){return el(e[t])}))}function Tr(e,t){for(var r=0,o=(t=So(t,e)).length;null!=e&&r<o;)e=e[Ua(t[r++])];return r&&r==o?e:n}function xr(e,t,n){var r=t(e);return Gi(e)?r:Mt(r,n(e))}function Cr(e){return null==e?e===n?"[object Undefined]":"[object Null]":ut&&ut in Ce(e)?function(e){var t=Le.call(e,ut),r=e[ut];try{e[ut]=n;var o=!0}catch(e){}var a=Fe.call(e);o&&(t?e[ut]=r:delete e[ut]);return a}(e):function(e){return Fe.call(e)}(e)}function Dr(e,t){return e>t}function Rr(e,t){return null!=e&&Le.call(e,t)}function Pr(e,t){return null!=e&&t in Ce(e)}function Ir(e,t,r){for(var o=r?Pt:Rt,a=e[0].length,i=e.length,l=i,s=Se(i),u=1/0,c=[];l--;){var d=e[l];l&&t&&(d=It(d,Kt(t))),u=En(d.length,u),s[l]=!r&&(t||a>=120&&d.length>=120)?new Qn(l&&d):n}d=e[0];var f=-1,p=s[0];e:for(;++f<a&&c.length<u;){var h=d[f],v=t?t(h):h;if(h=r||0!==h?h:0,!(p?Xt(p,v):o(c,v,r))){for(l=i;--l;){var m=s[l];if(!(m?Xt(m,v):o(e[l],v,r)))continue e}p&&p.push(v),c.push(h)}}return c}function Mr(e,t,r){var o=null==(e=Pa(e,t=So(t,e)))?e:e[Ua(Ja(t))];return null==o?n:kt(o,e,r)}function Nr(e){return ol(e)&&Cr(e)==m}function Or(e,t,r,o,a){return e===t||(null==e||null==t||!ol(e)&&!ol(t)?e!=e&&t!=t:function(e,t,r,o,a,i){var l=Gi(e),s=Gi(t),u=l?g:ga(e),c=s?g:ga(t),d=(u=u==m?T:u)==T,f=(c=c==m?T:c)==T,p=u==c;if(p&&Xi(e)){if(!Xi(t))return!1;l=!0,d=!1}if(p&&!d)return i||(i=new Xn),l||fl(e)?oa(e,t,r,o,a,i):function(e,t,n,r,o,a,i){switch(n){case N:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case M:return!(e.byteLength!=t.byteLength||!a(new $e(e),new $e(t)));case y:case b:case _:return Wi(+e,+t);case w:return e.name==t.name&&e.message==t.message;case C:case R:return e==t+"";case k:var l=an;case D:var s=1&r;if(l||(l=un),e.size!=t.size&&!s)return!1;var u=i.get(e);if(u)return u==t;r|=2,i.set(e,t);var c=oa(l(e),l(t),r,o,a,i);return i.delete(e),c;case P:if(Un)return Un.call(e)==Un.call(t)}return!1}(e,t,u,r,o,a,i);if(!(1&r)){var h=d&&Le.call(e,"__wrapped__"),v=f&&Le.call(t,"__wrapped__");if(h||v){var E=h?e.value():e,S=v?t.value():t;return i||(i=new Xn),a(E,S,r,o,i)}}if(!p)return!1;return i||(i=new Xn),function(e,t,r,o,a,i){var l=1&r,s=ia(e),u=s.length,c=ia(t).length;if(u!=c&&!l)return!1;var d=u;for(;d--;){var f=s[d];if(!(l?f in t:Le.call(t,f)))return!1}var p=i.get(e),h=i.get(t);if(p&&h)return p==t&&h==e;var v=!0;i.set(e,t),i.set(t,e);var m=l;for(;++d<u;){var g=e[f=s[d]],y=t[f];if(o)var b=l?o(y,g,f,t,e,i):o(g,y,f,e,t,i);if(!(b===n?g===y||a(g,y,r,o,i):b)){v=!1;break}m||(m="constructor"==f)}if(v&&!m){var w=e.constructor,E=t.constructor;w==E||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof E&&E instanceof E||(v=!1)}return i.delete(e),i.delete(t),v}(e,t,r,o,a,i)}(e,t,r,o,Or,a))}function Ar(e,t,r,o){var a=r.length,i=a,l=!o;if(null==e)return!i;for(e=Ce(e);a--;){var s=r[a];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++a<i;){var u=(s=r[a])[0],c=e[u],d=s[1];if(l&&s[2]){if(c===n&&!(u in e))return!1}else{var f=new Xn;if(o)var p=o(c,d,u,e,t,f);if(!(p===n?Or(d,c,3,o,f):p))return!1}}return!0}function Lr(e){return!(!rl(e)||(t=e,He&&He in t))&&(el(e)?Ve:me).test(ja(e));var t}function zr(e){return"function"==typeof e?e:null==e?is:"object"==typeof e?Gi(e)?Wr(e[0],e[1]):Vr(e):vs(e)}function Hr(e){if(!xa(e))return bn(e);var t=[];for(var n in Ce(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Fr(e){if(!rl(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=xa(e),n=[];for(var r in e)("constructor"!=r||!t&&Le.call(e,r))&&n.push(r);return n}function Ur(e,t){return e<t}function jr(e,t){var n=-1,r=Ki(e)?Se(e.length):[];return hr(e,(function(e,o,a){r[++n]=t(e,o,a)})),r}function Vr(e){var t=pa(e);return 1==t.length&&t[0][2]?Da(t[0][0],t[0][1]):function(n){return n===e||Ar(n,e,t)}}function Wr(e,t){return ka(e)&&Ca(t)?Da(Ua(e),t):function(r){var o=Rl(r,e);return o===n&&o===t?Pl(r,e):Or(t,o,3)}}function Br(e,t,r,o,a){e!==t&&wr(t,(function(i,l){if(a||(a=new Xn),rl(i))!function(e,t,r,o,a,i,l){var s=Ma(e,r),u=Ma(t,r),c=l.get(u);if(c)return void nr(e,r,c);var d=i?i(s,u,r+"",e,t,l):n,f=d===n;if(f){var p=Gi(u),h=!p&&Xi(u),v=!p&&!h&&fl(u);d=u,p||h||v?Gi(s)?d=s:Qi(s)?d=Mo(s):h?(f=!1,d=xo(u,!0)):v?(f=!1,d=Do(u,!0)):d=[]:ll(u)||qi(u)?(d=s,qi(s)?d=wl(s):rl(s)&&!el(s)||(d=ba(u))):f=!1}f&&(l.set(u,d),a(d,u,o,i,l),l.delete(u));nr(e,r,d)}(e,t,l,r,Br,o,a);else{var s=o?o(Ma(e,l),i,l+"",e,t,a):n;s===n&&(s=i),nr(e,l,s)}}),Al)}function $r(e,t){var r=e.length;if(r)return Ea(t+=t<0?r:0,r)?e[t]:n}function qr(e,t,n){t=t.length?It(t,(function(e){return Gi(e)?function(t){return Tr(t,1===e.length?e[0]:e)}:e})):[is];var r=-1;t=It(t,Kt(da()));var o=jr(e,(function(e,n,o){var a=It(t,(function(t){return t(e)}));return{criteria:a,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(o,(function(e,t){return function(e,t,n){var r=-1,o=e.criteria,a=t.criteria,i=o.length,l=n.length;for(;++r<i;){var s=Ro(o[r],a[r]);if(s)return r>=l?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Gr(e,t,n){for(var r=-1,o=t.length,a={};++r<o;){var i=t[r],l=Tr(e,i);n(l,i)&&to(a,So(i,e),l)}return a}function Yr(e,t,n,r){var o=r?Ut:Ft,a=-1,i=t.length,l=e;for(e===t&&(t=Mo(t)),n&&(l=It(e,Kt(n)));++a<i;)for(var s=0,u=t[a],c=n?n(u):u;(s=o(l,c,s,r))>-1;)l!==e&&Ze.call(l,s,1),Ze.call(e,s,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==a){var a=o;Ea(o)?Ze.call(e,o,1):ho(e,o)}}return e}function Qr(e,t){return e+Lt(_n()*(t-e+1))}function Xr(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=Lt(t/2))&&(e+=e)}while(t);return n}function Zr(e,t){return Aa(Ra(e,t,is),e+"")}function Jr(e){return Jn(Wl(e))}function eo(e,t){var n=Wl(e);return Ha(n,ur(t,0,n.length))}function to(e,t,r,o){if(!rl(e))return e;for(var a=-1,i=(t=So(t,e)).length,l=i-1,s=e;null!=s&&++a<i;){var u=Ua(t[a]),c=r;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(a!=l){var d=s[u];(c=o?o(d,u,s):n)===n&&(c=rl(d)?d:Ea(t[a+1])?[]:{})}rr(s,u,c),s=s[u]}return e}var no=Mn?function(e,t){return Mn.set(e,t),e}:is,ro=ct?function(e,t){return ct(e,"toString",{configurable:!0,enumerable:!1,value:rs(t),writable:!0})}:is;function oo(e){return Ha(Wl(e))}function ao(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=Se(o);++r<o;)a[r]=e[r+t];return a}function io(e,t){var n;return hr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function lo(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=2147483647){for(;r<o;){var a=r+o>>>1,i=e[a];null!==i&&!dl(i)&&(n?i<=t:i<t)?r=a+1:o=a}return o}return so(e,t,is,n)}function so(e,t,r,o){var a=0,i=null==e?0:e.length;if(0===i)return 0;for(var l=(t=r(t))!=t,s=null===t,u=dl(t),c=t===n;a<i;){var d=Lt((a+i)/2),f=r(e[d]),p=f!==n,h=null===f,v=f==f,m=dl(f);if(l)var g=o||v;else g=c?v&&(o||p):s?v&&p&&(o||!h):u?v&&p&&!h&&(o||!m):!h&&!m&&(o?f<=t:f<t);g?a=d+1:i=d}return En(i,4294967294)}function uo(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var i=e[n],l=t?t(i):i;if(!n||!Wi(l,s)){var s=l;a[o++]=0===i?0:i}}return a}function co(e){return"number"==typeof e?e:dl(e)?p:+e}function fo(e){if("string"==typeof e)return e;if(Gi(e))return It(e,fo)+"";if(dl(e))return jn?jn.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function po(e,t,n){var r=-1,o=Rt,a=e.length,i=!0,l=[],s=l;if(n)i=!1,o=Pt;else if(a>=200){var u=t?null:Zo(e);if(u)return un(u);i=!1,o=Xt,s=new Qn}else s=t?[]:l;e:for(;++r<a;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,i&&d==d){for(var f=s.length;f--;)if(s[f]===d)continue e;t&&s.push(d),l.push(c)}else o(s,d,n)||(s!==l&&s.push(d),l.push(c))}return l}function ho(e,t){return null==(e=Pa(e,t=So(t,e)))||delete e[Ua(Ja(t))]}function vo(e,t,n,r){return to(e,t,n(Tr(e,t)),r)}function mo(e,t,n,r){for(var o=e.length,a=r?o:-1;(r?a--:++a<o)&&t(e[a],a,e););return n?ao(e,r?0:a,r?a+1:o):ao(e,r?a+1:0,r?o:a)}function go(e,t){var n=e;return n instanceof qn&&(n=n.value()),Nt(t,(function(e,t){return t.func.apply(t.thisArg,Mt([e],t.args))}),n)}function yo(e,t,n){var r=e.length;if(r<2)return r?po(e[0]):[];for(var o=-1,a=Se(r);++o<r;)for(var i=e[o],l=-1;++l<r;)l!=o&&(a[o]=pr(a[o]||i,e[l],t,n));return po(br(a,1),t,n)}function bo(e,t,r){for(var o=-1,a=e.length,i=t.length,l={};++o<a;){var s=o<i?t[o]:n;r(l,e[o],s)}return l}function wo(e){return Qi(e)?e:[]}function Eo(e){return"function"==typeof e?e:is}function So(e,t){return Gi(e)?e:ka(e,t)?[e]:Fa(El(e))}var ko=Zr;function _o(e,t,r){var o=e.length;return r=r===n?o:r,!t&&r>=o?e:ao(e,t,r)}var To=ft||function(e){return dt.clearTimeout(e)};function xo(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function Co(e){var t=new e.constructor(e.byteLength);return new $e(t).set(new $e(e)),t}function Do(e,t){var n=t?Co(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Ro(e,t){if(e!==t){var r=e!==n,o=null===e,a=e==e,i=dl(e),l=t!==n,s=null===t,u=t==t,c=dl(t);if(!s&&!c&&!i&&e>t||i&&l&&u&&!s&&!c||o&&l&&u||!r&&u||!a)return 1;if(!o&&!i&&!c&&e<t||c&&r&&a&&!o&&!i||s&&r&&a||!l&&a||!u)return-1}return 0}function Po(e,t,n,r){for(var o=-1,a=e.length,i=n.length,l=-1,s=t.length,u=wn(a-i,0),c=Se(s+u),d=!r;++l<s;)c[l]=t[l];for(;++o<i;)(d||o<a)&&(c[n[o]]=e[o]);for(;u--;)c[l++]=e[o++];return c}function Io(e,t,n,r){for(var o=-1,a=e.length,i=-1,l=n.length,s=-1,u=t.length,c=wn(a-l,0),d=Se(c+u),f=!r;++o<c;)d[o]=e[o];for(var p=o;++s<u;)d[p+s]=t[s];for(;++i<l;)(f||o<a)&&(d[p+n[i]]=e[o++]);return d}function Mo(e,t){var n=-1,r=e.length;for(t||(t=Se(r));++n<r;)t[n]=e[n];return t}function No(e,t,r,o){var a=!r;r||(r={});for(var i=-1,l=t.length;++i<l;){var s=t[i],u=o?o(r[s],e[s],s,r,e):n;u===n&&(u=e[s]),a?lr(r,s,u):rr(r,s,u)}return r}function Oo(e,t){return function(n,r){var o=Gi(n)?_t:ar,a=t?t():{};return o(n,e,da(r,2),a)}}function Ao(e){return Zr((function(t,r){var o=-1,a=r.length,i=a>1?r[a-1]:n,l=a>2?r[2]:n;for(i=e.length>3&&"function"==typeof i?(a--,i):n,l&&Sa(r[0],r[1],l)&&(i=a<3?n:i,a=1),t=Ce(t);++o<a;){var s=r[o];s&&e(t,s,o,i)}return t}))}function Lo(e,t){return function(n,r){if(null==n)return n;if(!Ki(n))return e(n,r);for(var o=n.length,a=t?o:-1,i=Ce(n);(t?a--:++a<o)&&!1!==r(i[a],a,i););return n}}function zo(e){return function(t,n,r){for(var o=-1,a=Ce(t),i=r(t),l=i.length;l--;){var s=i[e?l:++o];if(!1===n(a[s],s,a))break}return t}}function Ho(e){return function(t){var r=on(t=El(t))?fn(t):n,o=r?r[0]:t.charAt(0),a=r?_o(r,1).join(""):t.slice(1);return o[e]()+a}}function Fo(e){return function(t){return Nt(es(ql(t).replace(Qe,"")),e,"")}}function Uo(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Wn(e.prototype),r=e.apply(n,t);return rl(r)?r:n}}function jo(e){return function(t,r,o){var a=Ce(t);if(!Ki(t)){var i=da(r,3);t=Ol(t),r=function(e){return i(a[e],e,a)}}var l=e(t,r,o);return l>-1?a[i?t[l]:l]:n}}function Vo(e){return aa((function(t){var o=t.length,a=o,i=$n.prototype.thru;for(e&&t.reverse();a--;){var l=t[a];if("function"!=typeof l)throw new Pe(r);if(i&&!s&&"wrapper"==ua(l))var s=new $n([],!0)}for(a=s?a:o;++a<o;){var u=ua(l=t[a]),c="wrapper"==u?sa(l):n;s=c&&_a(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[ua(c[0])].apply(s,c[3]):1==l.length&&_a(l)?s[u]():s.thru(l)}return function(){var e=arguments,n=e[0];if(s&&1==e.length&&Gi(n))return s.plant(n).value();for(var r=0,a=o?t[r].apply(this,e):n;++r<o;)a=t[r].call(this,a);return a}}))}function Wo(e,t,r,o,a,i,l,s,c,d){var f=t&u,p=1&t,h=2&t,v=24&t,m=512&t,g=h?n:Uo(e);return function n(){for(var u=arguments.length,y=Se(u),b=u;b--;)y[b]=arguments[b];if(v)var w=ca(n),E=en(y,w);if(o&&(y=Po(y,o,a,v)),i&&(y=Io(y,i,l,v)),u-=E,v&&u<d){var S=sn(y,w);return Qo(e,t,Wo,n.placeholder,r,y,S,s,c,d-u)}var k=p?r:this,_=h?k[e]:e;return u=y.length,s?y=Ia(y,s):m&&u>1&&y.reverse(),f&&c<u&&(y.length=c),this&&this!==dt&&this instanceof n&&(_=g||Uo(_)),_.apply(k,y)}}function Bo(e,t){return function(n,r){return function(e,t,n,r){return Sr(e,(function(e,o,a){t(r,n(e),o,a)})),r}(n,e,t(r),{})}}function $o(e,t){return function(r,o){var a;if(r===n&&o===n)return t;if(r!==n&&(a=r),o!==n){if(a===n)return o;"string"==typeof r||"string"==typeof o?(r=fo(r),o=fo(o)):(r=co(r),o=co(o)),a=e(r,o)}return a}}function qo(e){return aa((function(t){return t=It(t,Kt(da())),Zr((function(n){var r=this;return e(t,(function(e){return kt(e,r,n)}))}))}))}function Go(e,t){var r=(t=t===n?" ":fo(t)).length;if(r<2)return r?Xr(t,e):t;var o=Xr(t,mt(e/dn(t)));return on(t)?_o(fn(o),0,e).join(""):o.slice(0,e)}function Yo(e){return function(t,r,o){return o&&"number"!=typeof o&&Sa(t,r,o)&&(r=o=n),t=ml(t),r===n?(r=t,t=0):r=ml(r),function(e,t,n,r){for(var o=-1,a=wn(mt((t-e)/(n||1)),0),i=Se(a);a--;)i[r?a:++o]=e,e+=n;return i}(t,r,o=o===n?t<r?1:-1:ml(o),e)}}function Ko(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=bl(t),n=bl(n)),e(t,n)}}function Qo(e,t,r,o,a,i,u,c,d,f){var p=8&t;t|=p?l:s,4&(t&=~(p?s:l))||(t&=-4);var h=[e,t,a,p?i:n,p?u:n,p?n:i,p?n:u,c,d,f],v=r.apply(n,h);return _a(e)&&Na(v,h),v.placeholder=o,La(v,e,t)}function Xo(e){var t=xe[e];return function(e,n){if(e=bl(e),(n=null==n?0:En(gl(n),292))&&gn(e)){var r=(El(e)+"e").split("e");return+((r=(El(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Zo=Rn&&1/un(new Rn([,-0]))[1]==d?function(e){return new Rn(e)}:ds;function Jo(e){return function(t){var n=ga(t);return n==k?an(t):n==D?cn(t):function(e,t){return It(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function ea(e,t,o,d,f,p,h,v){var m=2&t;if(!m&&"function"!=typeof e)throw new Pe(r);var g=d?d.length:0;if(g||(t&=-97,d=f=n),h=h===n?h:wn(gl(h),0),v=v===n?v:gl(v),g-=f?f.length:0,t&s){var y=d,b=f;d=f=n}var w=m?n:sa(e),E=[e,t,o,d,f,y,b,p,h,v];if(w&&function(e,t){var n=e[1],r=t[1],o=n|r,i=o<131,l=r==u&&8==n||r==u&&n==c&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!l)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var s=t[3];if(s){var d=e[3];e[3]=d?Po(d,s,t[4]):s,e[4]=d?sn(e[3],a):t[4]}(s=t[5])&&(d=e[5],e[5]=d?Io(d,s,t[6]):s,e[6]=d?sn(e[5],a):t[6]);(s=t[7])&&(e[7]=s);r&u&&(e[8]=null==e[8]?t[8]:En(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=o}(E,w),e=E[0],t=E[1],o=E[2],d=E[3],f=E[4],!(v=E[9]=E[9]===n?m?0:e.length:wn(E[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)S=8==t||t==i?function(e,t,r){var o=Uo(e);return function a(){for(var i=arguments.length,l=Se(i),s=i,u=ca(a);s--;)l[s]=arguments[s];var c=i<3&&l[0]!==u&&l[i-1]!==u?[]:sn(l,u);return(i-=c.length)<r?Qo(e,t,Wo,a.placeholder,n,l,c,n,n,r-i):kt(this&&this!==dt&&this instanceof a?o:e,this,l)}}(e,t,v):t!=l&&33!=t||f.length?Wo.apply(n,E):function(e,t,n,r){var o=1&t,a=Uo(e);return function t(){for(var i=-1,l=arguments.length,s=-1,u=r.length,c=Se(u+l),d=this&&this!==dt&&this instanceof t?a:e;++s<u;)c[s]=r[s];for(;l--;)c[s++]=arguments[++i];return kt(d,o?n:this,c)}}(e,t,o,d);else var S=function(e,t,n){var r=1&t,o=Uo(e);return function t(){return(this&&this!==dt&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,o);return La((w?no:Na)(S,E),e,t)}function ta(e,t,r,o){return e===n||Wi(e,Ne[r])&&!Le.call(o,r)?t:e}function na(e,t,r,o,a,i){return rl(e)&&rl(t)&&(i.set(t,e),Br(e,t,n,na,i),i.delete(t)),e}function ra(e){return ll(e)?n:e}function oa(e,t,r,o,a,i){var l=1&r,s=e.length,u=t.length;if(s!=u&&!(l&&u>s))return!1;var c=i.get(e),d=i.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,h=2&r?new Qn:n;for(i.set(e,t),i.set(t,e);++f<s;){var v=e[f],m=t[f];if(o)var g=l?o(m,v,f,t,e,i):o(v,m,f,e,t,i);if(g!==n){if(g)continue;p=!1;break}if(h){if(!At(t,(function(e,t){if(!Xt(h,t)&&(v===e||a(v,e,r,o,i)))return h.push(t)}))){p=!1;break}}else if(v!==m&&!a(v,m,r,o,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function aa(e){return Aa(Ra(e,n,Ya),e+"")}function ia(e){return xr(e,Ol,va)}function la(e){return xr(e,Al,ma)}var sa=Mn?function(e){return Mn.get(e)}:ds;function ua(e){for(var t=e.name+"",n=Nn[t],r=Le.call(Nn,t)?n.length:0;r--;){var o=n[r],a=o.func;if(null==a||a==e)return o.name}return t}function ca(e){return(Le.call(Vn,"placeholder")?Vn:e).placeholder}function da(){var e=Vn.iteratee||ls;return e=e===ls?zr:e,arguments.length?e(arguments[0],arguments[1]):e}function fa(e,t){var n,r,o=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?o["string"==typeof t?"string":"hash"]:o.map}function pa(e){for(var t=Ol(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ca(o)]}return t}function ha(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return Lr(r)?r:n}var va=Bt?function(e){return null==e?[]:(e=Ce(e),Dt(Bt(e),(function(t){return Ke.call(e,t)})))}:ys,ma=Bt?function(e){for(var t=[];e;)Mt(t,va(e)),e=Ge(e);return t}:ys,ga=Cr;function ya(e,t,n){for(var r=-1,o=(t=So(t,e)).length,a=!1;++r<o;){var i=Ua(t[r]);if(!(a=null!=e&&n(e,i)))break;e=e[i]}return a||++r!=o?a:!!(o=null==e?0:e.length)&&nl(o)&&Ea(i,o)&&(Gi(e)||qi(e))}function ba(e){return"function"!=typeof e.constructor||xa(e)?{}:Wn(Ge(e))}function wa(e){return Gi(e)||qi(e)||!!(et&&e&&e[et])}function Ea(e,t){var n=typeof e;return!!(t=null==t?f:t)&&("number"==n||"symbol"!=n&&ye.test(e))&&e>-1&&e%1==0&&e<t}function Sa(e,t,n){if(!rl(n))return!1;var r=typeof t;return!!("number"==r?Ki(n)&&Ea(t,n.length):"string"==r&&t in n)&&Wi(n[t],e)}function ka(e,t){if(Gi(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!dl(e))||(ee.test(e)||!J.test(e)||null!=t&&e in Ce(t))}function _a(e){var t=ua(e),n=Vn[t];if("function"!=typeof n||!(t in qn.prototype))return!1;if(e===n)return!0;var r=sa(n);return!!r&&e===r[0]}(xn&&ga(new xn(new ArrayBuffer(1)))!=N||Cn&&ga(new Cn)!=k||Dn&&ga(Dn.resolve())!=x||Rn&&ga(new Rn)!=D||Pn&&ga(new Pn)!=I)&&(ga=function(e){var t=Cr(e),r=t==T?e.constructor:n,o=r?ja(r):"";if(o)switch(o){case On:return N;case An:return k;case Ln:return x;case zn:return D;case Hn:return I}return t});var Ta=Oe?el:bs;function xa(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Ne)}function Ca(e){return e==e&&!rl(e)}function Da(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==n||e in Ce(r)))}}function Ra(e,t,r){return t=wn(t===n?e.length-1:t,0),function(){for(var n=arguments,o=-1,a=wn(n.length-t,0),i=Se(a);++o<a;)i[o]=n[t+o];o=-1;for(var l=Se(t+1);++o<t;)l[o]=n[o];return l[t]=r(i),kt(e,this,l)}}function Pa(e,t){return t.length<2?e:Tr(e,ao(t,0,-1))}function Ia(e,t){for(var r=e.length,o=En(t.length,r),a=Mo(e);o--;){var i=t[o];e[o]=Ea(i,r)?a[i]:n}return e}function Ma(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Na=za(no),Oa=vt||function(e,t){return dt.setTimeout(e,t)},Aa=za(ro);function La(e,t,n){var r=t+"";return Aa(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Tt(v,(function(n){var r="_."+n[0];t&n[1]&&!Rt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(se):[]}(r),n)))}function za(e){var t=0,r=0;return function(){var o=Sn(),a=16-(o-r);if(r=o,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Ha(e,t){var r=-1,o=e.length,a=o-1;for(t=t===n?o:t;++r<t;){var i=Qr(r,a),l=e[i];e[i]=e[r],e[r]=l}return e.length=t,e}var Fa=function(e){var t=zi(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(te,(function(e,n,r,o){t.push(r?o.replace(de,"$1"):n||e)})),t}));function Ua(e){if("string"==typeof e||dl(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function ja(e){if(null!=e){try{return Ae.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function Va(e){if(e instanceof qn)return e.clone();var t=new $n(e.__wrapped__,e.__chain__);return t.__actions__=Mo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Wa=Zr((function(e,t){return Qi(e)?pr(e,br(t,1,Qi,!0)):[]})),Ba=Zr((function(e,t){var r=Ja(t);return Qi(r)&&(r=n),Qi(e)?pr(e,br(t,1,Qi,!0),da(r,2)):[]})),$a=Zr((function(e,t){var r=Ja(t);return Qi(r)&&(r=n),Qi(e)?pr(e,br(t,1,Qi,!0),n,r):[]}));function qa(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:gl(n);return o<0&&(o=wn(r+o,0)),Ht(e,da(t,3),o)}function Ga(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var a=o-1;return r!==n&&(a=gl(r),a=r<0?wn(o+a,0):En(a,o-1)),Ht(e,da(t,3),a,!0)}function Ya(e){return(null==e?0:e.length)?br(e,1):[]}function Ka(e){return e&&e.length?e[0]:n}var Qa=Zr((function(e){var t=It(e,wo);return t.length&&t[0]===e[0]?Ir(t):[]})),Xa=Zr((function(e){var t=Ja(e),r=It(e,wo);return t===Ja(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Ir(r,da(t,2)):[]})),Za=Zr((function(e){var t=Ja(e),r=It(e,wo);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Ir(r,n,t):[]}));function Ja(e){var t=null==e?0:e.length;return t?e[t-1]:n}var ei=Zr(ti);function ti(e,t){return e&&e.length&&t&&t.length?Yr(e,t):e}var ni=aa((function(e,t){var n=null==e?0:e.length,r=sr(e,t);return Kr(e,It(t,(function(e){return Ea(e,n)?+e:e})).sort(Ro)),r}));function ri(e){return null==e?e:Tn.call(e)}var oi=Zr((function(e){return po(br(e,1,Qi,!0))})),ai=Zr((function(e){var t=Ja(e);return Qi(t)&&(t=n),po(br(e,1,Qi,!0),da(t,2))})),ii=Zr((function(e){var t=Ja(e);return t="function"==typeof t?t:n,po(br(e,1,Qi,!0),n,t)}));function li(e){if(!e||!e.length)return[];var t=0;return e=Dt(e,(function(e){if(Qi(e))return t=wn(e.length,t),!0})),Gt(t,(function(t){return It(e,Wt(t))}))}function si(e,t){if(!e||!e.length)return[];var r=li(e);return null==t?r:It(r,(function(e){return kt(t,n,e)}))}var ui=Zr((function(e,t){return Qi(e)?pr(e,t):[]})),ci=Zr((function(e){return yo(Dt(e,Qi))})),di=Zr((function(e){var t=Ja(e);return Qi(t)&&(t=n),yo(Dt(e,Qi),da(t,2))})),fi=Zr((function(e){var t=Ja(e);return t="function"==typeof t?t:n,yo(Dt(e,Qi),n,t)})),pi=Zr(li);var hi=Zr((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,si(e,r)}));function vi(e){var t=Vn(e);return t.__chain__=!0,t}function mi(e,t){return t(e)}var gi=aa((function(e){var t=e.length,r=t?e[0]:0,o=this.__wrapped__,a=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&o instanceof qn&&Ea(r)?((o=o.slice(r,+r+(t?1:0))).__actions__.push({func:mi,args:[a],thisArg:n}),new $n(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(a)}));var yi=Oo((function(e,t,n){Le.call(e,n)?++e[n]:lr(e,n,1)}));var bi=jo(qa),wi=jo(Ga);function Ei(e,t){return(Gi(e)?Tt:hr)(e,da(t,3))}function Si(e,t){return(Gi(e)?xt:vr)(e,da(t,3))}var ki=Oo((function(e,t,n){Le.call(e,n)?e[n].push(t):lr(e,n,[t])}));var _i=Zr((function(e,t,n){var r=-1,o="function"==typeof t,a=Ki(e)?Se(e.length):[];return hr(e,(function(e){a[++r]=o?kt(t,e,n):Mr(e,t,n)})),a})),Ti=Oo((function(e,t,n){lr(e,n,t)}));function xi(e,t){return(Gi(e)?It:jr)(e,da(t,3))}var Ci=Oo((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Di=Zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Sa(e,t[0],t[1])?t=[]:n>2&&Sa(t[0],t[1],t[2])&&(t=[t[0]]),qr(e,br(t,1),[])})),Ri=pt||function(){return dt.Date.now()};function Pi(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,ea(e,u,n,n,n,n,t)}function Ii(e,t){var o;if("function"!=typeof t)throw new Pe(r);return e=gl(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=n),o}}var Mi=Zr((function(e,t,n){var r=1;if(n.length){var o=sn(n,ca(Mi));r|=l}return ea(e,r,t,n,o)})),Ni=Zr((function(e,t,n){var r=3;if(n.length){var o=sn(n,ca(Ni));r|=l}return ea(t,r,e,n,o)}));function Oi(e,t,o){var a,i,l,s,u,c,d=0,f=!1,p=!1,h=!0;if("function"!=typeof e)throw new Pe(r);function v(t){var r=a,o=i;return a=i=n,d=t,s=e.apply(o,r)}function m(e){return d=e,u=Oa(y,t),f?v(e):s}function g(e){var r=e-c;return c===n||r>=t||r<0||p&&e-d>=l}function y(){var e=Ri();if(g(e))return b(e);u=Oa(y,function(e){var n=t-(e-c);return p?En(n,l-(e-d)):n}(e))}function b(e){return u=n,h&&a?v(e):(a=i=n,s)}function w(){var e=Ri(),r=g(e);if(a=arguments,i=this,c=e,r){if(u===n)return m(c);if(p)return To(u),u=Oa(y,t),v(c)}return u===n&&(u=Oa(y,t)),s}return t=bl(t)||0,rl(o)&&(f=!!o.leading,l=(p="maxWait"in o)?wn(bl(o.maxWait)||0,t):l,h="trailing"in o?!!o.trailing:h),w.cancel=function(){u!==n&&To(u),d=0,a=c=i=u=n},w.flush=function(){return u===n?s:b(Ri())},w}var Ai=Zr((function(e,t){return fr(e,1,t)})),Li=Zr((function(e,t,n){return fr(e,bl(t)||0,n)}));function zi(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Pe(r);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],a=n.cache;if(a.has(o))return a.get(o);var i=e.apply(this,r);return n.cache=a.set(o,i)||a,i};return n.cache=new(zi.Cache||Kn),n}function Hi(e){if("function"!=typeof e)throw new Pe(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}zi.Cache=Kn;var Fi=ko((function(e,t){var n=(t=1==t.length&&Gi(t[0])?It(t[0],Kt(da())):It(br(t,1),Kt(da()))).length;return Zr((function(r){for(var o=-1,a=En(r.length,n);++o<a;)r[o]=t[o].call(this,r[o]);return kt(e,this,r)}))})),Ui=Zr((function(e,t){var r=sn(t,ca(Ui));return ea(e,l,n,t,r)})),ji=Zr((function(e,t){var r=sn(t,ca(ji));return ea(e,s,n,t,r)})),Vi=aa((function(e,t){return ea(e,c,n,n,n,t)}));function Wi(e,t){return e===t||e!=e&&t!=t}var Bi=Ko(Dr),$i=Ko((function(e,t){return e>=t})),qi=Nr(function(){return arguments}())?Nr:function(e){return ol(e)&&Le.call(e,"callee")&&!Ke.call(e,"callee")},Gi=Se.isArray,Yi=gt?Kt(gt):function(e){return ol(e)&&Cr(e)==M};function Ki(e){return null!=e&&nl(e.length)&&!el(e)}function Qi(e){return ol(e)&&Ki(e)}var Xi=mn||bs,Zi=yt?Kt(yt):function(e){return ol(e)&&Cr(e)==b};function Ji(e){if(!ol(e))return!1;var t=Cr(e);return t==w||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ll(e)}function el(e){if(!rl(e))return!1;var t=Cr(e);return t==E||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function tl(e){return"number"==typeof e&&e==gl(e)}function nl(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function rl(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ol(e){return null!=e&&"object"==typeof e}var al=bt?Kt(bt):function(e){return ol(e)&&ga(e)==k};function il(e){return"number"==typeof e||ol(e)&&Cr(e)==_}function ll(e){if(!ol(e)||Cr(e)!=T)return!1;var t=Ge(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ae.call(n)==Ue}var sl=wt?Kt(wt):function(e){return ol(e)&&Cr(e)==C};var ul=Et?Kt(Et):function(e){return ol(e)&&ga(e)==D};function cl(e){return"string"==typeof e||!Gi(e)&&ol(e)&&Cr(e)==R}function dl(e){return"symbol"==typeof e||ol(e)&&Cr(e)==P}var fl=St?Kt(St):function(e){return ol(e)&&nl(e.length)&&!!ot[Cr(e)]};var pl=Ko(Ur),hl=Ko((function(e,t){return e<=t}));function vl(e){if(!e)return[];if(Ki(e))return cl(e)?fn(e):Mo(e);if(it&&e[it])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[it]());var t=ga(e);return(t==k?an:t==D?un:Wl)(e)}function ml(e){return e?(e=bl(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function gl(e){var t=ml(e),n=t%1;return t==t?n?t-n:t:0}function yl(e){return e?ur(gl(e),0,h):0}function bl(e){if("number"==typeof e)return e;if(dl(e))return p;if(rl(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=rl(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Yt(e);var n=ve.test(e);return n||ge.test(e)?st(e.slice(2),n?2:8):he.test(e)?p:+e}function wl(e){return No(e,Al(e))}function El(e){return null==e?"":fo(e)}var Sl=Ao((function(e,t){if(xa(t)||Ki(t))No(t,Ol(t),e);else for(var n in t)Le.call(t,n)&&rr(e,n,t[n])})),kl=Ao((function(e,t){No(t,Al(t),e)})),_l=Ao((function(e,t,n,r){No(t,Al(t),e,r)})),Tl=Ao((function(e,t,n,r){No(t,Ol(t),e,r)})),xl=aa(sr);var Cl=Zr((function(e,t){e=Ce(e);var r=-1,o=t.length,a=o>2?t[2]:n;for(a&&Sa(t[0],t[1],a)&&(o=1);++r<o;)for(var i=t[r],l=Al(i),s=-1,u=l.length;++s<u;){var c=l[s],d=e[c];(d===n||Wi(d,Ne[c])&&!Le.call(e,c))&&(e[c]=i[c])}return e})),Dl=Zr((function(e){return e.push(n,na),kt(zl,n,e)}));function Rl(e,t,r){var o=null==e?n:Tr(e,t);return o===n?r:o}function Pl(e,t){return null!=e&&ya(e,t,Pr)}var Il=Bo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=n}),rs(is)),Ml=Bo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]}),da),Nl=Zr(Mr);function Ol(e){return Ki(e)?Zn(e):Hr(e)}function Al(e){return Ki(e)?Zn(e,!0):Fr(e)}var Ll=Ao((function(e,t,n){Br(e,t,n)})),zl=Ao((function(e,t,n,r){Br(e,t,n,r)})),Hl=aa((function(e,t){var n={};if(null==e)return n;var r=!1;t=It(t,(function(t){return t=So(t,e),r||(r=t.length>1),t})),No(e,la(e),n),r&&(n=cr(n,7,ra));for(var o=t.length;o--;)ho(n,t[o]);return n}));var Fl=aa((function(e,t){return null==e?{}:function(e,t){return Gr(e,t,(function(t,n){return Pl(e,n)}))}(e,t)}));function Ul(e,t){if(null==e)return{};var n=It(la(e),(function(e){return[e]}));return t=da(t),Gr(e,n,(function(e,n){return t(e,n[0])}))}var jl=Jo(Ol),Vl=Jo(Al);function Wl(e){return null==e?[]:Qt(e,Ol(e))}var Bl=Fo((function(e,t,n){return t=t.toLowerCase(),e+(n?$l(t):t)}));function $l(e){return Jl(El(e).toLowerCase())}function ql(e){return(e=El(e))&&e.replace(be,tn).replace(Xe,"")}var Gl=Fo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Yl=Fo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Kl=Ho("toLowerCase");var Ql=Fo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xl=Fo((function(e,t,n){return e+(n?" ":"")+Jl(t)}));var Zl=Fo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Jl=Ho("toUpperCase");function es(e,t,r){return e=El(e),(t=r?n:t)===n?function(e){return tt.test(e)}(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var ts=Zr((function(e,t){try{return kt(e,n,t)}catch(e){return Ji(e)?e:new _e(e)}})),ns=aa((function(e,t){return Tt(t,(function(t){t=Ua(t),lr(e,t,Mi(e[t],e))})),e}));function rs(e){return function(){return e}}var os=Vo(),as=Vo(!0);function is(e){return e}function ls(e){return zr("function"==typeof e?e:cr(e,1))}var ss=Zr((function(e,t){return function(n){return Mr(n,e,t)}})),us=Zr((function(e,t){return function(n){return Mr(e,n,t)}}));function cs(e,t,n){var r=Ol(t),o=_r(t,r);null!=n||rl(t)&&(o.length||!r.length)||(n=t,t=e,e=this,o=_r(t,Ol(t)));var a=!(rl(n)&&"chain"in n&&!n.chain),i=el(e);return Tt(o,(function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(a||t){var n=e(this.__wrapped__),o=n.__actions__=Mo(this.__actions__);return o.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Mt([this.value()],arguments))})})),e}function ds(){}var fs=qo(It),ps=qo(Ct),hs=qo(At);function vs(e){return ka(e)?Wt(Ua(e)):function(e){return function(t){return Tr(t,e)}}(e)}var ms=Yo(),gs=Yo(!0);function ys(){return[]}function bs(){return!1}var ws=$o((function(e,t){return e+t}),0),Es=Xo("ceil"),Ss=$o((function(e,t){return e/t}),1),ks=Xo("floor");var _s,Ts=$o((function(e,t){return e*t}),1),xs=Xo("round"),Cs=$o((function(e,t){return e-t}),0);return Vn.after=function(e,t){if("function"!=typeof t)throw new Pe(r);return e=gl(e),function(){if(--e<1)return t.apply(this,arguments)}},Vn.ary=Pi,Vn.assign=Sl,Vn.assignIn=kl,Vn.assignInWith=_l,Vn.assignWith=Tl,Vn.at=xl,Vn.before=Ii,Vn.bind=Mi,Vn.bindAll=ns,Vn.bindKey=Ni,Vn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Gi(e)?e:[e]},Vn.chain=vi,Vn.chunk=function(e,t,r){t=(r?Sa(e,t,r):t===n)?1:wn(gl(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,i=0,l=Se(mt(o/t));a<o;)l[i++]=ao(e,a,a+=t);return l},Vn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var a=e[t];a&&(o[r++]=a)}return o},Vn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=Se(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Mt(Gi(n)?Mo(n):[n],br(t,1))},Vn.cond=function(e){var t=null==e?0:e.length,n=da();return e=t?It(e,(function(e){if("function"!=typeof e[1])throw new Pe(r);return[n(e[0]),e[1]]})):[],Zr((function(n){for(var r=-1;++r<t;){var o=e[r];if(kt(o[0],this,n))return kt(o[1],this,n)}}))},Vn.conforms=function(e){return function(e){var t=Ol(e);return function(n){return dr(n,e,t)}}(cr(e,1))},Vn.constant=rs,Vn.countBy=yi,Vn.create=function(e,t){var n=Wn(e);return null==t?n:ir(n,t)},Vn.curry=function e(t,r,o){var a=ea(t,8,n,n,n,n,n,r=o?n:r);return a.placeholder=e.placeholder,a},Vn.curryRight=function e(t,r,o){var a=ea(t,i,n,n,n,n,n,r=o?n:r);return a.placeholder=e.placeholder,a},Vn.debounce=Oi,Vn.defaults=Cl,Vn.defaultsDeep=Dl,Vn.defer=Ai,Vn.delay=Li,Vn.difference=Wa,Vn.differenceBy=Ba,Vn.differenceWith=$a,Vn.drop=function(e,t,r){var o=null==e?0:e.length;return o?ao(e,(t=r||t===n?1:gl(t))<0?0:t,o):[]},Vn.dropRight=function(e,t,r){var o=null==e?0:e.length;return o?ao(e,0,(t=o-(t=r||t===n?1:gl(t)))<0?0:t):[]},Vn.dropRightWhile=function(e,t){return e&&e.length?mo(e,da(t,3),!0,!0):[]},Vn.dropWhile=function(e,t){return e&&e.length?mo(e,da(t,3),!0):[]},Vn.fill=function(e,t,r,o){var a=null==e?0:e.length;return a?(r&&"number"!=typeof r&&Sa(e,t,r)&&(r=0,o=a),function(e,t,r,o){var a=e.length;for((r=gl(r))<0&&(r=-r>a?0:a+r),(o=o===n||o>a?a:gl(o))<0&&(o+=a),o=r>o?0:yl(o);r<o;)e[r++]=t;return e}(e,t,r,o)):[]},Vn.filter=function(e,t){return(Gi(e)?Dt:yr)(e,da(t,3))},Vn.flatMap=function(e,t){return br(xi(e,t),1)},Vn.flatMapDeep=function(e,t){return br(xi(e,t),d)},Vn.flatMapDepth=function(e,t,r){return r=r===n?1:gl(r),br(xi(e,t),r)},Vn.flatten=Ya,Vn.flattenDeep=function(e){return(null==e?0:e.length)?br(e,d):[]},Vn.flattenDepth=function(e,t){return(null==e?0:e.length)?br(e,t=t===n?1:gl(t)):[]},Vn.flip=function(e){return ea(e,512)},Vn.flow=os,Vn.flowRight=as,Vn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Vn.functions=function(e){return null==e?[]:_r(e,Ol(e))},Vn.functionsIn=function(e){return null==e?[]:_r(e,Al(e))},Vn.groupBy=ki,Vn.initial=function(e){return(null==e?0:e.length)?ao(e,0,-1):[]},Vn.intersection=Qa,Vn.intersectionBy=Xa,Vn.intersectionWith=Za,Vn.invert=Il,Vn.invertBy=Ml,Vn.invokeMap=_i,Vn.iteratee=ls,Vn.keyBy=Ti,Vn.keys=Ol,Vn.keysIn=Al,Vn.map=xi,Vn.mapKeys=function(e,t){var n={};return t=da(t,3),Sr(e,(function(e,r,o){lr(n,t(e,r,o),e)})),n},Vn.mapValues=function(e,t){var n={};return t=da(t,3),Sr(e,(function(e,r,o){lr(n,r,t(e,r,o))})),n},Vn.matches=function(e){return Vr(cr(e,1))},Vn.matchesProperty=function(e,t){return Wr(e,cr(t,1))},Vn.memoize=zi,Vn.merge=Ll,Vn.mergeWith=zl,Vn.method=ss,Vn.methodOf=us,Vn.mixin=cs,Vn.negate=Hi,Vn.nthArg=function(e){return e=gl(e),Zr((function(t){return $r(t,e)}))},Vn.omit=Hl,Vn.omitBy=function(e,t){return Ul(e,Hi(da(t)))},Vn.once=function(e){return Ii(2,e)},Vn.orderBy=function(e,t,r,o){return null==e?[]:(Gi(t)||(t=null==t?[]:[t]),Gi(r=o?n:r)||(r=null==r?[]:[r]),qr(e,t,r))},Vn.over=fs,Vn.overArgs=Fi,Vn.overEvery=ps,Vn.overSome=hs,Vn.partial=Ui,Vn.partialRight=ji,Vn.partition=Ci,Vn.pick=Fl,Vn.pickBy=Ul,Vn.property=vs,Vn.propertyOf=function(e){return function(t){return null==e?n:Tr(e,t)}},Vn.pull=ei,Vn.pullAll=ti,Vn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Yr(e,t,da(n,2)):e},Vn.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Yr(e,t,n,r):e},Vn.pullAt=ni,Vn.range=ms,Vn.rangeRight=gs,Vn.rearg=Vi,Vn.reject=function(e,t){return(Gi(e)?Dt:yr)(e,Hi(da(t,3)))},Vn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],a=e.length;for(t=da(t,3);++r<a;){var i=e[r];t(i,r,e)&&(n.push(i),o.push(r))}return Kr(e,o),n},Vn.rest=function(e,t){if("function"!=typeof e)throw new Pe(r);return Zr(e,t=t===n?t:gl(t))},Vn.reverse=ri,Vn.sampleSize=function(e,t,r){return t=(r?Sa(e,t,r):t===n)?1:gl(t),(Gi(e)?er:eo)(e,t)},Vn.set=function(e,t,n){return null==e?e:to(e,t,n)},Vn.setWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:to(e,t,r,o)},Vn.shuffle=function(e){return(Gi(e)?tr:oo)(e)},Vn.slice=function(e,t,r){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&Sa(e,t,r)?(t=0,r=o):(t=null==t?0:gl(t),r=r===n?o:gl(r)),ao(e,t,r)):[]},Vn.sortBy=Di,Vn.sortedUniq=function(e){return e&&e.length?uo(e):[]},Vn.sortedUniqBy=function(e,t){return e&&e.length?uo(e,da(t,2)):[]},Vn.split=function(e,t,r){return r&&"number"!=typeof r&&Sa(e,t,r)&&(t=r=n),(r=r===n?h:r>>>0)?(e=El(e))&&("string"==typeof t||null!=t&&!sl(t))&&!(t=fo(t))&&on(e)?_o(fn(e),0,r):e.split(t,r):[]},Vn.spread=function(e,t){if("function"!=typeof e)throw new Pe(r);return t=null==t?0:wn(gl(t),0),Zr((function(n){var r=n[t],o=_o(n,0,t);return r&&Mt(o,r),kt(e,this,o)}))},Vn.tail=function(e){var t=null==e?0:e.length;return t?ao(e,1,t):[]},Vn.take=function(e,t,r){return e&&e.length?ao(e,0,(t=r||t===n?1:gl(t))<0?0:t):[]},Vn.takeRight=function(e,t,r){var o=null==e?0:e.length;return o?ao(e,(t=o-(t=r||t===n?1:gl(t)))<0?0:t,o):[]},Vn.takeRightWhile=function(e,t){return e&&e.length?mo(e,da(t,3),!1,!0):[]},Vn.takeWhile=function(e,t){return e&&e.length?mo(e,da(t,3)):[]},Vn.tap=function(e,t){return t(e),e},Vn.throttle=function(e,t,n){var o=!0,a=!0;if("function"!=typeof e)throw new Pe(r);return rl(n)&&(o="leading"in n?!!n.leading:o,a="trailing"in n?!!n.trailing:a),Oi(e,t,{leading:o,maxWait:t,trailing:a})},Vn.thru=mi,Vn.toArray=vl,Vn.toPairs=jl,Vn.toPairsIn=Vl,Vn.toPath=function(e){return Gi(e)?It(e,Ua):dl(e)?[e]:Mo(Fa(El(e)))},Vn.toPlainObject=wl,Vn.transform=function(e,t,n){var r=Gi(e),o=r||Xi(e)||fl(e);if(t=da(t,4),null==n){var a=e&&e.constructor;n=o?r?new a:[]:rl(e)&&el(a)?Wn(Ge(e)):{}}return(o?Tt:Sr)(e,(function(e,r,o){return t(n,e,r,o)})),n},Vn.unary=function(e){return Pi(e,1)},Vn.union=oi,Vn.unionBy=ai,Vn.unionWith=ii,Vn.uniq=function(e){return e&&e.length?po(e):[]},Vn.uniqBy=function(e,t){return e&&e.length?po(e,da(t,2)):[]},Vn.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?po(e,n,t):[]},Vn.unset=function(e,t){return null==e||ho(e,t)},Vn.unzip=li,Vn.unzipWith=si,Vn.update=function(e,t,n){return null==e?e:vo(e,t,Eo(n))},Vn.updateWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:vo(e,t,Eo(r),o)},Vn.values=Wl,Vn.valuesIn=function(e){return null==e?[]:Qt(e,Al(e))},Vn.without=ui,Vn.words=es,Vn.wrap=function(e,t){return Ui(Eo(t),e)},Vn.xor=ci,Vn.xorBy=di,Vn.xorWith=fi,Vn.zip=pi,Vn.zipObject=function(e,t){return bo(e||[],t||[],rr)},Vn.zipObjectDeep=function(e,t){return bo(e||[],t||[],to)},Vn.zipWith=hi,Vn.entries=jl,Vn.entriesIn=Vl,Vn.extend=kl,Vn.extendWith=_l,cs(Vn,Vn),Vn.add=ws,Vn.attempt=ts,Vn.camelCase=Bl,Vn.capitalize=$l,Vn.ceil=Es,Vn.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=bl(r))==r?r:0),t!==n&&(t=(t=bl(t))==t?t:0),ur(bl(e),t,r)},Vn.clone=function(e){return cr(e,4)},Vn.cloneDeep=function(e){return cr(e,5)},Vn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:n)},Vn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:n)},Vn.conformsTo=function(e,t){return null==t||dr(e,t,Ol(t))},Vn.deburr=ql,Vn.defaultTo=function(e,t){return null==e||e!=e?t:e},Vn.divide=Ss,Vn.endsWith=function(e,t,r){e=El(e),t=fo(t);var o=e.length,a=r=r===n?o:ur(gl(r),0,o);return(r-=t.length)>=0&&e.slice(r,a)==t},Vn.eq=Wi,Vn.escape=function(e){return(e=El(e))&&K.test(e)?e.replace(G,nn):e},Vn.escapeRegExp=function(e){return(e=El(e))&&re.test(e)?e.replace(ne,"\\$&"):e},Vn.every=function(e,t,r){var o=Gi(e)?Ct:mr;return r&&Sa(e,t,r)&&(t=n),o(e,da(t,3))},Vn.find=bi,Vn.findIndex=qa,Vn.findKey=function(e,t){return zt(e,da(t,3),Sr)},Vn.findLast=wi,Vn.findLastIndex=Ga,Vn.findLastKey=function(e,t){return zt(e,da(t,3),kr)},Vn.floor=ks,Vn.forEach=Ei,Vn.forEachRight=Si,Vn.forIn=function(e,t){return null==e?e:wr(e,da(t,3),Al)},Vn.forInRight=function(e,t){return null==e?e:Er(e,da(t,3),Al)},Vn.forOwn=function(e,t){return e&&Sr(e,da(t,3))},Vn.forOwnRight=function(e,t){return e&&kr(e,da(t,3))},Vn.get=Rl,Vn.gt=Bi,Vn.gte=$i,Vn.has=function(e,t){return null!=e&&ya(e,t,Rr)},Vn.hasIn=Pl,Vn.head=Ka,Vn.identity=is,Vn.includes=function(e,t,n,r){e=Ki(e)?e:Wl(e),n=n&&!r?gl(n):0;var o=e.length;return n<0&&(n=wn(o+n,0)),cl(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&Ft(e,t,n)>-1},Vn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:gl(n);return o<0&&(o=wn(r+o,0)),Ft(e,t,o)},Vn.inRange=function(e,t,r){return t=ml(t),r===n?(r=t,t=0):r=ml(r),function(e,t,n){return e>=En(t,n)&&e<wn(t,n)}(e=bl(e),t,r)},Vn.invoke=Nl,Vn.isArguments=qi,Vn.isArray=Gi,Vn.isArrayBuffer=Yi,Vn.isArrayLike=Ki,Vn.isArrayLikeObject=Qi,Vn.isBoolean=function(e){return!0===e||!1===e||ol(e)&&Cr(e)==y},Vn.isBuffer=Xi,Vn.isDate=Zi,Vn.isElement=function(e){return ol(e)&&1===e.nodeType&&!ll(e)},Vn.isEmpty=function(e){if(null==e)return!0;if(Ki(e)&&(Gi(e)||"string"==typeof e||"function"==typeof e.splice||Xi(e)||fl(e)||qi(e)))return!e.length;var t=ga(e);if(t==k||t==D)return!e.size;if(xa(e))return!Hr(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Vn.isEqual=function(e,t){return Or(e,t)},Vn.isEqualWith=function(e,t,r){var o=(r="function"==typeof r?r:n)?r(e,t):n;return o===n?Or(e,t,n,r):!!o},Vn.isError=Ji,Vn.isFinite=function(e){return"number"==typeof e&&gn(e)},Vn.isFunction=el,Vn.isInteger=tl,Vn.isLength=nl,Vn.isMap=al,Vn.isMatch=function(e,t){return e===t||Ar(e,t,pa(t))},Vn.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Ar(e,t,pa(t),r)},Vn.isNaN=function(e){return il(e)&&e!=+e},Vn.isNative=function(e){if(Ta(e))throw new _e("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Lr(e)},Vn.isNil=function(e){return null==e},Vn.isNull=function(e){return null===e},Vn.isNumber=il,Vn.isObject=rl,Vn.isObjectLike=ol,Vn.isPlainObject=ll,Vn.isRegExp=sl,Vn.isSafeInteger=function(e){return tl(e)&&e>=-9007199254740991&&e<=f},Vn.isSet=ul,Vn.isString=cl,Vn.isSymbol=dl,Vn.isTypedArray=fl,Vn.isUndefined=function(e){return e===n},Vn.isWeakMap=function(e){return ol(e)&&ga(e)==I},Vn.isWeakSet=function(e){return ol(e)&&"[object WeakSet]"==Cr(e)},Vn.join=function(e,t){return null==e?"":yn.call(e,t)},Vn.kebabCase=Gl,Vn.last=Ja,Vn.lastIndexOf=function(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var a=o;return r!==n&&(a=(a=gl(r))<0?wn(o+a,0):En(a,o-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,a):Ht(e,jt,a,!0)},Vn.lowerCase=Yl,Vn.lowerFirst=Kl,Vn.lt=pl,Vn.lte=hl,Vn.max=function(e){return e&&e.length?gr(e,is,Dr):n},Vn.maxBy=function(e,t){return e&&e.length?gr(e,da(t,2),Dr):n},Vn.mean=function(e){return Vt(e,is)},Vn.meanBy=function(e,t){return Vt(e,da(t,2))},Vn.min=function(e){return e&&e.length?gr(e,is,Ur):n},Vn.minBy=function(e,t){return e&&e.length?gr(e,da(t,2),Ur):n},Vn.stubArray=ys,Vn.stubFalse=bs,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=Ts,Vn.nth=function(e,t){return e&&e.length?$r(e,gl(t)):n},Vn.noConflict=function(){return dt._===this&&(dt._=je),this},Vn.noop=ds,Vn.now=Ri,Vn.pad=function(e,t,n){e=El(e);var r=(t=gl(t))?dn(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Go(Lt(o),n)+e+Go(mt(o),n)},Vn.padEnd=function(e,t,n){e=El(e);var r=(t=gl(t))?dn(e):0;return t&&r<t?e+Go(t-r,n):e},Vn.padStart=function(e,t,n){e=El(e);var r=(t=gl(t))?dn(e):0;return t&&r<t?Go(t-r,n)+e:e},Vn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),kn(El(e).replace(oe,""),t||0)},Vn.random=function(e,t,r){if(r&&"boolean"!=typeof r&&Sa(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=ml(e),t===n?(t=e,e=0):t=ml(t)),e>t){var o=e;e=t,t=o}if(r||e%1||t%1){var a=_n();return En(e+a*(t-e+lt("1e-"+((a+"").length-1))),t)}return Qr(e,t)},Vn.reduce=function(e,t,n){var r=Gi(e)?Nt:$t,o=arguments.length<3;return r(e,da(t,4),n,o,hr)},Vn.reduceRight=function(e,t,n){var r=Gi(e)?Ot:$t,o=arguments.length<3;return r(e,da(t,4),n,o,vr)},Vn.repeat=function(e,t,r){return t=(r?Sa(e,t,r):t===n)?1:gl(t),Xr(El(e),t)},Vn.replace=function(){var e=arguments,t=El(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vn.result=function(e,t,r){var o=-1,a=(t=So(t,e)).length;for(a||(a=1,e=n);++o<a;){var i=null==e?n:e[Ua(t[o])];i===n&&(o=a,i=r),e=el(i)?i.call(e):i}return e},Vn.round=xs,Vn.runInContext=e,Vn.sample=function(e){return(Gi(e)?Jn:Jr)(e)},Vn.size=function(e){if(null==e)return 0;if(Ki(e))return cl(e)?dn(e):e.length;var t=ga(e);return t==k||t==D?e.size:Hr(e).length},Vn.snakeCase=Ql,Vn.some=function(e,t,r){var o=Gi(e)?At:io;return r&&Sa(e,t,r)&&(t=n),o(e,da(t,3))},Vn.sortedIndex=function(e,t){return lo(e,t)},Vn.sortedIndexBy=function(e,t,n){return so(e,t,da(n,2))},Vn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=lo(e,t);if(r<n&&Wi(e[r],t))return r}return-1},Vn.sortedLastIndex=function(e,t){return lo(e,t,!0)},Vn.sortedLastIndexBy=function(e,t,n){return so(e,t,da(n,2),!0)},Vn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=lo(e,t,!0)-1;if(Wi(e[n],t))return n}return-1},Vn.startCase=Xl,Vn.startsWith=function(e,t,n){return e=El(e),n=null==n?0:ur(gl(n),0,e.length),t=fo(t),e.slice(n,n+t.length)==t},Vn.subtract=Cs,Vn.sum=function(e){return e&&e.length?qt(e,is):0},Vn.sumBy=function(e,t){return e&&e.length?qt(e,da(t,2)):0},Vn.template=function(e,t,r){var o=Vn.templateSettings;r&&Sa(e,t,r)&&(t=n),e=El(e),t=_l({},t,o,ta);var a,i,l=_l({},t.imports,o.imports,ta),s=Ol(l),u=Qt(l,s),c=0,d=t.interpolate||we,f="__p += '",p=De((t.escape||we).source+"|"+d.source+"|"+(d===Z?fe:we).source+"|"+(t.evaluate||we).source+"|$","g"),h="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(p,(function(t,n,r,o,l,s){return r||(r=o),f+=e.slice(c,s).replace(Ee,rn),n&&(a=!0,f+="' +\n__e("+n+") +\n'"),l&&(i=!0,f+="';\n"+l+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=s+t.length,t})),f+="';\n";var v=Le.call(t,"variable")&&t.variable;if(v){if(ce.test(v))throw new _e("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(W,""):f).replace(B,"$1").replace($,"$1;"),f="function("+(v||"obj")+") {\n"+(v?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=ts((function(){return Te(s,h+"return "+f).apply(n,u)}));if(m.source=f,Ji(m))throw m;return m},Vn.times=function(e,t){if((e=gl(e))<1||e>f)return[];var n=h,r=En(e,h);t=da(t),e-=h;for(var o=Gt(r,t);++n<e;)t(n);return o},Vn.toFinite=ml,Vn.toInteger=gl,Vn.toLength=yl,Vn.toLower=function(e){return El(e).toLowerCase()},Vn.toNumber=bl,Vn.toSafeInteger=function(e){return e?ur(gl(e),-9007199254740991,f):0===e?e:0},Vn.toString=El,Vn.toUpper=function(e){return El(e).toUpperCase()},Vn.trim=function(e,t,r){if((e=El(e))&&(r||t===n))return Yt(e);if(!e||!(t=fo(t)))return e;var o=fn(e),a=fn(t);return _o(o,Zt(o,a),Jt(o,a)+1).join("")},Vn.trimEnd=function(e,t,r){if((e=El(e))&&(r||t===n))return e.slice(0,pn(e)+1);if(!e||!(t=fo(t)))return e;var o=fn(e);return _o(o,0,Jt(o,fn(t))+1).join("")},Vn.trimStart=function(e,t,r){if((e=El(e))&&(r||t===n))return e.replace(oe,"");if(!e||!(t=fo(t)))return e;var o=fn(e);return _o(o,Zt(o,fn(t))).join("")},Vn.truncate=function(e,t){var r=30,o="...";if(rl(t)){var a="separator"in t?t.separator:a;r="length"in t?gl(t.length):r,o="omission"in t?fo(t.omission):o}var i=(e=El(e)).length;if(on(e)){var l=fn(e);i=l.length}if(r>=i)return e;var s=r-dn(o);if(s<1)return o;var u=l?_o(l,0,s).join(""):e.slice(0,s);if(a===n)return u+o;if(l&&(s+=u.length-s),sl(a)){if(e.slice(s).search(a)){var c,d=u;for(a.global||(a=De(a.source,El(pe.exec(a))+"g")),a.lastIndex=0;c=a.exec(d);)var f=c.index;u=u.slice(0,f===n?s:f)}}else if(e.indexOf(fo(a),s)!=s){var p=u.lastIndexOf(a);p>-1&&(u=u.slice(0,p))}return u+o},Vn.unescape=function(e){return(e=El(e))&&Y.test(e)?e.replace(q,hn):e},Vn.uniqueId=function(e){var t=++ze;return El(e)+t},Vn.upperCase=Zl,Vn.upperFirst=Jl,Vn.each=Ei,Vn.eachRight=Si,Vn.first=Ka,cs(Vn,(_s={},Sr(Vn,(function(e,t){Le.call(Vn.prototype,t)||(_s[t]=e)})),_s),{chain:!1}),Vn.VERSION="4.17.21",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Vn[e].placeholder=Vn})),Tt(["drop","take"],(function(e,t){qn.prototype[e]=function(r){r=r===n?1:wn(gl(r),0);var o=this.__filtered__&&!t?new qn(this):this.clone();return o.__filtered__?o.__takeCount__=En(r,o.__takeCount__):o.__views__.push({size:En(r,h),type:e+(o.__dir__<0?"Right":"")}),o},qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Tt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:da(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Tt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");qn.prototype[e]=function(){return this[n](1).value()[0]}})),Tt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");qn.prototype[e]=function(){return this.__filtered__?new qn(this):this[n](1)}})),qn.prototype.compact=function(){return this.filter(is)},qn.prototype.find=function(e){return this.filter(e).head()},qn.prototype.findLast=function(e){return this.reverse().find(e)},qn.prototype.invokeMap=Zr((function(e,t){return"function"==typeof e?new qn(this):this.map((function(n){return Mr(n,e,t)}))})),qn.prototype.reject=function(e){return this.filter(Hi(da(e)))},qn.prototype.slice=function(e,t){e=gl(e);var r=this;return r.__filtered__&&(e>0||t<0)?new qn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=gl(t))<0?r.dropRight(-t):r.take(t-e)),r)},qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},qn.prototype.toArray=function(){return this.take(h)},Sr(qn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),a=Vn[o?"take"+("last"==t?"Right":""):t],i=o||/^find/.test(t);a&&(Vn.prototype[t]=function(){var t=this.__wrapped__,l=o?[1]:arguments,s=t instanceof qn,u=l[0],c=s||Gi(t),d=function(e){var t=a.apply(Vn,Mt([e],l));return o&&f?t[0]:t};c&&r&&"function"==typeof u&&1!=u.length&&(s=c=!1);var f=this.__chain__,p=!!this.__actions__.length,h=i&&!f,v=s&&!p;if(!i&&c){t=v?t:new qn(this);var m=e.apply(t,l);return m.__actions__.push({func:mi,args:[d],thisArg:n}),new $n(m,f)}return h&&v?e.apply(this,l):(m=this.thru(d),h?o?m.value()[0]:m.value():m)})})),Tt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ie[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Vn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Gi(o)?o:[],e)}return this[n]((function(n){return t.apply(Gi(n)?n:[],e)}))}})),Sr(qn.prototype,(function(e,t){var n=Vn[t];if(n){var r=n.name+"";Le.call(Nn,r)||(Nn[r]=[]),Nn[r].push({name:t,func:n})}})),Nn[Wo(n,2).name]=[{name:"wrapper",func:n}],qn.prototype.clone=function(){var e=new qn(this.__wrapped__);return e.__actions__=Mo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Mo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Mo(this.__views__),e},qn.prototype.reverse=function(){if(this.__filtered__){var e=new qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Gi(e),r=t<0,o=n?e.length:0,a=function(e,t,n){var r=-1,o=n.length;for(;++r<o;){var a=n[r],i=a.size;switch(a.type){case"drop":e+=i;break;case"dropRight":t-=i;break;case"take":t=En(t,e+i);break;case"takeRight":e=wn(e,t-i)}}return{start:e,end:t}}(0,o,this.__views__),i=a.start,l=a.end,s=l-i,u=r?l:i-1,c=this.__iteratees__,d=c.length,f=0,p=En(s,this.__takeCount__);if(!n||!r&&o==s&&p==s)return go(e,this.__actions__);var h=[];e:for(;s--&&f<p;){for(var v=-1,m=e[u+=t];++v<d;){var g=c[v],y=g.iteratee,b=g.type,w=y(m);if(2==b)m=w;else if(!w){if(1==b)continue e;break e}}h[f++]=m}return h},Vn.prototype.at=gi,Vn.prototype.chain=function(){return vi(this)},Vn.prototype.commit=function(){return new $n(this.value(),this.__chain__)},Vn.prototype.next=function(){this.__values__===n&&(this.__values__=vl(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Vn.prototype.plant=function(e){for(var t,r=this;r instanceof Bn;){var o=Va(r);o.__index__=0,o.__values__=n,t?a.__wrapped__=o:t=o;var a=o;r=r.__wrapped__}return a.__wrapped__=e,t},Vn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof qn){var t=e;return this.__actions__.length&&(t=new qn(this)),(t=t.reverse()).__actions__.push({func:mi,args:[ri],thisArg:n}),new $n(t,this.__chain__)}return this.thru(ri)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return go(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,it&&(Vn.prototype[it]=function(){return this}),Vn}();pt?((pt.exports=vn)._=vn,ft._=vn):dt._=vn}).call(commonjsGlobal)}(lodash,lodash.exports);var ___default=lodash.exports,freeGlobal$1="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root$1=freeGlobal||freeSelf||Function("return this")(),_root=root$1,root=_root,Symbol$3=root.Symbol,_Symbol=Symbol$3,Symbol$2=_Symbol;Symbol$2&&Symbol$2.toStringTag;var Symbol$1=_Symbol;Symbol$1&&Symbol$1.toStringTag;var funcProto=Function.prototype,funcToString=funcProto.toString;funcToString.call(Object);const getBuilderContext=()=>"undefined"==typeof window?{}:Builder.settings.context?Builder.settings.context:Builder.settings;async function fetchAPI(e,t={credentials:"include"}){const n={"Content-Type":"application/json"},r=getAuthorization();r&&(n.Authorization=r),t.headers=Object.assign({},n,t.headers),t.credentials="include";const o=await fetch(`${getRootUrl()}${e}`,t);if(401===o.status)throw new Error(401);const a=await o.json();if(a.errors)throw console.error(a.errors),new Error("Failed to fetch API");return a}function getAuthorization(){try{const e=getBuilderContext();let t=e.tenantId,n=e.authToken;return t&&n?`Bearer ${t},${n}`:null}catch(e){console.error(e)}}function getRootUrl(e){const t=getBuilderContext();if(t.rootUrl)return t.rootUrl;const n="undefined"!=typeof window?window.localStorage.getItem("steedos:rootUrl"):"";return n||e}let UI_SCHEMA_CACHE={},UISchemaFunction;"undefined"!=typeof window&&(window.UI_SCHEMA_CACHE||(window.UI_SCHEMA_CACHE=UI_SCHEMA_CACHE),UI_SCHEMA_CACHE=window.UI_SCHEMA_CACHE);const setUISchemaCache=(e,t)=>{UI_SCHEMA_CACHE[e]=t},getUISchemaCache=e=>lodash.exports.cloneDeep(UI_SCHEMA_CACHE[e]),hasUISchemaCache=e=>lodash.exports.has(UI_SCHEMA_CACHE,e);function formatUISchemaCache(objectName,uiSchema){setUISchemaCache(objectName,uiSchema),lodash.exports.each(uiSchema.fields,(field=>{try{"lookup"===field.type&&field._reference_to&&___default.isString(field._reference_to)&&(field.reference_to=eval(`(${field._reference_to})`)())}catch(e){field.reference_to=void 0,console.error(e)}})),lodash.exports.each(uiSchema.list_views,((e,t)=>{e.name=t,lodash.exports.has(e,"columns")||(e.columns=uiSchema.list_views.all.columns)}))}async function getUISchema(e,t){if(!e)return;if(hasUISchemaCache(e)&&!t)return getUISchemaCache(e);let n=null;try{if(UISchemaFunction);else{const t=`/service/api/@${e.replace(/\./g,"_")}/uiSchema`;n=await fetchAPI(t,{method:"get"})}if(!n)return;formatUISchemaCache(e,n)}catch(t){console.error("getUISchema",e,t),setUISchemaCache(e,null)}return getUISchemaCache(e)}function getUISchemaSync(e,t){if(!e)return;if(hasUISchemaCache(e)&&!t)return getUISchemaCache(e);let n=null;try{const t=`/service/api/@${e.replace(/\./g,"_")}/uiSchema`;if(n=Steedos.authRequest(t,{type:"GET",async:!1}),!n)return;formatUISchemaCache(e,n)}catch(t){console.error("getUISchema",e,t),setUISchemaCache(e,null)}return getUISchemaCache(e)}"undefined"!=typeof window&&(window.getUISchema=getUISchema,window.getUISchemaSync=getUISchemaSync);var __assign=function(){return __assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},__assign.apply(this,arguments)};function createObject(e,t,n){e&&Object.isFrozen(e)&&(e=cloneObject(e));var r=e?Object.create(e,__assign(__assign({},n),{__super:{value:e,writable:!1,enumerable:!1}})):Object.create(Object.prototype,n);return t&&isObject(t)&&Object.keys(t).forEach((function(e){return r[e]=t[e]})),r}function cloneObject(e,t){void 0===t&&(t=!0);var n=e&&e.__super?Object.create(e.__super,{__super:{value:e.__super,writable:!1,enumerable:!1}}):Object.create(Object.prototype);return t&&e&&Object.keys(e).forEach((function(t){return n[t]=e[t]})),n}function isObject(e){var t=typeof e;return e&&"string"!==t&&"number"!==t&&"boolean"!==t&&"function"!==t&&!Array.isArray(e)}var FullCalendar=function(e){var t=e.dispatchEvent,n=e.data,r=__rest(e,["dispatchEvent","data"]),o=function(e,r){return __awaiter(void 0,void 0,void 0,(function(){var o,a;return __generator(this,(function(i){switch(i.label){case 0:return t?[4,t(e,r?createObject(n,r):n)]:[2];case 1:return o=i.sent(),[2,null!==(a=null==o?void 0:o.prevented)&&void 0!==a&&a]}}))}))};return React.createElement(FullCalendar$1,__assign$1({plugins:[main$3,main$2,main$1,main],headerToolbar:{left:"title",center:"",right:"prev,next today dayGridMonth,timeGridWeek,timeGridDay"},locales:_default,locale:"zh-cn",editable:!0,selectable:!0,selectMirror:!0,dayMaxEvents:!0,initialView:"timeGridWeek",events:function(e,t,n){setTimeout((function(){o("getEvents",{fetchInfo:e,successCallback:t,failureCallback:n})}),100)},select:function(e){o("select",e)},eventClick:function(e){o("eventClick",e)},eventsSet:function(e){o("eventsSet",e)},eventAdd:function(e){o("eventAdd",e)},eventChange:function(e){o("eventChange",e)},eventRemove:function(e){o("eventRemove",e)},forceEventDuration:!0},r))};exports.FullCalendar=FullCalendar;
81
+ !function(e,t){(function(){var n,r="Expected a function",a="__lodash_hash_undefined__",o="__lodash_placeholder__",i=16,l=32,s=64,u=128,c=256,d=1/0,f=9007199254740991,p=NaN,h=4294967295,m=[["ary",u],["bind",1],["bindKey",2],["curry",8],["curryRight",i],["flip",512],["partial",l],["partialRight",s],["rearg",c]],v="[object Arguments]",g="[object Array]",y="[object Boolean]",b="[object Date]",w="[object Error]",S="[object Function]",E="[object GeneratorFunction]",_="[object Map]",k="[object Number]",T="[object Object]",x="[object Promise]",C="[object RegExp]",D="[object Set]",R="[object String]",N="[object Symbol]",P="[object WeakMap]",I="[object ArrayBuffer]",O="[object DataView]",M="[object Float32Array]",A="[object Float64Array]",F="[object Int8Array]",L="[object Int16Array]",z="[object Int32Array]",H="[object Uint8Array]",U="[object Uint8ClampedArray]",$="[object Uint16Array]",j="[object Uint32Array]",V=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,B=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,G=RegExp(q.source),K=RegExp(Y.source),Q=/<%-([\s\S]+?)%>/g,X=/<%([\s\S]+?)%>/g,Z=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ee=/^\w*$/,te=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ne=/[\\^$.*+?()[\]{}|]/g,re=RegExp(ne.source),ae=/^\s+/,oe=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,le=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,de=/\\(\\)?/g,fe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,pe=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,me=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,we=/($^)/,Se=/['\n\r\u2028\u2029\\]/g,Ee="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",_e="\\u2700-\\u27bf",ke="a-z\\xdf-\\xf6\\xf8-\\xff",Te="A-Z\\xc0-\\xd6\\xd8-\\xde",xe="\\ufe0e\\ufe0f",Ce="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",De="['’]",Re="[\\ud800-\\udfff]",Ne="["+Ce+"]",Pe="["+Ee+"]",Ie="\\d+",Oe="[\\u2700-\\u27bf]",Me="["+ke+"]",Ae="[^\\ud800-\\udfff"+Ce+Ie+_e+ke+Te+"]",Fe="\\ud83c[\\udffb-\\udfff]",Le="[^\\ud800-\\udfff]",ze="(?:\\ud83c[\\udde6-\\uddff]){2}",He="[\\ud800-\\udbff][\\udc00-\\udfff]",Ue="["+Te+"]",$e="(?:"+Me+"|"+Ae+")",je="(?:"+Ue+"|"+Ae+")",Ve="(?:['’](?:d|ll|m|re|s|t|ve))?",We="(?:['’](?:D|LL|M|RE|S|T|VE))?",Be="(?:"+Pe+"|"+Fe+")"+"?",qe="[\\ufe0e\\ufe0f]?",Ye=qe+Be+("(?:\\u200d(?:"+[Le,ze,He].join("|")+")"+qe+Be+")*"),Ge="(?:"+[Oe,ze,He].join("|")+")"+Ye,Ke="(?:"+[Le+Pe+"?",Pe,ze,He,Re].join("|")+")",Qe=RegExp(De,"g"),Xe=RegExp(Pe,"g"),Ze=RegExp(Fe+"(?="+Fe+")|"+Ke+Ye,"g"),Je=RegExp([Ue+"?"+Me+"+"+Ve+"(?="+[Ne,Ue,"$"].join("|")+")",je+"+"+We+"(?="+[Ne,Ue+$e,"$"].join("|")+")",Ue+"?"+$e+"+"+Ve,Ue+"+"+We,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ie,Ge].join("|"),"g"),et=RegExp("[\\u200d\\ud800-\\udfff"+Ee+xe+"]"),tt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,nt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],rt=-1,at={};at[M]=at[A]=at[F]=at[L]=at[z]=at[H]=at[U]=at[$]=at[j]=!0,at[v]=at[g]=at[I]=at[y]=at[O]=at[b]=at[w]=at[S]=at[_]=at[k]=at[T]=at[C]=at[D]=at[R]=at[P]=!1;var ot={};ot[v]=ot[g]=ot[I]=ot[O]=ot[y]=ot[b]=ot[M]=ot[A]=ot[F]=ot[L]=ot[z]=ot[_]=ot[k]=ot[T]=ot[C]=ot[D]=ot[R]=ot[N]=ot[H]=ot[U]=ot[$]=ot[j]=!0,ot[w]=ot[S]=ot[P]=!1;var it={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,st=parseInt,ut="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,ct="object"==typeof self&&self&&self.Object===Object&&self,dt=ut||ct||Function("return this")(),ft=t&&!t.nodeType&&t,pt=ft&&e&&!e.nodeType&&e,ht=pt&&pt.exports===ft,mt=ht&&ut.process,vt=function(){try{var e=pt&&pt.require&&pt.require("util").types;return e||mt&&mt.binding&&mt.binding("util")}catch(e){}}(),gt=vt&&vt.isArrayBuffer,yt=vt&&vt.isDate,bt=vt&&vt.isMap,wt=vt&&vt.isRegExp,St=vt&&vt.isSet,Et=vt&&vt.isTypedArray;function _t(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function kt(e,t,n,r){for(var a=-1,o=null==e?0:e.length;++a<o;){var i=e[a];t(r,i,n(i),e)}return r}function Tt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function xt(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ct(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Dt(e,t){for(var n=-1,r=null==e?0:e.length,a=0,o=[];++n<r;){var i=e[n];t(i,n,e)&&(o[a++]=i)}return o}function Rt(e,t){return!!(null==e?0:e.length)&&Ht(e,t,0)>-1}function Nt(e,t,n){for(var r=-1,a=null==e?0:e.length;++r<a;)if(n(t,e[r]))return!0;return!1}function Pt(e,t){for(var n=-1,r=null==e?0:e.length,a=Array(r);++n<r;)a[n]=t(e[n],n,e);return a}function It(e,t){for(var n=-1,r=t.length,a=e.length;++n<r;)e[a+n]=t[n];return e}function Ot(e,t,n,r){var a=-1,o=null==e?0:e.length;for(r&&o&&(n=e[++a]);++a<o;)n=t(n,e[a],a,e);return n}function Mt(e,t,n,r){var a=null==e?0:e.length;for(r&&a&&(n=e[--a]);a--;)n=t(n,e[a],a,e);return n}function At(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var Ft=Vt("length");function Lt(e,t,n){var r;return n(e,(function(e,n,a){if(t(e,n,a))return r=n,!1})),r}function zt(e,t,n,r){for(var a=e.length,o=n+(r?1:-1);r?o--:++o<a;)if(t(e[o],o,e))return o;return-1}function Ht(e,t,n){return t==t?function(e,t,n){var r=n-1,a=e.length;for(;++r<a;)if(e[r]===t)return r;return-1}(e,t,n):zt(e,$t,n)}function Ut(e,t,n,r){for(var a=n-1,o=e.length;++a<o;)if(r(e[a],t))return a;return-1}function $t(e){return e!=e}function jt(e,t){var n=null==e?0:e.length;return n?qt(e,t)/n:p}function Vt(e){return function(t){return null==t?n:t[e]}}function Wt(e){return function(t){return null==e?n:e[t]}}function Bt(e,t,n,r,a){return a(e,(function(e,a,o){n=r?(r=!1,e):t(n,e,a,o)})),n}function qt(e,t){for(var r,a=-1,o=e.length;++a<o;){var i=t(e[a]);i!==n&&(r=r===n?i:r+i)}return r}function Yt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Gt(e){return e?e.slice(0,pn(e)+1).replace(ae,""):e}function Kt(e){return function(t){return e(t)}}function Qt(e,t){return Pt(t,(function(t){return e[t]}))}function Xt(e,t){return e.has(t)}function Zt(e,t){for(var n=-1,r=e.length;++n<r&&Ht(t,e[n],0)>-1;);return n}function Jt(e,t){for(var n=e.length;n--&&Ht(t,e[n],0)>-1;);return n}function en(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}var tn=Wt({"À":"A","Á":"A","Â":"A","Ã":"A","Ä":"A","Å":"A","à":"a","á":"a","â":"a","ã":"a","ä":"a","å":"a","Ç":"C","ç":"c","Ð":"D","ð":"d","È":"E","É":"E","Ê":"E","Ë":"E","è":"e","é":"e","ê":"e","ë":"e","Ì":"I","Í":"I","Î":"I","Ï":"I","ì":"i","í":"i","î":"i","ï":"i","Ñ":"N","ñ":"n","Ò":"O","Ó":"O","Ô":"O","Õ":"O","Ö":"O","Ø":"O","ò":"o","ó":"o","ô":"o","õ":"o","ö":"o","ø":"o","Ù":"U","Ú":"U","Û":"U","Ü":"U","ù":"u","ú":"u","û":"u","ü":"u","Ý":"Y","ý":"y","ÿ":"y","Æ":"Ae","æ":"ae","Þ":"Th","þ":"th","ß":"ss","Ā":"A","Ă":"A","Ą":"A","ā":"a","ă":"a","ą":"a","Ć":"C","Ĉ":"C","Ċ":"C","Č":"C","ć":"c","ĉ":"c","ċ":"c","č":"c","Ď":"D","Đ":"D","ď":"d","đ":"d","Ē":"E","Ĕ":"E","Ė":"E","Ę":"E","Ě":"E","ē":"e","ĕ":"e","ė":"e","ę":"e","ě":"e","Ĝ":"G","Ğ":"G","Ġ":"G","Ģ":"G","ĝ":"g","ğ":"g","ġ":"g","ģ":"g","Ĥ":"H","Ħ":"H","ĥ":"h","ħ":"h","Ĩ":"I","Ī":"I","Ĭ":"I","Į":"I","İ":"I","ĩ":"i","ī":"i","ĭ":"i","į":"i","ı":"i","Ĵ":"J","ĵ":"j","Ķ":"K","ķ":"k","ĸ":"k","Ĺ":"L","Ļ":"L","Ľ":"L","Ŀ":"L","Ł":"L","ĺ":"l","ļ":"l","ľ":"l","ŀ":"l","ł":"l","Ń":"N","Ņ":"N","Ň":"N","Ŋ":"N","ń":"n","ņ":"n","ň":"n","ŋ":"n","Ō":"O","Ŏ":"O","Ő":"O","ō":"o","ŏ":"o","ő":"o","Ŕ":"R","Ŗ":"R","Ř":"R","ŕ":"r","ŗ":"r","ř":"r","Ś":"S","Ŝ":"S","Ş":"S","Š":"S","ś":"s","ŝ":"s","ş":"s","š":"s","Ţ":"T","Ť":"T","Ŧ":"T","ţ":"t","ť":"t","ŧ":"t","Ũ":"U","Ū":"U","Ŭ":"U","Ů":"U","Ű":"U","Ų":"U","ũ":"u","ū":"u","ŭ":"u","ů":"u","ű":"u","ų":"u","Ŵ":"W","ŵ":"w","Ŷ":"Y","ŷ":"y","Ÿ":"Y","Ź":"Z","Ż":"Z","Ž":"Z","ź":"z","ż":"z","ž":"z","IJ":"IJ","ij":"ij","Œ":"Oe","œ":"oe","ʼn":"'n","ſ":"s"}),nn=Wt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function rn(e){return"\\"+it[e]}function an(e){return et.test(e)}function on(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function ln(e,t){return function(n){return e(t(n))}}function sn(e,t){for(var n=-1,r=e.length,a=0,i=[];++n<r;){var l=e[n];l!==t&&l!==o||(e[n]=o,i[a++]=n)}return i}function un(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}function dn(e){return an(e)?function(e){var t=Ze.lastIndex=0;for(;Ze.test(e);)++t;return t}(e):Ft(e)}function fn(e){return an(e)?function(e){return e.match(Ze)||[]}(e):function(e){return e.split("")}(e)}function pn(e){for(var t=e.length;t--&&oe.test(e.charAt(t)););return t}var hn=Wt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var mn=function e(t){var oe,Ee=(t=null==t?dt:mn.defaults(dt.Object(),t,mn.pick(dt,nt))).Array,_e=t.Date,ke=t.Error,Te=t.Function,xe=t.Math,Ce=t.Object,De=t.RegExp,Re=t.String,Ne=t.TypeError,Pe=Ee.prototype,Ie=Te.prototype,Oe=Ce.prototype,Me=t["__core-js_shared__"],Ae=Ie.toString,Fe=Oe.hasOwnProperty,Le=0,ze=(oe=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||""))?"Symbol(src)_1."+oe:"",He=Oe.toString,Ue=Ae.call(Ce),$e=dt._,je=De("^"+Ae.call(Fe).replace(ne,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ve=ht?t.Buffer:n,We=t.Symbol,Be=t.Uint8Array,qe=Ve?Ve.allocUnsafe:n,Ye=ln(Ce.getPrototypeOf,Ce),Ge=Ce.create,Ke=Oe.propertyIsEnumerable,Ze=Pe.splice,et=We?We.isConcatSpreadable:n,it=We?We.iterator:n,ut=We?We.toStringTag:n,ct=function(){try{var e=ho(Ce,"defineProperty");return e({},"",{}),e}catch(e){}}(),ft=t.clearTimeout!==dt.clearTimeout&&t.clearTimeout,pt=_e&&_e.now!==dt.Date.now&&_e.now,mt=t.setTimeout!==dt.setTimeout&&t.setTimeout,vt=xe.ceil,Ft=xe.floor,Wt=Ce.getOwnPropertySymbols,vn=Ve?Ve.isBuffer:n,gn=t.isFinite,yn=Pe.join,bn=ln(Ce.keys,Ce),wn=xe.max,Sn=xe.min,En=_e.now,_n=t.parseInt,kn=xe.random,Tn=Pe.reverse,xn=ho(t,"DataView"),Cn=ho(t,"Map"),Dn=ho(t,"Promise"),Rn=ho(t,"Set"),Nn=ho(t,"WeakMap"),Pn=ho(Ce,"create"),In=Nn&&new Nn,On={},Mn=$o(xn),An=$o(Cn),Fn=$o(Dn),Ln=$o(Rn),zn=$o(Nn),Hn=We?We.prototype:n,Un=Hn?Hn.valueOf:n,$n=Hn?Hn.toString:n;function jn(e){if(al(e)&&!Yi(e)&&!(e instanceof qn)){if(e instanceof Bn)return e;if(Fe.call(e,"__wrapped__"))return jo(e)}return new Bn(e)}var Vn=function(){function e(){}return function(t){if(!rl(t))return{};if(Ge)return Ge(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Wn(){}function Bn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function qn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=h,this.__views__=[]}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Gn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Kn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Qn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new Kn;++t<n;)this.add(e[t])}function Xn(e){var t=this.__data__=new Gn(e);this.size=t.size}function Zn(e,t){var n=Yi(e),r=!n&&qi(e),a=!n&&!r&&Xi(e),o=!n&&!r&&!a&&fl(e),i=n||r||a||o,l=i?Yt(e.length,Re):[],s=l.length;for(var u in e)!t&&!Fe.call(e,u)||i&&("length"==u||a&&("offset"==u||"parent"==u)||o&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||So(u,s))||l.push(u);return l}function Jn(e){var t=e.length;return t?e[Qr(0,t-1)]:n}function er(e,t){return zo(Pa(e),ur(t,0,e.length))}function tr(e){return zo(Pa(e))}function nr(e,t,r){(r!==n&&!Vi(e[t],r)||r===n&&!(t in e))&&lr(e,t,r)}function rr(e,t,r){var a=e[t];Fe.call(e,t)&&Vi(a,r)&&(r!==n||t in e)||lr(e,t,r)}function ar(e,t){for(var n=e.length;n--;)if(Vi(e[n][0],t))return n;return-1}function or(e,t,n,r){return hr(e,(function(e,a,o){t(r,e,n(e),o)})),r}function ir(e,t){return e&&Ia(t,Ml(t),e)}function lr(e,t,n){"__proto__"==t&&ct?ct(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function sr(e,t){for(var r=-1,a=t.length,o=Ee(a),i=null==e;++r<a;)o[r]=i?n:Rl(e,t[r]);return o}function ur(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function cr(e,t,r,a,o,i){var l,s=1&t,u=2&t,c=4&t;if(r&&(l=o?r(e,a,o,i):r(e)),l!==n)return l;if(!rl(e))return e;var d=Yi(e);if(d){if(l=function(e){var t=e.length,n=new e.constructor(t);t&&"string"==typeof e[0]&&Fe.call(e,"index")&&(n.index=e.index,n.input=e.input);return n}(e),!s)return Pa(e,l)}else{var f=go(e),p=f==S||f==E;if(Xi(e))return Ta(e,s);if(f==T||f==v||p&&!o){if(l=u||p?{}:bo(e),!s)return u?function(e,t){return Ia(e,vo(e),t)}(e,function(e,t){return e&&Ia(t,Al(t),e)}(l,e)):function(e,t){return Ia(e,mo(e),t)}(e,ir(l,e))}else{if(!ot[f])return o?e:{};l=function(e,t,n){var r=e.constructor;switch(t){case I:return xa(e);case y:case b:return new r(+e);case O:return function(e,t){var n=t?xa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case A:case F:case L:case z:case H:case U:case $:case j:return Ca(e,n);case _:return new r;case k:case R:return new r(e);case C:return function(e){var t=new e.constructor(e.source,pe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case D:return new r;case N:return a=e,Un?Ce(Un.call(a)):{}}var a}(e,f,s)}}i||(i=new Xn);var h=i.get(e);if(h)return h;i.set(e,l),ul(e)?e.forEach((function(n){l.add(cr(n,t,r,n,e,i))})):ol(e)&&e.forEach((function(n,a){l.set(a,cr(n,t,r,a,e,i))}));var m=d?n:(c?u?io:oo:u?Al:Ml)(e);return Tt(m||e,(function(n,a){m&&(n=e[a=n]),rr(l,a,cr(n,t,r,a,e,i))})),l}function dr(e,t,r){var a=r.length;if(null==e)return!a;for(e=Ce(e);a--;){var o=r[a],i=t[o],l=e[o];if(l===n&&!(o in e)||!i(l))return!1}return!0}function fr(e,t,a){if("function"!=typeof e)throw new Ne(r);return Mo((function(){e.apply(n,a)}),t)}function pr(e,t,n,r){var a=-1,o=Rt,i=!0,l=e.length,s=[],u=t.length;if(!l)return s;n&&(t=Pt(t,Kt(n))),r?(o=Nt,i=!1):t.length>=200&&(o=Xt,i=!1,t=new Qn(t));e:for(;++a<l;){var c=e[a],d=null==n?c:n(c);if(c=r||0!==c?c:0,i&&d==d){for(var f=u;f--;)if(t[f]===d)continue e;s.push(c)}else o(t,d,r)||s.push(c)}return s}jn.templateSettings={escape:Q,evaluate:X,interpolate:Z,variable:"",imports:{_:jn}},jn.prototype=Wn.prototype,jn.prototype.constructor=jn,Bn.prototype=Vn(Wn.prototype),Bn.prototype.constructor=Bn,qn.prototype=Vn(Wn.prototype),qn.prototype.constructor=qn,Yn.prototype.clear=function(){this.__data__=Pn?Pn(null):{},this.size=0},Yn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Yn.prototype.get=function(e){var t=this.__data__;if(Pn){var r=t[e];return r===a?n:r}return Fe.call(t,e)?t[e]:n},Yn.prototype.has=function(e){var t=this.__data__;return Pn?t[e]!==n:Fe.call(t,e)},Yn.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Pn&&t===n?a:t,this},Gn.prototype.clear=function(){this.__data__=[],this.size=0},Gn.prototype.delete=function(e){var t=this.__data__,n=ar(t,e);return!(n<0)&&(n==t.length-1?t.pop():Ze.call(t,n,1),--this.size,!0)},Gn.prototype.get=function(e){var t=this.__data__,r=ar(t,e);return r<0?n:t[r][1]},Gn.prototype.has=function(e){return ar(this.__data__,e)>-1},Gn.prototype.set=function(e,t){var n=this.__data__,r=ar(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},Kn.prototype.clear=function(){this.size=0,this.__data__={hash:new Yn,map:new(Cn||Gn),string:new Yn}},Kn.prototype.delete=function(e){var t=fo(this,e).delete(e);return this.size-=t?1:0,t},Kn.prototype.get=function(e){return fo(this,e).get(e)},Kn.prototype.has=function(e){return fo(this,e).has(e)},Kn.prototype.set=function(e,t){var n=fo(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Qn.prototype.add=Qn.prototype.push=function(e){return this.__data__.set(e,a),this},Qn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.clear=function(){this.__data__=new Gn,this.size=0},Xn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Xn.prototype.get=function(e){return this.__data__.get(e)},Xn.prototype.has=function(e){return this.__data__.has(e)},Xn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Gn){var r=n.__data__;if(!Cn||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new Kn(r)}return n.set(e,t),this.size=n.size,this};var hr=Aa(Er),mr=Aa(_r,!0);function vr(e,t){var n=!0;return hr(e,(function(e,r,a){return n=!!t(e,r,a)})),n}function gr(e,t,r){for(var a=-1,o=e.length;++a<o;){var i=e[a],l=t(i);if(null!=l&&(s===n?l==l&&!dl(l):r(l,s)))var s=l,u=i}return u}function yr(e,t){var n=[];return hr(e,(function(e,r,a){t(e,r,a)&&n.push(e)})),n}function br(e,t,n,r,a){var o=-1,i=e.length;for(n||(n=wo),a||(a=[]);++o<i;){var l=e[o];t>0&&n(l)?t>1?br(l,t-1,n,r,a):It(a,l):r||(a[a.length]=l)}return a}var wr=Fa(),Sr=Fa(!0);function Er(e,t){return e&&wr(e,t,Ml)}function _r(e,t){return e&&Sr(e,t,Ml)}function kr(e,t){return Dt(t,(function(t){return el(e[t])}))}function Tr(e,t){for(var r=0,a=(t=Sa(t,e)).length;null!=e&&r<a;)e=e[Uo(t[r++])];return r&&r==a?e:n}function xr(e,t,n){var r=t(e);return Yi(e)?r:It(r,n(e))}function Cr(e){return null==e?e===n?"[object Undefined]":"[object Null]":ut&&ut in Ce(e)?function(e){var t=Fe.call(e,ut),r=e[ut];try{e[ut]=n;var a=!0}catch(e){}var o=He.call(e);a&&(t?e[ut]=r:delete e[ut]);return o}(e):function(e){return He.call(e)}(e)}function Dr(e,t){return e>t}function Rr(e,t){return null!=e&&Fe.call(e,t)}function Nr(e,t){return null!=e&&t in Ce(e)}function Pr(e,t,r){for(var a=r?Nt:Rt,o=e[0].length,i=e.length,l=i,s=Ee(i),u=1/0,c=[];l--;){var d=e[l];l&&t&&(d=Pt(d,Kt(t))),u=Sn(d.length,u),s[l]=!r&&(t||o>=120&&d.length>=120)?new Qn(l&&d):n}d=e[0];var f=-1,p=s[0];e:for(;++f<o&&c.length<u;){var h=d[f],m=t?t(h):h;if(h=r||0!==h?h:0,!(p?Xt(p,m):a(c,m,r))){for(l=i;--l;){var v=s[l];if(!(v?Xt(v,m):a(e[l],m,r)))continue e}p&&p.push(m),c.push(h)}}return c}function Ir(e,t,r){var a=null==(e=No(e,t=Sa(t,e)))?e:e[Uo(Jo(t))];return null==a?n:_t(a,e,r)}function Or(e){return al(e)&&Cr(e)==v}function Mr(e,t,r,a,o){return e===t||(null==e||null==t||!al(e)&&!al(t)?e!=e&&t!=t:function(e,t,r,a,o,i){var l=Yi(e),s=Yi(t),u=l?g:go(e),c=s?g:go(t),d=(u=u==v?T:u)==T,f=(c=c==v?T:c)==T,p=u==c;if(p&&Xi(e)){if(!Xi(t))return!1;l=!0,d=!1}if(p&&!d)return i||(i=new Xn),l||fl(e)?ro(e,t,r,a,o,i):function(e,t,n,r,a,o,i){switch(n){case O:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case I:return!(e.byteLength!=t.byteLength||!o(new Be(e),new Be(t)));case y:case b:case k:return Vi(+e,+t);case w:return e.name==t.name&&e.message==t.message;case C:case R:return e==t+"";case _:var l=on;case D:var s=1&r;if(l||(l=un),e.size!=t.size&&!s)return!1;var u=i.get(e);if(u)return u==t;r|=2,i.set(e,t);var c=ro(l(e),l(t),r,a,o,i);return i.delete(e),c;case N:if(Un)return Un.call(e)==Un.call(t)}return!1}(e,t,u,r,a,o,i);if(!(1&r)){var h=d&&Fe.call(e,"__wrapped__"),m=f&&Fe.call(t,"__wrapped__");if(h||m){var S=h?e.value():e,E=m?t.value():t;return i||(i=new Xn),o(S,E,r,a,i)}}if(!p)return!1;return i||(i=new Xn),function(e,t,r,a,o,i){var l=1&r,s=oo(e),u=s.length,c=oo(t).length;if(u!=c&&!l)return!1;var d=u;for(;d--;){var f=s[d];if(!(l?f in t:Fe.call(t,f)))return!1}var p=i.get(e),h=i.get(t);if(p&&h)return p==t&&h==e;var m=!0;i.set(e,t),i.set(t,e);var v=l;for(;++d<u;){var g=e[f=s[d]],y=t[f];if(a)var b=l?a(y,g,f,t,e,i):a(g,y,f,e,t,i);if(!(b===n?g===y||o(g,y,r,a,i):b)){m=!1;break}v||(v="constructor"==f)}if(m&&!v){var w=e.constructor,S=t.constructor;w==S||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof S&&S instanceof S||(m=!1)}return i.delete(e),i.delete(t),m}(e,t,r,a,o,i)}(e,t,r,a,Mr,o))}function Ar(e,t,r,a){var o=r.length,i=o,l=!a;if(null==e)return!i;for(e=Ce(e);o--;){var s=r[o];if(l&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var u=(s=r[o])[0],c=e[u],d=s[1];if(l&&s[2]){if(c===n&&!(u in e))return!1}else{var f=new Xn;if(a)var p=a(c,d,u,e,t,f);if(!(p===n?Mr(d,c,3,a,f):p))return!1}}return!0}function Fr(e){return!(!rl(e)||(t=e,ze&&ze in t))&&(el(e)?je:ve).test($o(e));var t}function Lr(e){return"function"==typeof e?e:null==e?is:"object"==typeof e?Yi(e)?Vr(e[0],e[1]):jr(e):ms(e)}function zr(e){if(!xo(e))return bn(e);var t=[];for(var n in Ce(e))Fe.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Hr(e){if(!rl(e))return function(e){var t=[];if(null!=e)for(var n in Ce(e))t.push(n);return t}(e);var t=xo(e),n=[];for(var r in e)("constructor"!=r||!t&&Fe.call(e,r))&&n.push(r);return n}function Ur(e,t){return e<t}function $r(e,t){var n=-1,r=Ki(e)?Ee(e.length):[];return hr(e,(function(e,a,o){r[++n]=t(e,a,o)})),r}function jr(e){var t=po(e);return 1==t.length&&t[0][2]?Do(t[0][0],t[0][1]):function(n){return n===e||Ar(n,e,t)}}function Vr(e,t){return _o(e)&&Co(t)?Do(Uo(e),t):function(r){var a=Rl(r,e);return a===n&&a===t?Nl(r,e):Mr(t,a,3)}}function Wr(e,t,r,a,o){e!==t&&wr(t,(function(i,l){if(o||(o=new Xn),rl(i))!function(e,t,r,a,o,i,l){var s=Io(e,r),u=Io(t,r),c=l.get(u);if(c)return void nr(e,r,c);var d=i?i(s,u,r+"",e,t,l):n,f=d===n;if(f){var p=Yi(u),h=!p&&Xi(u),m=!p&&!h&&fl(u);d=u,p||h||m?Yi(s)?d=s:Qi(s)?d=Pa(s):h?(f=!1,d=Ta(u,!0)):m?(f=!1,d=Ca(u,!0)):d=[]:ll(u)||qi(u)?(d=s,qi(s)?d=wl(s):rl(s)&&!el(s)||(d=bo(u))):f=!1}f&&(l.set(u,d),o(d,u,a,i,l),l.delete(u));nr(e,r,d)}(e,t,l,r,Wr,a,o);else{var s=a?a(Io(e,l),i,l+"",e,t,o):n;s===n&&(s=i),nr(e,l,s)}}),Al)}function Br(e,t){var r=e.length;if(r)return So(t+=t<0?r:0,r)?e[t]:n}function qr(e,t,n){t=t.length?Pt(t,(function(e){return Yi(e)?function(t){return Tr(t,1===e.length?e[0]:e)}:e})):[is];var r=-1;t=Pt(t,Kt(co()));var a=$r(e,(function(e,n,a){var o=Pt(t,(function(t){return t(e)}));return{criteria:o,index:++r,value:e}}));return function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e}(a,(function(e,t){return function(e,t,n){var r=-1,a=e.criteria,o=t.criteria,i=a.length,l=n.length;for(;++r<i;){var s=Da(a[r],o[r]);if(s)return r>=l?s:s*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}))}function Yr(e,t,n){for(var r=-1,a=t.length,o={};++r<a;){var i=t[r],l=Tr(e,i);n(l,i)&&ta(o,Sa(i,e),l)}return o}function Gr(e,t,n,r){var a=r?Ut:Ht,o=-1,i=t.length,l=e;for(e===t&&(t=Pa(t)),n&&(l=Pt(e,Kt(n)));++o<i;)for(var s=0,u=t[o],c=n?n(u):u;(s=a(l,c,s,r))>-1;)l!==e&&Ze.call(l,s,1),Ze.call(e,s,1);return e}function Kr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var a=t[n];if(n==r||a!==o){var o=a;So(a)?Ze.call(e,a,1):pa(e,a)}}return e}function Qr(e,t){return e+Ft(kn()*(t-e+1))}function Xr(e,t){var n="";if(!e||t<1||t>f)return n;do{t%2&&(n+=e),(t=Ft(t/2))&&(e+=e)}while(t);return n}function Zr(e,t){return Ao(Ro(e,t,is),e+"")}function Jr(e){return Jn(Vl(e))}function ea(e,t){var n=Vl(e);return zo(n,ur(t,0,n.length))}function ta(e,t,r,a){if(!rl(e))return e;for(var o=-1,i=(t=Sa(t,e)).length,l=i-1,s=e;null!=s&&++o<i;){var u=Uo(t[o]),c=r;if("__proto__"===u||"constructor"===u||"prototype"===u)return e;if(o!=l){var d=s[u];(c=a?a(d,u,s):n)===n&&(c=rl(d)?d:So(t[o+1])?[]:{})}rr(s,u,c),s=s[u]}return e}var na=In?function(e,t){return In.set(e,t),e}:is,ra=ct?function(e,t){return ct(e,"toString",{configurable:!0,enumerable:!1,value:rs(t),writable:!0})}:is;function aa(e){return zo(Vl(e))}function oa(e,t,n){var r=-1,a=e.length;t<0&&(t=-t>a?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=Ee(a);++r<a;)o[r]=e[r+t];return o}function ia(e,t){var n;return hr(e,(function(e,r,a){return!(n=t(e,r,a))})),!!n}function la(e,t,n){var r=0,a=null==e?r:e.length;if("number"==typeof t&&t==t&&a<=2147483647){for(;r<a;){var o=r+a>>>1,i=e[o];null!==i&&!dl(i)&&(n?i<=t:i<t)?r=o+1:a=o}return a}return sa(e,t,is,n)}function sa(e,t,r,a){var o=0,i=null==e?0:e.length;if(0===i)return 0;for(var l=(t=r(t))!=t,s=null===t,u=dl(t),c=t===n;o<i;){var d=Ft((o+i)/2),f=r(e[d]),p=f!==n,h=null===f,m=f==f,v=dl(f);if(l)var g=a||m;else g=c?m&&(a||p):s?m&&p&&(a||!h):u?m&&p&&!h&&(a||!v):!h&&!v&&(a?f<=t:f<t);g?o=d+1:i=d}return Sn(i,4294967294)}function ua(e,t){for(var n=-1,r=e.length,a=0,o=[];++n<r;){var i=e[n],l=t?t(i):i;if(!n||!Vi(l,s)){var s=l;o[a++]=0===i?0:i}}return o}function ca(e){return"number"==typeof e?e:dl(e)?p:+e}function da(e){if("string"==typeof e)return e;if(Yi(e))return Pt(e,da)+"";if(dl(e))return $n?$n.call(e):"";var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function fa(e,t,n){var r=-1,a=Rt,o=e.length,i=!0,l=[],s=l;if(n)i=!1,a=Nt;else if(o>=200){var u=t?null:Xa(e);if(u)return un(u);i=!1,a=Xt,s=new Qn}else s=t?[]:l;e:for(;++r<o;){var c=e[r],d=t?t(c):c;if(c=n||0!==c?c:0,i&&d==d){for(var f=s.length;f--;)if(s[f]===d)continue e;t&&s.push(d),l.push(c)}else a(s,d,n)||(s!==l&&s.push(d),l.push(c))}return l}function pa(e,t){return null==(e=No(e,t=Sa(t,e)))||delete e[Uo(Jo(t))]}function ha(e,t,n,r){return ta(e,t,n(Tr(e,t)),r)}function ma(e,t,n,r){for(var a=e.length,o=r?a:-1;(r?o--:++o<a)&&t(e[o],o,e););return n?oa(e,r?0:o,r?o+1:a):oa(e,r?o+1:0,r?a:o)}function va(e,t){var n=e;return n instanceof qn&&(n=n.value()),Ot(t,(function(e,t){return t.func.apply(t.thisArg,It([e],t.args))}),n)}function ga(e,t,n){var r=e.length;if(r<2)return r?fa(e[0]):[];for(var a=-1,o=Ee(r);++a<r;)for(var i=e[a],l=-1;++l<r;)l!=a&&(o[a]=pr(o[a]||i,e[l],t,n));return fa(br(o,1),t,n)}function ya(e,t,r){for(var a=-1,o=e.length,i=t.length,l={};++a<o;){var s=a<i?t[a]:n;r(l,e[a],s)}return l}function ba(e){return Qi(e)?e:[]}function wa(e){return"function"==typeof e?e:is}function Sa(e,t){return Yi(e)?e:_o(e,t)?[e]:Ho(Sl(e))}var Ea=Zr;function _a(e,t,r){var a=e.length;return r=r===n?a:r,!t&&r>=a?e:oa(e,t,r)}var ka=ft||function(e){return dt.clearTimeout(e)};function Ta(e,t){if(t)return e.slice();var n=e.length,r=qe?qe(n):new e.constructor(n);return e.copy(r),r}function xa(e){var t=new e.constructor(e.byteLength);return new Be(t).set(new Be(e)),t}function Ca(e,t){var n=t?xa(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function Da(e,t){if(e!==t){var r=e!==n,a=null===e,o=e==e,i=dl(e),l=t!==n,s=null===t,u=t==t,c=dl(t);if(!s&&!c&&!i&&e>t||i&&l&&u&&!s&&!c||a&&l&&u||!r&&u||!o)return 1;if(!a&&!i&&!c&&e<t||c&&r&&o&&!a&&!i||s&&r&&o||!l&&o||!u)return-1}return 0}function Ra(e,t,n,r){for(var a=-1,o=e.length,i=n.length,l=-1,s=t.length,u=wn(o-i,0),c=Ee(s+u),d=!r;++l<s;)c[l]=t[l];for(;++a<i;)(d||a<o)&&(c[n[a]]=e[a]);for(;u--;)c[l++]=e[a++];return c}function Na(e,t,n,r){for(var a=-1,o=e.length,i=-1,l=n.length,s=-1,u=t.length,c=wn(o-l,0),d=Ee(c+u),f=!r;++a<c;)d[a]=e[a];for(var p=a;++s<u;)d[p+s]=t[s];for(;++i<l;)(f||a<o)&&(d[p+n[i]]=e[a++]);return d}function Pa(e,t){var n=-1,r=e.length;for(t||(t=Ee(r));++n<r;)t[n]=e[n];return t}function Ia(e,t,r,a){var o=!r;r||(r={});for(var i=-1,l=t.length;++i<l;){var s=t[i],u=a?a(r[s],e[s],s,r,e):n;u===n&&(u=e[s]),o?lr(r,s,u):rr(r,s,u)}return r}function Oa(e,t){return function(n,r){var a=Yi(n)?kt:or,o=t?t():{};return a(n,e,co(r,2),o)}}function Ma(e){return Zr((function(t,r){var a=-1,o=r.length,i=o>1?r[o-1]:n,l=o>2?r[2]:n;for(i=e.length>3&&"function"==typeof i?(o--,i):n,l&&Eo(r[0],r[1],l)&&(i=o<3?n:i,o=1),t=Ce(t);++a<o;){var s=r[a];s&&e(t,s,a,i)}return t}))}function Aa(e,t){return function(n,r){if(null==n)return n;if(!Ki(n))return e(n,r);for(var a=n.length,o=t?a:-1,i=Ce(n);(t?o--:++o<a)&&!1!==r(i[o],o,i););return n}}function Fa(e){return function(t,n,r){for(var a=-1,o=Ce(t),i=r(t),l=i.length;l--;){var s=i[e?l:++a];if(!1===n(o[s],s,o))break}return t}}function La(e){return function(t){var r=an(t=Sl(t))?fn(t):n,a=r?r[0]:t.charAt(0),o=r?_a(r,1).join(""):t.slice(1);return a[e]()+o}}function za(e){return function(t){return Ot(es(ql(t).replace(Qe,"")),e,"")}}function Ha(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=Vn(e.prototype),r=e.apply(n,t);return rl(r)?r:n}}function Ua(e){return function(t,r,a){var o=Ce(t);if(!Ki(t)){var i=co(r,3);t=Ml(t),r=function(e){return i(o[e],e,o)}}var l=e(t,r,a);return l>-1?o[i?t[l]:l]:n}}function $a(e){return ao((function(t){var a=t.length,o=a,i=Bn.prototype.thru;for(e&&t.reverse();o--;){var l=t[o];if("function"!=typeof l)throw new Ne(r);if(i&&!s&&"wrapper"==so(l))var s=new Bn([],!0)}for(o=s?o:a;++o<a;){var u=so(l=t[o]),c="wrapper"==u?lo(l):n;s=c&&ko(c[0])&&424==c[1]&&!c[4].length&&1==c[9]?s[so(c[0])].apply(s,c[3]):1==l.length&&ko(l)?s[u]():s.thru(l)}return function(){var e=arguments,n=e[0];if(s&&1==e.length&&Yi(n))return s.plant(n).value();for(var r=0,o=a?t[r].apply(this,e):n;++r<a;)o=t[r].call(this,o);return o}}))}function ja(e,t,r,a,o,i,l,s,c,d){var f=t&u,p=1&t,h=2&t,m=24&t,v=512&t,g=h?n:Ha(e);return function n(){for(var u=arguments.length,y=Ee(u),b=u;b--;)y[b]=arguments[b];if(m)var w=uo(n),S=en(y,w);if(a&&(y=Ra(y,a,o,m)),i&&(y=Na(y,i,l,m)),u-=S,m&&u<d){var E=sn(y,w);return Ka(e,t,ja,n.placeholder,r,y,E,s,c,d-u)}var _=p?r:this,k=h?_[e]:e;return u=y.length,s?y=Po(y,s):v&&u>1&&y.reverse(),f&&c<u&&(y.length=c),this&&this!==dt&&this instanceof n&&(k=g||Ha(k)),k.apply(_,y)}}function Va(e,t){return function(n,r){return function(e,t,n,r){return Er(e,(function(e,a,o){t(r,n(e),a,o)})),r}(n,e,t(r),{})}}function Wa(e,t){return function(r,a){var o;if(r===n&&a===n)return t;if(r!==n&&(o=r),a!==n){if(o===n)return a;"string"==typeof r||"string"==typeof a?(r=da(r),a=da(a)):(r=ca(r),a=ca(a)),o=e(r,a)}return o}}function Ba(e){return ao((function(t){return t=Pt(t,Kt(co())),Zr((function(n){var r=this;return e(t,(function(e){return _t(e,r,n)}))}))}))}function qa(e,t){var r=(t=t===n?" ":da(t)).length;if(r<2)return r?Xr(t,e):t;var a=Xr(t,vt(e/dn(t)));return an(t)?_a(fn(a),0,e).join(""):a.slice(0,e)}function Ya(e){return function(t,r,a){return a&&"number"!=typeof a&&Eo(t,r,a)&&(r=a=n),t=vl(t),r===n?(r=t,t=0):r=vl(r),function(e,t,n,r){for(var a=-1,o=wn(vt((t-e)/(n||1)),0),i=Ee(o);o--;)i[r?o:++a]=e,e+=n;return i}(t,r,a=a===n?t<r?1:-1:vl(a),e)}}function Ga(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=bl(t),n=bl(n)),e(t,n)}}function Ka(e,t,r,a,o,i,u,c,d,f){var p=8&t;t|=p?l:s,4&(t&=~(p?s:l))||(t&=-4);var h=[e,t,o,p?i:n,p?u:n,p?n:i,p?n:u,c,d,f],m=r.apply(n,h);return ko(e)&&Oo(m,h),m.placeholder=a,Fo(m,e,t)}function Qa(e){var t=xe[e];return function(e,n){if(e=bl(e),(n=null==n?0:Sn(gl(n),292))&&gn(e)){var r=(Sl(e)+"e").split("e");return+((r=(Sl(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Xa=Rn&&1/un(new Rn([,-0]))[1]==d?function(e){return new Rn(e)}:ds;function Za(e){return function(t){var n=go(t);return n==_?on(t):n==D?cn(t):function(e,t){return Pt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Ja(e,t,a,d,f,p,h,m){var v=2&t;if(!v&&"function"!=typeof e)throw new Ne(r);var g=d?d.length:0;if(g||(t&=-97,d=f=n),h=h===n?h:wn(gl(h),0),m=m===n?m:gl(m),g-=f?f.length:0,t&s){var y=d,b=f;d=f=n}var w=v?n:lo(e),S=[e,t,a,d,f,y,b,p,h,m];if(w&&function(e,t){var n=e[1],r=t[1],a=n|r,i=a<131,l=r==u&&8==n||r==u&&n==c&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!i&&!l)return e;1&r&&(e[2]=t[2],a|=1&n?0:4);var s=t[3];if(s){var d=e[3];e[3]=d?Ra(d,s,t[4]):s,e[4]=d?sn(e[3],o):t[4]}(s=t[5])&&(d=e[5],e[5]=d?Na(d,s,t[6]):s,e[6]=d?sn(e[5],o):t[6]);(s=t[7])&&(e[7]=s);r&u&&(e[8]=null==e[8]?t[8]:Sn(e[8],t[8]));null==e[9]&&(e[9]=t[9]);e[0]=t[0],e[1]=a}(S,w),e=S[0],t=S[1],a=S[2],d=S[3],f=S[4],!(m=S[9]=S[9]===n?v?0:e.length:wn(S[9]-g,0))&&24&t&&(t&=-25),t&&1!=t)E=8==t||t==i?function(e,t,r){var a=Ha(e);return function o(){for(var i=arguments.length,l=Ee(i),s=i,u=uo(o);s--;)l[s]=arguments[s];var c=i<3&&l[0]!==u&&l[i-1]!==u?[]:sn(l,u);return(i-=c.length)<r?Ka(e,t,ja,o.placeholder,n,l,c,n,n,r-i):_t(this&&this!==dt&&this instanceof o?a:e,this,l)}}(e,t,m):t!=l&&33!=t||f.length?ja.apply(n,S):function(e,t,n,r){var a=1&t,o=Ha(e);return function t(){for(var i=-1,l=arguments.length,s=-1,u=r.length,c=Ee(u+l),d=this&&this!==dt&&this instanceof t?o:e;++s<u;)c[s]=r[s];for(;l--;)c[s++]=arguments[++i];return _t(d,a?n:this,c)}}(e,t,a,d);else var E=function(e,t,n){var r=1&t,a=Ha(e);return function t(){return(this&&this!==dt&&this instanceof t?a:e).apply(r?n:this,arguments)}}(e,t,a);return Fo((w?na:Oo)(E,S),e,t)}function eo(e,t,r,a){return e===n||Vi(e,Oe[r])&&!Fe.call(a,r)?t:e}function to(e,t,r,a,o,i){return rl(e)&&rl(t)&&(i.set(t,e),Wr(e,t,n,to,i),i.delete(t)),e}function no(e){return ll(e)?n:e}function ro(e,t,r,a,o,i){var l=1&r,s=e.length,u=t.length;if(s!=u&&!(l&&u>s))return!1;var c=i.get(e),d=i.get(t);if(c&&d)return c==t&&d==e;var f=-1,p=!0,h=2&r?new Qn:n;for(i.set(e,t),i.set(t,e);++f<s;){var m=e[f],v=t[f];if(a)var g=l?a(v,m,f,t,e,i):a(m,v,f,e,t,i);if(g!==n){if(g)continue;p=!1;break}if(h){if(!At(t,(function(e,t){if(!Xt(h,t)&&(m===e||o(m,e,r,a,i)))return h.push(t)}))){p=!1;break}}else if(m!==v&&!o(m,v,r,a,i)){p=!1;break}}return i.delete(e),i.delete(t),p}function ao(e){return Ao(Ro(e,n,Go),e+"")}function oo(e){return xr(e,Ml,mo)}function io(e){return xr(e,Al,vo)}var lo=In?function(e){return In.get(e)}:ds;function so(e){for(var t=e.name+"",n=On[t],r=Fe.call(On,t)?n.length:0;r--;){var a=n[r],o=a.func;if(null==o||o==e)return a.name}return t}function uo(e){return(Fe.call(jn,"placeholder")?jn:e).placeholder}function co(){var e=jn.iteratee||ls;return e=e===ls?Lr:e,arguments.length?e(arguments[0],arguments[1]):e}function fo(e,t){var n,r,a=e.__data__;return("string"==(r=typeof(n=t))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?a["string"==typeof t?"string":"hash"]:a.map}function po(e){for(var t=Ml(e),n=t.length;n--;){var r=t[n],a=e[r];t[n]=[r,a,Co(a)]}return t}function ho(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return Fr(r)?r:n}var mo=Wt?function(e){return null==e?[]:(e=Ce(e),Dt(Wt(e),(function(t){return Ke.call(e,t)})))}:ys,vo=Wt?function(e){for(var t=[];e;)It(t,mo(e)),e=Ye(e);return t}:ys,go=Cr;function yo(e,t,n){for(var r=-1,a=(t=Sa(t,e)).length,o=!1;++r<a;){var i=Uo(t[r]);if(!(o=null!=e&&n(e,i)))break;e=e[i]}return o||++r!=a?o:!!(a=null==e?0:e.length)&&nl(a)&&So(i,a)&&(Yi(e)||qi(e))}function bo(e){return"function"!=typeof e.constructor||xo(e)?{}:Vn(Ye(e))}function wo(e){return Yi(e)||qi(e)||!!(et&&e&&e[et])}function So(e,t){var n=typeof e;return!!(t=null==t?f:t)&&("number"==n||"symbol"!=n&&ye.test(e))&&e>-1&&e%1==0&&e<t}function Eo(e,t,n){if(!rl(n))return!1;var r=typeof t;return!!("number"==r?Ki(n)&&So(t,n.length):"string"==r&&t in n)&&Vi(n[t],e)}function _o(e,t){if(Yi(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!dl(e))||(ee.test(e)||!J.test(e)||null!=t&&e in Ce(t))}function ko(e){var t=so(e),n=jn[t];if("function"!=typeof n||!(t in qn.prototype))return!1;if(e===n)return!0;var r=lo(n);return!!r&&e===r[0]}(xn&&go(new xn(new ArrayBuffer(1)))!=O||Cn&&go(new Cn)!=_||Dn&&go(Dn.resolve())!=x||Rn&&go(new Rn)!=D||Nn&&go(new Nn)!=P)&&(go=function(e){var t=Cr(e),r=t==T?e.constructor:n,a=r?$o(r):"";if(a)switch(a){case Mn:return O;case An:return _;case Fn:return x;case Ln:return D;case zn:return P}return t});var To=Me?el:bs;function xo(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Oe)}function Co(e){return e==e&&!rl(e)}function Do(e,t){return function(r){return null!=r&&(r[e]===t&&(t!==n||e in Ce(r)))}}function Ro(e,t,r){return t=wn(t===n?e.length-1:t,0),function(){for(var n=arguments,a=-1,o=wn(n.length-t,0),i=Ee(o);++a<o;)i[a]=n[t+a];a=-1;for(var l=Ee(t+1);++a<t;)l[a]=n[a];return l[t]=r(i),_t(e,this,l)}}function No(e,t){return t.length<2?e:Tr(e,oa(t,0,-1))}function Po(e,t){for(var r=e.length,a=Sn(t.length,r),o=Pa(e);a--;){var i=t[a];e[a]=So(i,r)?o[i]:n}return e}function Io(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Oo=Lo(na),Mo=mt||function(e,t){return dt.setTimeout(e,t)},Ao=Lo(ra);function Fo(e,t,n){var r=t+"";return Ao(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return Tt(m,(function(n){var r="_."+n[0];t&n[1]&&!Rt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(le);return t?t[1].split(se):[]}(r),n)))}function Lo(e){var t=0,r=0;return function(){var a=En(),o=16-(a-r);if(r=a,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function zo(e,t){var r=-1,a=e.length,o=a-1;for(t=t===n?a:t;++r<t;){var i=Qr(r,o),l=e[i];e[i]=e[r],e[r]=l}return e.length=t,e}var Ho=function(e){var t=Li(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(te,(function(e,n,r,a){t.push(r?a.replace(de,"$1"):n||e)})),t}));function Uo(e){if("string"==typeof e||dl(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}function $o(e){if(null!=e){try{return Ae.call(e)}catch(e){}try{return e+""}catch(e){}}return""}function jo(e){if(e instanceof qn)return e.clone();var t=new Bn(e.__wrapped__,e.__chain__);return t.__actions__=Pa(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var Vo=Zr((function(e,t){return Qi(e)?pr(e,br(t,1,Qi,!0)):[]})),Wo=Zr((function(e,t){var r=Jo(t);return Qi(r)&&(r=n),Qi(e)?pr(e,br(t,1,Qi,!0),co(r,2)):[]})),Bo=Zr((function(e,t){var r=Jo(t);return Qi(r)&&(r=n),Qi(e)?pr(e,br(t,1,Qi,!0),n,r):[]}));function qo(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:gl(n);return a<0&&(a=wn(r+a,0)),zt(e,co(t,3),a)}function Yo(e,t,r){var a=null==e?0:e.length;if(!a)return-1;var o=a-1;return r!==n&&(o=gl(r),o=r<0?wn(a+o,0):Sn(o,a-1)),zt(e,co(t,3),o,!0)}function Go(e){return(null==e?0:e.length)?br(e,1):[]}function Ko(e){return e&&e.length?e[0]:n}var Qo=Zr((function(e){var t=Pt(e,ba);return t.length&&t[0]===e[0]?Pr(t):[]})),Xo=Zr((function(e){var t=Jo(e),r=Pt(e,ba);return t===Jo(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Pr(r,co(t,2)):[]})),Zo=Zr((function(e){var t=Jo(e),r=Pt(e,ba);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Pr(r,n,t):[]}));function Jo(e){var t=null==e?0:e.length;return t?e[t-1]:n}var ei=Zr(ti);function ti(e,t){return e&&e.length&&t&&t.length?Gr(e,t):e}var ni=ao((function(e,t){var n=null==e?0:e.length,r=sr(e,t);return Kr(e,Pt(t,(function(e){return So(e,n)?+e:e})).sort(Da)),r}));function ri(e){return null==e?e:Tn.call(e)}var ai=Zr((function(e){return fa(br(e,1,Qi,!0))})),oi=Zr((function(e){var t=Jo(e);return Qi(t)&&(t=n),fa(br(e,1,Qi,!0),co(t,2))})),ii=Zr((function(e){var t=Jo(e);return t="function"==typeof t?t:n,fa(br(e,1,Qi,!0),n,t)}));function li(e){if(!e||!e.length)return[];var t=0;return e=Dt(e,(function(e){if(Qi(e))return t=wn(e.length,t),!0})),Yt(t,(function(t){return Pt(e,Vt(t))}))}function si(e,t){if(!e||!e.length)return[];var r=li(e);return null==t?r:Pt(r,(function(e){return _t(t,n,e)}))}var ui=Zr((function(e,t){return Qi(e)?pr(e,t):[]})),ci=Zr((function(e){return ga(Dt(e,Qi))})),di=Zr((function(e){var t=Jo(e);return Qi(t)&&(t=n),ga(Dt(e,Qi),co(t,2))})),fi=Zr((function(e){var t=Jo(e);return t="function"==typeof t?t:n,ga(Dt(e,Qi),n,t)})),pi=Zr(li);var hi=Zr((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,si(e,r)}));function mi(e){var t=jn(e);return t.__chain__=!0,t}function vi(e,t){return t(e)}var gi=ao((function(e){var t=e.length,r=t?e[0]:0,a=this.__wrapped__,o=function(t){return sr(t,e)};return!(t>1||this.__actions__.length)&&a instanceof qn&&So(r)?((a=a.slice(r,+r+(t?1:0))).__actions__.push({func:vi,args:[o],thisArg:n}),new Bn(a,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(o)}));var yi=Oa((function(e,t,n){Fe.call(e,n)?++e[n]:lr(e,n,1)}));var bi=Ua(qo),wi=Ua(Yo);function Si(e,t){return(Yi(e)?Tt:hr)(e,co(t,3))}function Ei(e,t){return(Yi(e)?xt:mr)(e,co(t,3))}var _i=Oa((function(e,t,n){Fe.call(e,n)?e[n].push(t):lr(e,n,[t])}));var ki=Zr((function(e,t,n){var r=-1,a="function"==typeof t,o=Ki(e)?Ee(e.length):[];return hr(e,(function(e){o[++r]=a?_t(t,e,n):Ir(e,t,n)})),o})),Ti=Oa((function(e,t,n){lr(e,n,t)}));function xi(e,t){return(Yi(e)?Pt:$r)(e,co(t,3))}var Ci=Oa((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]}));var Di=Zr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&Eo(e,t[0],t[1])?t=[]:n>2&&Eo(t[0],t[1],t[2])&&(t=[t[0]]),qr(e,br(t,1),[])})),Ri=pt||function(){return dt.Date.now()};function Ni(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Ja(e,u,n,n,n,n,t)}function Pi(e,t){var a;if("function"!=typeof t)throw new Ne(r);return e=gl(e),function(){return--e>0&&(a=t.apply(this,arguments)),e<=1&&(t=n),a}}var Ii=Zr((function(e,t,n){var r=1;if(n.length){var a=sn(n,uo(Ii));r|=l}return Ja(e,r,t,n,a)})),Oi=Zr((function(e,t,n){var r=3;if(n.length){var a=sn(n,uo(Oi));r|=l}return Ja(t,r,e,n,a)}));function Mi(e,t,a){var o,i,l,s,u,c,d=0,f=!1,p=!1,h=!0;if("function"!=typeof e)throw new Ne(r);function m(t){var r=o,a=i;return o=i=n,d=t,s=e.apply(a,r)}function v(e){return d=e,u=Mo(y,t),f?m(e):s}function g(e){var r=e-c;return c===n||r>=t||r<0||p&&e-d>=l}function y(){var e=Ri();if(g(e))return b(e);u=Mo(y,function(e){var n=t-(e-c);return p?Sn(n,l-(e-d)):n}(e))}function b(e){return u=n,h&&o?m(e):(o=i=n,s)}function w(){var e=Ri(),r=g(e);if(o=arguments,i=this,c=e,r){if(u===n)return v(c);if(p)return ka(u),u=Mo(y,t),m(c)}return u===n&&(u=Mo(y,t)),s}return t=bl(t)||0,rl(a)&&(f=!!a.leading,l=(p="maxWait"in a)?wn(bl(a.maxWait)||0,t):l,h="trailing"in a?!!a.trailing:h),w.cancel=function(){u!==n&&ka(u),d=0,o=c=i=u=n},w.flush=function(){return u===n?s:b(Ri())},w}var Ai=Zr((function(e,t){return fr(e,1,t)})),Fi=Zr((function(e,t,n){return fr(e,bl(t)||0,n)}));function Li(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Ne(r);var n=function(){var r=arguments,a=t?t.apply(this,r):r[0],o=n.cache;if(o.has(a))return o.get(a);var i=e.apply(this,r);return n.cache=o.set(a,i)||o,i};return n.cache=new(Li.Cache||Kn),n}function zi(e){if("function"!=typeof e)throw new Ne(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Li.Cache=Kn;var Hi=Ea((function(e,t){var n=(t=1==t.length&&Yi(t[0])?Pt(t[0],Kt(co())):Pt(br(t,1),Kt(co()))).length;return Zr((function(r){for(var a=-1,o=Sn(r.length,n);++a<o;)r[a]=t[a].call(this,r[a]);return _t(e,this,r)}))})),Ui=Zr((function(e,t){var r=sn(t,uo(Ui));return Ja(e,l,n,t,r)})),$i=Zr((function(e,t){var r=sn(t,uo($i));return Ja(e,s,n,t,r)})),ji=ao((function(e,t){return Ja(e,c,n,n,n,t)}));function Vi(e,t){return e===t||e!=e&&t!=t}var Wi=Ga(Dr),Bi=Ga((function(e,t){return e>=t})),qi=Or(function(){return arguments}())?Or:function(e){return al(e)&&Fe.call(e,"callee")&&!Ke.call(e,"callee")},Yi=Ee.isArray,Gi=gt?Kt(gt):function(e){return al(e)&&Cr(e)==I};function Ki(e){return null!=e&&nl(e.length)&&!el(e)}function Qi(e){return al(e)&&Ki(e)}var Xi=vn||bs,Zi=yt?Kt(yt):function(e){return al(e)&&Cr(e)==b};function Ji(e){if(!al(e))return!1;var t=Cr(e);return t==w||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!ll(e)}function el(e){if(!rl(e))return!1;var t=Cr(e);return t==S||t==E||"[object AsyncFunction]"==t||"[object Proxy]"==t}function tl(e){return"number"==typeof e&&e==gl(e)}function nl(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=f}function rl(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function al(e){return null!=e&&"object"==typeof e}var ol=bt?Kt(bt):function(e){return al(e)&&go(e)==_};function il(e){return"number"==typeof e||al(e)&&Cr(e)==k}function ll(e){if(!al(e)||Cr(e)!=T)return!1;var t=Ye(e);if(null===t)return!0;var n=Fe.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ae.call(n)==Ue}var sl=wt?Kt(wt):function(e){return al(e)&&Cr(e)==C};var ul=St?Kt(St):function(e){return al(e)&&go(e)==D};function cl(e){return"string"==typeof e||!Yi(e)&&al(e)&&Cr(e)==R}function dl(e){return"symbol"==typeof e||al(e)&&Cr(e)==N}var fl=Et?Kt(Et):function(e){return al(e)&&nl(e.length)&&!!at[Cr(e)]};var pl=Ga(Ur),hl=Ga((function(e,t){return e<=t}));function ml(e){if(!e)return[];if(Ki(e))return cl(e)?fn(e):Pa(e);if(it&&e[it])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[it]());var t=go(e);return(t==_?on:t==D?un:Vl)(e)}function vl(e){return e?(e=bl(e))===d||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function gl(e){var t=vl(e),n=t%1;return t==t?n?t-n:t:0}function yl(e){return e?ur(gl(e),0,h):0}function bl(e){if("number"==typeof e)return e;if(dl(e))return p;if(rl(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=rl(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Gt(e);var n=me.test(e);return n||ge.test(e)?st(e.slice(2),n?2:8):he.test(e)?p:+e}function wl(e){return Ia(e,Al(e))}function Sl(e){return null==e?"":da(e)}var El=Ma((function(e,t){if(xo(t)||Ki(t))Ia(t,Ml(t),e);else for(var n in t)Fe.call(t,n)&&rr(e,n,t[n])})),_l=Ma((function(e,t){Ia(t,Al(t),e)})),kl=Ma((function(e,t,n,r){Ia(t,Al(t),e,r)})),Tl=Ma((function(e,t,n,r){Ia(t,Ml(t),e,r)})),xl=ao(sr);var Cl=Zr((function(e,t){e=Ce(e);var r=-1,a=t.length,o=a>2?t[2]:n;for(o&&Eo(t[0],t[1],o)&&(a=1);++r<a;)for(var i=t[r],l=Al(i),s=-1,u=l.length;++s<u;){var c=l[s],d=e[c];(d===n||Vi(d,Oe[c])&&!Fe.call(e,c))&&(e[c]=i[c])}return e})),Dl=Zr((function(e){return e.push(n,to),_t(Ll,n,e)}));function Rl(e,t,r){var a=null==e?n:Tr(e,t);return a===n?r:a}function Nl(e,t){return null!=e&&yo(e,t,Nr)}var Pl=Va((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=He.call(t)),e[t]=n}),rs(is)),Il=Va((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=He.call(t)),Fe.call(e,t)?e[t].push(n):e[t]=[n]}),co),Ol=Zr(Ir);function Ml(e){return Ki(e)?Zn(e):zr(e)}function Al(e){return Ki(e)?Zn(e,!0):Hr(e)}var Fl=Ma((function(e,t,n){Wr(e,t,n)})),Ll=Ma((function(e,t,n,r){Wr(e,t,n,r)})),zl=ao((function(e,t){var n={};if(null==e)return n;var r=!1;t=Pt(t,(function(t){return t=Sa(t,e),r||(r=t.length>1),t})),Ia(e,io(e),n),r&&(n=cr(n,7,no));for(var a=t.length;a--;)pa(n,t[a]);return n}));var Hl=ao((function(e,t){return null==e?{}:function(e,t){return Yr(e,t,(function(t,n){return Nl(e,n)}))}(e,t)}));function Ul(e,t){if(null==e)return{};var n=Pt(io(e),(function(e){return[e]}));return t=co(t),Yr(e,n,(function(e,n){return t(e,n[0])}))}var $l=Za(Ml),jl=Za(Al);function Vl(e){return null==e?[]:Qt(e,Ml(e))}var Wl=za((function(e,t,n){return t=t.toLowerCase(),e+(n?Bl(t):t)}));function Bl(e){return Jl(Sl(e).toLowerCase())}function ql(e){return(e=Sl(e))&&e.replace(be,tn).replace(Xe,"")}var Yl=za((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Gl=za((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),Kl=La("toLowerCase");var Ql=za((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()}));var Xl=za((function(e,t,n){return e+(n?" ":"")+Jl(t)}));var Zl=za((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Jl=La("toUpperCase");function es(e,t,r){return e=Sl(e),(t=r?n:t)===n?function(e){return tt.test(e)}(e)?function(e){return e.match(Je)||[]}(e):function(e){return e.match(ue)||[]}(e):e.match(t)||[]}var ts=Zr((function(e,t){try{return _t(e,n,t)}catch(e){return Ji(e)?e:new ke(e)}})),ns=ao((function(e,t){return Tt(t,(function(t){t=Uo(t),lr(e,t,Ii(e[t],e))})),e}));function rs(e){return function(){return e}}var as=$a(),os=$a(!0);function is(e){return e}function ls(e){return Lr("function"==typeof e?e:cr(e,1))}var ss=Zr((function(e,t){return function(n){return Ir(n,e,t)}})),us=Zr((function(e,t){return function(n){return Ir(e,n,t)}}));function cs(e,t,n){var r=Ml(t),a=kr(t,r);null!=n||rl(t)&&(a.length||!r.length)||(n=t,t=e,e=this,a=kr(t,Ml(t)));var o=!(rl(n)&&"chain"in n&&!n.chain),i=el(e);return Tt(a,(function(n){var r=t[n];e[n]=r,i&&(e.prototype[n]=function(){var t=this.__chain__;if(o||t){var n=e(this.__wrapped__),a=n.__actions__=Pa(this.__actions__);return a.push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,It([this.value()],arguments))})})),e}function ds(){}var fs=Ba(Pt),ps=Ba(Ct),hs=Ba(At);function ms(e){return _o(e)?Vt(Uo(e)):function(e){return function(t){return Tr(t,e)}}(e)}var vs=Ya(),gs=Ya(!0);function ys(){return[]}function bs(){return!1}var ws=Wa((function(e,t){return e+t}),0),Ss=Qa("ceil"),Es=Wa((function(e,t){return e/t}),1),_s=Qa("floor");var ks,Ts=Wa((function(e,t){return e*t}),1),xs=Qa("round"),Cs=Wa((function(e,t){return e-t}),0);return jn.after=function(e,t){if("function"!=typeof t)throw new Ne(r);return e=gl(e),function(){if(--e<1)return t.apply(this,arguments)}},jn.ary=Ni,jn.assign=El,jn.assignIn=_l,jn.assignInWith=kl,jn.assignWith=Tl,jn.at=xl,jn.before=Pi,jn.bind=Ii,jn.bindAll=ns,jn.bindKey=Oi,jn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Yi(e)?e:[e]},jn.chain=mi,jn.chunk=function(e,t,r){t=(r?Eo(e,t,r):t===n)?1:wn(gl(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,i=0,l=Ee(vt(a/t));o<a;)l[i++]=oa(e,o,o+=t);return l},jn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,a=[];++t<n;){var o=e[t];o&&(a[r++]=o)}return a},jn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=Ee(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return It(Yi(n)?Pa(n):[n],br(t,1))},jn.cond=function(e){var t=null==e?0:e.length,n=co();return e=t?Pt(e,(function(e){if("function"!=typeof e[1])throw new Ne(r);return[n(e[0]),e[1]]})):[],Zr((function(n){for(var r=-1;++r<t;){var a=e[r];if(_t(a[0],this,n))return _t(a[1],this,n)}}))},jn.conforms=function(e){return function(e){var t=Ml(e);return function(n){return dr(n,e,t)}}(cr(e,1))},jn.constant=rs,jn.countBy=yi,jn.create=function(e,t){var n=Vn(e);return null==t?n:ir(n,t)},jn.curry=function e(t,r,a){var o=Ja(t,8,n,n,n,n,n,r=a?n:r);return o.placeholder=e.placeholder,o},jn.curryRight=function e(t,r,a){var o=Ja(t,i,n,n,n,n,n,r=a?n:r);return o.placeholder=e.placeholder,o},jn.debounce=Mi,jn.defaults=Cl,jn.defaultsDeep=Dl,jn.defer=Ai,jn.delay=Fi,jn.difference=Vo,jn.differenceBy=Wo,jn.differenceWith=Bo,jn.drop=function(e,t,r){var a=null==e?0:e.length;return a?oa(e,(t=r||t===n?1:gl(t))<0?0:t,a):[]},jn.dropRight=function(e,t,r){var a=null==e?0:e.length;return a?oa(e,0,(t=a-(t=r||t===n?1:gl(t)))<0?0:t):[]},jn.dropRightWhile=function(e,t){return e&&e.length?ma(e,co(t,3),!0,!0):[]},jn.dropWhile=function(e,t){return e&&e.length?ma(e,co(t,3),!0):[]},jn.fill=function(e,t,r,a){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&Eo(e,t,r)&&(r=0,a=o),function(e,t,r,a){var o=e.length;for((r=gl(r))<0&&(r=-r>o?0:o+r),(a=a===n||a>o?o:gl(a))<0&&(a+=o),a=r>a?0:yl(a);r<a;)e[r++]=t;return e}(e,t,r,a)):[]},jn.filter=function(e,t){return(Yi(e)?Dt:yr)(e,co(t,3))},jn.flatMap=function(e,t){return br(xi(e,t),1)},jn.flatMapDeep=function(e,t){return br(xi(e,t),d)},jn.flatMapDepth=function(e,t,r){return r=r===n?1:gl(r),br(xi(e,t),r)},jn.flatten=Go,jn.flattenDeep=function(e){return(null==e?0:e.length)?br(e,d):[]},jn.flattenDepth=function(e,t){return(null==e?0:e.length)?br(e,t=t===n?1:gl(t)):[]},jn.flip=function(e){return Ja(e,512)},jn.flow=as,jn.flowRight=os,jn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var a=e[t];r[a[0]]=a[1]}return r},jn.functions=function(e){return null==e?[]:kr(e,Ml(e))},jn.functionsIn=function(e){return null==e?[]:kr(e,Al(e))},jn.groupBy=_i,jn.initial=function(e){return(null==e?0:e.length)?oa(e,0,-1):[]},jn.intersection=Qo,jn.intersectionBy=Xo,jn.intersectionWith=Zo,jn.invert=Pl,jn.invertBy=Il,jn.invokeMap=ki,jn.iteratee=ls,jn.keyBy=Ti,jn.keys=Ml,jn.keysIn=Al,jn.map=xi,jn.mapKeys=function(e,t){var n={};return t=co(t,3),Er(e,(function(e,r,a){lr(n,t(e,r,a),e)})),n},jn.mapValues=function(e,t){var n={};return t=co(t,3),Er(e,(function(e,r,a){lr(n,r,t(e,r,a))})),n},jn.matches=function(e){return jr(cr(e,1))},jn.matchesProperty=function(e,t){return Vr(e,cr(t,1))},jn.memoize=Li,jn.merge=Fl,jn.mergeWith=Ll,jn.method=ss,jn.methodOf=us,jn.mixin=cs,jn.negate=zi,jn.nthArg=function(e){return e=gl(e),Zr((function(t){return Br(t,e)}))},jn.omit=zl,jn.omitBy=function(e,t){return Ul(e,zi(co(t)))},jn.once=function(e){return Pi(2,e)},jn.orderBy=function(e,t,r,a){return null==e?[]:(Yi(t)||(t=null==t?[]:[t]),Yi(r=a?n:r)||(r=null==r?[]:[r]),qr(e,t,r))},jn.over=fs,jn.overArgs=Hi,jn.overEvery=ps,jn.overSome=hs,jn.partial=Ui,jn.partialRight=$i,jn.partition=Ci,jn.pick=Hl,jn.pickBy=Ul,jn.property=ms,jn.propertyOf=function(e){return function(t){return null==e?n:Tr(e,t)}},jn.pull=ei,jn.pullAll=ti,jn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Gr(e,t,co(n,2)):e},jn.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Gr(e,t,n,r):e},jn.pullAt=ni,jn.range=vs,jn.rangeRight=gs,jn.rearg=ji,jn.reject=function(e,t){return(Yi(e)?Dt:yr)(e,zi(co(t,3)))},jn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,a=[],o=e.length;for(t=co(t,3);++r<o;){var i=e[r];t(i,r,e)&&(n.push(i),a.push(r))}return Kr(e,a),n},jn.rest=function(e,t){if("function"!=typeof e)throw new Ne(r);return Zr(e,t=t===n?t:gl(t))},jn.reverse=ri,jn.sampleSize=function(e,t,r){return t=(r?Eo(e,t,r):t===n)?1:gl(t),(Yi(e)?er:ea)(e,t)},jn.set=function(e,t,n){return null==e?e:ta(e,t,n)},jn.setWith=function(e,t,r,a){return a="function"==typeof a?a:n,null==e?e:ta(e,t,r,a)},jn.shuffle=function(e){return(Yi(e)?tr:aa)(e)},jn.slice=function(e,t,r){var a=null==e?0:e.length;return a?(r&&"number"!=typeof r&&Eo(e,t,r)?(t=0,r=a):(t=null==t?0:gl(t),r=r===n?a:gl(r)),oa(e,t,r)):[]},jn.sortBy=Di,jn.sortedUniq=function(e){return e&&e.length?ua(e):[]},jn.sortedUniqBy=function(e,t){return e&&e.length?ua(e,co(t,2)):[]},jn.split=function(e,t,r){return r&&"number"!=typeof r&&Eo(e,t,r)&&(t=r=n),(r=r===n?h:r>>>0)?(e=Sl(e))&&("string"==typeof t||null!=t&&!sl(t))&&!(t=da(t))&&an(e)?_a(fn(e),0,r):e.split(t,r):[]},jn.spread=function(e,t){if("function"!=typeof e)throw new Ne(r);return t=null==t?0:wn(gl(t),0),Zr((function(n){var r=n[t],a=_a(n,0,t);return r&&It(a,r),_t(e,this,a)}))},jn.tail=function(e){var t=null==e?0:e.length;return t?oa(e,1,t):[]},jn.take=function(e,t,r){return e&&e.length?oa(e,0,(t=r||t===n?1:gl(t))<0?0:t):[]},jn.takeRight=function(e,t,r){var a=null==e?0:e.length;return a?oa(e,(t=a-(t=r||t===n?1:gl(t)))<0?0:t,a):[]},jn.takeRightWhile=function(e,t){return e&&e.length?ma(e,co(t,3),!1,!0):[]},jn.takeWhile=function(e,t){return e&&e.length?ma(e,co(t,3)):[]},jn.tap=function(e,t){return t(e),e},jn.throttle=function(e,t,n){var a=!0,o=!0;if("function"!=typeof e)throw new Ne(r);return rl(n)&&(a="leading"in n?!!n.leading:a,o="trailing"in n?!!n.trailing:o),Mi(e,t,{leading:a,maxWait:t,trailing:o})},jn.thru=vi,jn.toArray=ml,jn.toPairs=$l,jn.toPairsIn=jl,jn.toPath=function(e){return Yi(e)?Pt(e,Uo):dl(e)?[e]:Pa(Ho(Sl(e)))},jn.toPlainObject=wl,jn.transform=function(e,t,n){var r=Yi(e),a=r||Xi(e)||fl(e);if(t=co(t,4),null==n){var o=e&&e.constructor;n=a?r?new o:[]:rl(e)&&el(o)?Vn(Ye(e)):{}}return(a?Tt:Er)(e,(function(e,r,a){return t(n,e,r,a)})),n},jn.unary=function(e){return Ni(e,1)},jn.union=ai,jn.unionBy=oi,jn.unionWith=ii,jn.uniq=function(e){return e&&e.length?fa(e):[]},jn.uniqBy=function(e,t){return e&&e.length?fa(e,co(t,2)):[]},jn.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?fa(e,n,t):[]},jn.unset=function(e,t){return null==e||pa(e,t)},jn.unzip=li,jn.unzipWith=si,jn.update=function(e,t,n){return null==e?e:ha(e,t,wa(n))},jn.updateWith=function(e,t,r,a){return a="function"==typeof a?a:n,null==e?e:ha(e,t,wa(r),a)},jn.values=Vl,jn.valuesIn=function(e){return null==e?[]:Qt(e,Al(e))},jn.without=ui,jn.words=es,jn.wrap=function(e,t){return Ui(wa(t),e)},jn.xor=ci,jn.xorBy=di,jn.xorWith=fi,jn.zip=pi,jn.zipObject=function(e,t){return ya(e||[],t||[],rr)},jn.zipObjectDeep=function(e,t){return ya(e||[],t||[],ta)},jn.zipWith=hi,jn.entries=$l,jn.entriesIn=jl,jn.extend=_l,jn.extendWith=kl,cs(jn,jn),jn.add=ws,jn.attempt=ts,jn.camelCase=Wl,jn.capitalize=Bl,jn.ceil=Ss,jn.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=bl(r))==r?r:0),t!==n&&(t=(t=bl(t))==t?t:0),ur(bl(e),t,r)},jn.clone=function(e){return cr(e,4)},jn.cloneDeep=function(e){return cr(e,5)},jn.cloneDeepWith=function(e,t){return cr(e,5,t="function"==typeof t?t:n)},jn.cloneWith=function(e,t){return cr(e,4,t="function"==typeof t?t:n)},jn.conformsTo=function(e,t){return null==t||dr(e,t,Ml(t))},jn.deburr=ql,jn.defaultTo=function(e,t){return null==e||e!=e?t:e},jn.divide=Es,jn.endsWith=function(e,t,r){e=Sl(e),t=da(t);var a=e.length,o=r=r===n?a:ur(gl(r),0,a);return(r-=t.length)>=0&&e.slice(r,o)==t},jn.eq=Vi,jn.escape=function(e){return(e=Sl(e))&&K.test(e)?e.replace(Y,nn):e},jn.escapeRegExp=function(e){return(e=Sl(e))&&re.test(e)?e.replace(ne,"\\$&"):e},jn.every=function(e,t,r){var a=Yi(e)?Ct:vr;return r&&Eo(e,t,r)&&(t=n),a(e,co(t,3))},jn.find=bi,jn.findIndex=qo,jn.findKey=function(e,t){return Lt(e,co(t,3),Er)},jn.findLast=wi,jn.findLastIndex=Yo,jn.findLastKey=function(e,t){return Lt(e,co(t,3),_r)},jn.floor=_s,jn.forEach=Si,jn.forEachRight=Ei,jn.forIn=function(e,t){return null==e?e:wr(e,co(t,3),Al)},jn.forInRight=function(e,t){return null==e?e:Sr(e,co(t,3),Al)},jn.forOwn=function(e,t){return e&&Er(e,co(t,3))},jn.forOwnRight=function(e,t){return e&&_r(e,co(t,3))},jn.get=Rl,jn.gt=Wi,jn.gte=Bi,jn.has=function(e,t){return null!=e&&yo(e,t,Rr)},jn.hasIn=Nl,jn.head=Ko,jn.identity=is,jn.includes=function(e,t,n,r){e=Ki(e)?e:Vl(e),n=n&&!r?gl(n):0;var a=e.length;return n<0&&(n=wn(a+n,0)),cl(e)?n<=a&&e.indexOf(t,n)>-1:!!a&&Ht(e,t,n)>-1},jn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var a=null==n?0:gl(n);return a<0&&(a=wn(r+a,0)),Ht(e,t,a)},jn.inRange=function(e,t,r){return t=vl(t),r===n?(r=t,t=0):r=vl(r),function(e,t,n){return e>=Sn(t,n)&&e<wn(t,n)}(e=bl(e),t,r)},jn.invoke=Ol,jn.isArguments=qi,jn.isArray=Yi,jn.isArrayBuffer=Gi,jn.isArrayLike=Ki,jn.isArrayLikeObject=Qi,jn.isBoolean=function(e){return!0===e||!1===e||al(e)&&Cr(e)==y},jn.isBuffer=Xi,jn.isDate=Zi,jn.isElement=function(e){return al(e)&&1===e.nodeType&&!ll(e)},jn.isEmpty=function(e){if(null==e)return!0;if(Ki(e)&&(Yi(e)||"string"==typeof e||"function"==typeof e.splice||Xi(e)||fl(e)||qi(e)))return!e.length;var t=go(e);if(t==_||t==D)return!e.size;if(xo(e))return!zr(e).length;for(var n in e)if(Fe.call(e,n))return!1;return!0},jn.isEqual=function(e,t){return Mr(e,t)},jn.isEqualWith=function(e,t,r){var a=(r="function"==typeof r?r:n)?r(e,t):n;return a===n?Mr(e,t,n,r):!!a},jn.isError=Ji,jn.isFinite=function(e){return"number"==typeof e&&gn(e)},jn.isFunction=el,jn.isInteger=tl,jn.isLength=nl,jn.isMap=ol,jn.isMatch=function(e,t){return e===t||Ar(e,t,po(t))},jn.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Ar(e,t,po(t),r)},jn.isNaN=function(e){return il(e)&&e!=+e},jn.isNative=function(e){if(To(e))throw new ke("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Fr(e)},jn.isNil=function(e){return null==e},jn.isNull=function(e){return null===e},jn.isNumber=il,jn.isObject=rl,jn.isObjectLike=al,jn.isPlainObject=ll,jn.isRegExp=sl,jn.isSafeInteger=function(e){return tl(e)&&e>=-9007199254740991&&e<=f},jn.isSet=ul,jn.isString=cl,jn.isSymbol=dl,jn.isTypedArray=fl,jn.isUndefined=function(e){return e===n},jn.isWeakMap=function(e){return al(e)&&go(e)==P},jn.isWeakSet=function(e){return al(e)&&"[object WeakSet]"==Cr(e)},jn.join=function(e,t){return null==e?"":yn.call(e,t)},jn.kebabCase=Yl,jn.last=Jo,jn.lastIndexOf=function(e,t,r){var a=null==e?0:e.length;if(!a)return-1;var o=a;return r!==n&&(o=(o=gl(r))<0?wn(a+o,0):Sn(o,a-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,o):zt(e,$t,o,!0)},jn.lowerCase=Gl,jn.lowerFirst=Kl,jn.lt=pl,jn.lte=hl,jn.max=function(e){return e&&e.length?gr(e,is,Dr):n},jn.maxBy=function(e,t){return e&&e.length?gr(e,co(t,2),Dr):n},jn.mean=function(e){return jt(e,is)},jn.meanBy=function(e,t){return jt(e,co(t,2))},jn.min=function(e){return e&&e.length?gr(e,is,Ur):n},jn.minBy=function(e,t){return e&&e.length?gr(e,co(t,2),Ur):n},jn.stubArray=ys,jn.stubFalse=bs,jn.stubObject=function(){return{}},jn.stubString=function(){return""},jn.stubTrue=function(){return!0},jn.multiply=Ts,jn.nth=function(e,t){return e&&e.length?Br(e,gl(t)):n},jn.noConflict=function(){return dt._===this&&(dt._=$e),this},jn.noop=ds,jn.now=Ri,jn.pad=function(e,t,n){e=Sl(e);var r=(t=gl(t))?dn(e):0;if(!t||r>=t)return e;var a=(t-r)/2;return qa(Ft(a),n)+e+qa(vt(a),n)},jn.padEnd=function(e,t,n){e=Sl(e);var r=(t=gl(t))?dn(e):0;return t&&r<t?e+qa(t-r,n):e},jn.padStart=function(e,t,n){e=Sl(e);var r=(t=gl(t))?dn(e):0;return t&&r<t?qa(t-r,n)+e:e},jn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),_n(Sl(e).replace(ae,""),t||0)},jn.random=function(e,t,r){if(r&&"boolean"!=typeof r&&Eo(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=vl(e),t===n?(t=e,e=0):t=vl(t)),e>t){var a=e;e=t,t=a}if(r||e%1||t%1){var o=kn();return Sn(e+o*(t-e+lt("1e-"+((o+"").length-1))),t)}return Qr(e,t)},jn.reduce=function(e,t,n){var r=Yi(e)?Ot:Bt,a=arguments.length<3;return r(e,co(t,4),n,a,hr)},jn.reduceRight=function(e,t,n){var r=Yi(e)?Mt:Bt,a=arguments.length<3;return r(e,co(t,4),n,a,mr)},jn.repeat=function(e,t,r){return t=(r?Eo(e,t,r):t===n)?1:gl(t),Xr(Sl(e),t)},jn.replace=function(){var e=arguments,t=Sl(e[0]);return e.length<3?t:t.replace(e[1],e[2])},jn.result=function(e,t,r){var a=-1,o=(t=Sa(t,e)).length;for(o||(o=1,e=n);++a<o;){var i=null==e?n:e[Uo(t[a])];i===n&&(a=o,i=r),e=el(i)?i.call(e):i}return e},jn.round=xs,jn.runInContext=e,jn.sample=function(e){return(Yi(e)?Jn:Jr)(e)},jn.size=function(e){if(null==e)return 0;if(Ki(e))return cl(e)?dn(e):e.length;var t=go(e);return t==_||t==D?e.size:zr(e).length},jn.snakeCase=Ql,jn.some=function(e,t,r){var a=Yi(e)?At:ia;return r&&Eo(e,t,r)&&(t=n),a(e,co(t,3))},jn.sortedIndex=function(e,t){return la(e,t)},jn.sortedIndexBy=function(e,t,n){return sa(e,t,co(n,2))},jn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=la(e,t);if(r<n&&Vi(e[r],t))return r}return-1},jn.sortedLastIndex=function(e,t){return la(e,t,!0)},jn.sortedLastIndexBy=function(e,t,n){return sa(e,t,co(n,2),!0)},jn.sortedLastIndexOf=function(e,t){if(null==e?0:e.length){var n=la(e,t,!0)-1;if(Vi(e[n],t))return n}return-1},jn.startCase=Xl,jn.startsWith=function(e,t,n){return e=Sl(e),n=null==n?0:ur(gl(n),0,e.length),t=da(t),e.slice(n,n+t.length)==t},jn.subtract=Cs,jn.sum=function(e){return e&&e.length?qt(e,is):0},jn.sumBy=function(e,t){return e&&e.length?qt(e,co(t,2)):0},jn.template=function(e,t,r){var a=jn.templateSettings;r&&Eo(e,t,r)&&(t=n),e=Sl(e),t=kl({},t,a,eo);var o,i,l=kl({},t.imports,a.imports,eo),s=Ml(l),u=Qt(l,s),c=0,d=t.interpolate||we,f="__p += '",p=De((t.escape||we).source+"|"+d.source+"|"+(d===Z?fe:we).source+"|"+(t.evaluate||we).source+"|$","g"),h="//# sourceURL="+(Fe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++rt+"]")+"\n";e.replace(p,(function(t,n,r,a,l,s){return r||(r=a),f+=e.slice(c,s).replace(Se,rn),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),l&&(i=!0,f+="';\n"+l+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),c=s+t.length,t})),f+="';\n";var m=Fe.call(t,"variable")&&t.variable;if(m){if(ce.test(m))throw new ke("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(i?f.replace(V,""):f).replace(W,"$1").replace(B,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(i?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var v=ts((function(){return Te(s,h+"return "+f).apply(n,u)}));if(v.source=f,Ji(v))throw v;return v},jn.times=function(e,t){if((e=gl(e))<1||e>f)return[];var n=h,r=Sn(e,h);t=co(t),e-=h;for(var a=Yt(r,t);++n<e;)t(n);return a},jn.toFinite=vl,jn.toInteger=gl,jn.toLength=yl,jn.toLower=function(e){return Sl(e).toLowerCase()},jn.toNumber=bl,jn.toSafeInteger=function(e){return e?ur(gl(e),-9007199254740991,f):0===e?e:0},jn.toString=Sl,jn.toUpper=function(e){return Sl(e).toUpperCase()},jn.trim=function(e,t,r){if((e=Sl(e))&&(r||t===n))return Gt(e);if(!e||!(t=da(t)))return e;var a=fn(e),o=fn(t);return _a(a,Zt(a,o),Jt(a,o)+1).join("")},jn.trimEnd=function(e,t,r){if((e=Sl(e))&&(r||t===n))return e.slice(0,pn(e)+1);if(!e||!(t=da(t)))return e;var a=fn(e);return _a(a,0,Jt(a,fn(t))+1).join("")},jn.trimStart=function(e,t,r){if((e=Sl(e))&&(r||t===n))return e.replace(ae,"");if(!e||!(t=da(t)))return e;var a=fn(e);return _a(a,Zt(a,fn(t))).join("")},jn.truncate=function(e,t){var r=30,a="...";if(rl(t)){var o="separator"in t?t.separator:o;r="length"in t?gl(t.length):r,a="omission"in t?da(t.omission):a}var i=(e=Sl(e)).length;if(an(e)){var l=fn(e);i=l.length}if(r>=i)return e;var s=r-dn(a);if(s<1)return a;var u=l?_a(l,0,s).join(""):e.slice(0,s);if(o===n)return u+a;if(l&&(s+=u.length-s),sl(o)){if(e.slice(s).search(o)){var c,d=u;for(o.global||(o=De(o.source,Sl(pe.exec(o))+"g")),o.lastIndex=0;c=o.exec(d);)var f=c.index;u=u.slice(0,f===n?s:f)}}else if(e.indexOf(da(o),s)!=s){var p=u.lastIndexOf(o);p>-1&&(u=u.slice(0,p))}return u+a},jn.unescape=function(e){return(e=Sl(e))&&G.test(e)?e.replace(q,hn):e},jn.uniqueId=function(e){var t=++Le;return Sl(e)+t},jn.upperCase=Zl,jn.upperFirst=Jl,jn.each=Si,jn.eachRight=Ei,jn.first=Ko,cs(jn,(ks={},Er(jn,(function(e,t){Fe.call(jn.prototype,t)||(ks[t]=e)})),ks),{chain:!1}),jn.VERSION="4.17.21",Tt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){jn[e].placeholder=jn})),Tt(["drop","take"],(function(e,t){qn.prototype[e]=function(r){r=r===n?1:wn(gl(r),0);var a=this.__filtered__&&!t?new qn(this):this.clone();return a.__filtered__?a.__takeCount__=Sn(r,a.__takeCount__):a.__views__.push({size:Sn(r,h),type:e+(a.__dir__<0?"Right":"")}),a},qn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Tt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;qn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:co(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),Tt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");qn.prototype[e]=function(){return this[n](1).value()[0]}})),Tt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");qn.prototype[e]=function(){return this.__filtered__?new qn(this):this[n](1)}})),qn.prototype.compact=function(){return this.filter(is)},qn.prototype.find=function(e){return this.filter(e).head()},qn.prototype.findLast=function(e){return this.reverse().find(e)},qn.prototype.invokeMap=Zr((function(e,t){return"function"==typeof e?new qn(this):this.map((function(n){return Ir(n,e,t)}))})),qn.prototype.reject=function(e){return this.filter(zi(co(e)))},qn.prototype.slice=function(e,t){e=gl(e);var r=this;return r.__filtered__&&(e>0||t<0)?new qn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=gl(t))<0?r.dropRight(-t):r.take(t-e)),r)},qn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},qn.prototype.toArray=function(){return this.take(h)},Er(qn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),o=jn[a?"take"+("last"==t?"Right":""):t],i=a||/^find/.test(t);o&&(jn.prototype[t]=function(){var t=this.__wrapped__,l=a?[1]:arguments,s=t instanceof qn,u=l[0],c=s||Yi(t),d=function(e){var t=o.apply(jn,It([e],l));return a&&f?t[0]:t};c&&r&&"function"==typeof u&&1!=u.length&&(s=c=!1);var f=this.__chain__,p=!!this.__actions__.length,h=i&&!f,m=s&&!p;if(!i&&c){t=m?t:new qn(this);var v=e.apply(t,l);return v.__actions__.push({func:vi,args:[d],thisArg:n}),new Bn(v,f)}return h&&m?e.apply(this,l):(v=this.thru(d),h?a?v.value()[0]:v.value():v)})})),Tt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);jn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var a=this.value();return t.apply(Yi(a)?a:[],e)}return this[n]((function(n){return t.apply(Yi(n)?n:[],e)}))}})),Er(qn.prototype,(function(e,t){var n=jn[t];if(n){var r=n.name+"";Fe.call(On,r)||(On[r]=[]),On[r].push({name:t,func:n})}})),On[ja(n,2).name]=[{name:"wrapper",func:n}],qn.prototype.clone=function(){var e=new qn(this.__wrapped__);return e.__actions__=Pa(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Pa(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Pa(this.__views__),e},qn.prototype.reverse=function(){if(this.__filtered__){var e=new qn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},qn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Yi(e),r=t<0,a=n?e.length:0,o=function(e,t,n){var r=-1,a=n.length;for(;++r<a;){var o=n[r],i=o.size;switch(o.type){case"drop":e+=i;break;case"dropRight":t-=i;break;case"take":t=Sn(t,e+i);break;case"takeRight":e=wn(e,t-i)}}return{start:e,end:t}}(0,a,this.__views__),i=o.start,l=o.end,s=l-i,u=r?l:i-1,c=this.__iteratees__,d=c.length,f=0,p=Sn(s,this.__takeCount__);if(!n||!r&&a==s&&p==s)return va(e,this.__actions__);var h=[];e:for(;s--&&f<p;){for(var m=-1,v=e[u+=t];++m<d;){var g=c[m],y=g.iteratee,b=g.type,w=y(v);if(2==b)v=w;else if(!w){if(1==b)continue e;break e}}h[f++]=v}return h},jn.prototype.at=gi,jn.prototype.chain=function(){return mi(this)},jn.prototype.commit=function(){return new Bn(this.value(),this.__chain__)},jn.prototype.next=function(){this.__values__===n&&(this.__values__=ml(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},jn.prototype.plant=function(e){for(var t,r=this;r instanceof Wn;){var a=jo(r);a.__index__=0,a.__values__=n,t?o.__wrapped__=a:t=a;var o=a;r=r.__wrapped__}return o.__wrapped__=e,t},jn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof qn){var t=e;return this.__actions__.length&&(t=new qn(this)),(t=t.reverse()).__actions__.push({func:vi,args:[ri],thisArg:n}),new Bn(t,this.__chain__)}return this.thru(ri)},jn.prototype.toJSON=jn.prototype.valueOf=jn.prototype.value=function(){return va(this.__wrapped__,this.__actions__)},jn.prototype.first=jn.prototype.head,it&&(jn.prototype[it]=function(){return this}),jn}();pt?((pt.exports=mn)._=mn,ft._=mn):dt._=mn}).call(commonjsGlobal)}(lodash,lodash.exports);var ___default=lodash.exports,freeGlobal$1="object"==typeof commonjsGlobal&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,_freeGlobal=freeGlobal$1,freeGlobal=_freeGlobal,freeSelf="object"==typeof self&&self&&self.Object===Object&&self,root$1=freeGlobal||freeSelf||Function("return this")(),_root=root$1,root=_root,Symbol$3=root.Symbol,_Symbol=Symbol$3,Symbol$2=_Symbol;Symbol$2&&Symbol$2.toStringTag;var Symbol$1=_Symbol;Symbol$1&&Symbol$1.toStringTag;var funcProto=Function.prototype,funcToString=funcProto.toString;funcToString.call(Object);const getBuilderContext=()=>"undefined"==typeof window?{}:Builder.settings.context||Builder.settings;async function fetchAPI(e,t={credentials:"include"}){var n,r={"Content-Type":"application/json"};if(401===(n=((n=getAuthorization())&&(r.Authorization=n),t.headers=Object.assign({},r,t.headers),t.credentials="include",await fetch(""+getRootUrl()+e,t))).status)throw new Error(401);if((r=await n.json()).errors)throw console.error(r.errors),new Error("Failed to fetch API");return r}function getAuthorization(){try{var e=getBuilderContext(),t=e.tenantId,n=e.authToken;return t&&n?`Bearer ${t},`+n:null}catch(e){console.error(e)}}function getRootUrl(e){return getBuilderContext().rootUrl||("undefined"!=typeof window?window.localStorage.getItem("steedos:rootUrl"):"")||e}const Router={getTabDisplayAs:e=>(e=localStorage.getItem(`tab.${e}.display`))||"grid",setTabDisplayAs(e,t){localStorage.setItem(`tab.${e}.display`,t)},getAppPath:({appId:e})=>"/app/"+e,getPagePath(){},getObjectListViewPath:({appId:e,objectName:t,listViewName:n})=>`/app/${e}/${t}/grid/`+n,getObjectDetailPath(e){var{appId:e,objectName:t,recordId:n,_templateType:r}=e,a=Router.getTabDisplayAs(t);return"JavaScript"===r?`/app/${e}/${t}/view/${n}?display=${a}&side_object=<%=item.objectName%>&side_listview_id=<%=item.listName%>`:`/app/${e}/${t}/view/${n}?display=${a}&side_object=\${objectName}&side_listview_id=\${listName}`},getObjectRelatedViewPath:({appId:e,masterObjectName:t,masterRecordId:n,objectName:r,foreignKey:a})=>`/app/${e}/${t}/${n}/${r}/grid?related_field_name=`+a};function getCreatedInfoTpl(e){return`<div><a href='${Router.getObjectDetailPath({formFactor:e,appId:"admin",objectName:"users",recordId:"${created_by._id}"})}'>\${_display.created_by.label}</a>\${_display.created}</div>`}function getModifiedInfoTpl(e){return`<div><a href='${Router.getObjectDetailPath({formFactor:e,appId:"admin",objectName:"users",recordId:"${modified_by._id}"})}'>\${_display.modified_by.label}</a>\${_display.modified}</div>`}function getNumberTpl(e){return`<div>\${_display.${e.name}}</div>`}function getTimeTpl(e){return`<div>\${_display.${e.name}}</div>`}function getDateTpl(e){return`<div>\${_display.${e.name}}</div>`}function getDateTimeTpl(e){return`<div>\${_display.${e.name}}</div>`}function getUiFieldTpl(e){return`<div>\${_display.${e.name}}</div>`}function getUiFileSizeTpl(e){return`<div>\${_display.${e.name}}</div>`}async function getRefObjectNameFieldName(e){return(await getUISchema(e.reference_to)).NAME_FIELD_KEY||"name"}function getSelectTpl(e){return`<div>\${_display.${e.name}}</div>`}function getNameTplUrl(e,t){return"cms_files"===t.objectName?"${context.rootUrl}/api/files/files/${versions[0]}?download=true":Router.getObjectDetailPath({...t,formFactor:t.formFactor,appId:"${appId}",objectName:t.objectName||"${objectName}",recordId:`\${${t.idFieldName}}`})}function getNameTpl(e,t){return`<a href="${getNameTplUrl(e,t)}">\${${e.name}}</a>`}function getRelatedFieldTpl(e,t){let n="";if(!e.reference_to&&(e.optionsFunction||e._optionsFunction))return e.isTableField?`\${${e.name}}`:`\${${e.name}__label}`;var r,a=t.onlyDisplayLabel;let o="data._display."+e.name;if(e.isTableField&&(o="data."+e.name),_.isString(e.reference_to)||!e.reference_to)if(e.multiple){let e="<%=item.label%>";a||(e=`<a href="${r=Router.getObjectDetailPath({formFactor:t.formFactor,appId:"<%=data.appId%>",objectName:"<%=item.objectName%>",recordId:"<%=item.value%>",_templateType:"JavaScript"})}"><%=item.label%></a>`),n=`\n <% if (${o} && ${o}.length) { %><% ${o}.forEach(function(item,index) { %> <% if(index>0 && index<${o}.length){ %> , <% } %> ${e} <% }); %><% } %>\n `}else{let o=`\${_display.${e.name}.label}`,i=`\${_display.${e.name}.objectName}`,l=`\${_display.${e.name}.value}`;e.isTableField&&(o=`\${${e.name}.label}`,i=`\${${e.name}.objectName}`,l=`\${${e.name}.value}`),a||(r=Router.getObjectDetailPath({formFactor:t.formFactor,appId:"${appId}",objectName:""+i,recordId:""+l}),o=`<a href="${r}">${o}</a>`),n=o}else{let r="<%=item.label%>";a||(r=`<a href="${e=Router.getObjectDetailPath({formFactor:t.formFactor,appId:"<%=data.appId%>",objectName:"<%=item.objectName%>",recordId:"<%=item.value%>",_templateType:"JavaScript"})}"><%=item.label%></a>`),n=`\n <% if (${o} && ${o}.length) { %><% ${o}.forEach(function(item) { %> ${r} <% }); %><% } %>\n `}return n}async function getLookupTpl(e,t){var n,r;return e.reference_to?(n=await getRefObjectNameFieldName(e),e.multiple?(r=Router.getObjectDetailPath({formFactor:t.formFactor,appId:t.appId,objectName:e.reference_to,recordId:"<%=item._id%>",_templateType:"JavaScript"}),`\n <% if (data.${e.name} && data.${e.name}.length) { %><% data.${e.name}.forEach(function(item) { %> <a href="${r}"><%=item.${n}%></a> <% }); %><% } %>\n `):`<a href="${Router.getObjectDetailPath({formFactor:t.formFactor,appId:t.appId,objectName:e.reference_to,recordId:`\${${e.name}._id}`})}">\${${e.name}.${n}}</a>`):getSelectTpl(e)}function getSwitchTpl(e){return`<% if (data.${e.name}) { %>\n <span class="slds-icon_container slds-icon-utility-check slds-current-color" title="<%=data._display.${e.name}%>">\n <span ><%= data._display.${e.name} === "√" ? "<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke-width='1.5' stroke='currentColor' class='w-4 h-4'><path stroke-linecap='round' stroke-linejoin='round' d='M4.5 12.75l6 6 9-13.5' /></svg>" : data._display.${e.name} %></span>\n </span>\n <% } %>`}function getPasswordTpl(e){return`<% if (data.${e.name}) { %>\n <span>······</span>\n <% } %>`}async function getFieldTpl(e,t){if((e.is_name||e.name===t.labelFieldName)&&!t.onlyDisplayLabel)return getNameTpl(e,t);switch(e.type){case"password":return getPasswordTpl(e);case"boolean":case"toggle":return getSwitchTpl(e);case"select":return getSelectTpl(e);case"time":return getTimeTpl(e);case"date":return getDateTpl(e);case"datetime":return getDateTimeTpl(e);case"lookup":case"master_detail":return getRelatedFieldTpl(e,t);case"number":case"currency":return getNumberTpl(e);case"formula":case"summary":return getUiFieldTpl(e);case"filesize":return getUiFileSizeTpl(e)}}async function getFieldsTemplate(e,t){0!=t&&(t=!0);let n=["_id"],r=[];for(const a of lodash.exports.isArray(e)?e:lodash.exports.values(e))a.name.indexOf(".")<0&&(!t||"lookup"!=a.type&&"master_detail"!=a.type?n.push(a.alias?a.alias+":"+a.name:a.name):(n.push(""+a.name),r.push(""+a.name)),lodash.exports.includes(["time","date","datetime","boolean","number","currency"],a.type)&&n.push(""+a.name),lodash.exports.includes(["time","filesize","date","datetime","boolean","number","currency","select","file","image","avatar","formula","summary","object","grid"],a.type)&&r.push(""+a.name));return r=lodash.exports.uniq(r),n=lodash.exports.uniq(n),0<r.length?`${n.join(",")},_display:_ui{${r.join(",")}}`:""+n.join(" ")}async function getFindQuery(e,t,n,r){let a=`(top: ${i=r.limit||10})`,o=(t&&(a=`(filters:["_id", "=", "${t}"], top: ${i})`),"data");r&&(r.alias&&(o=r.alias),r.filters&&(a=`(filters:${r.filters})`),r.queryOptions&&(a=`(${r.queryOptions})`));t="";var i=(e.enable_tree&&lodash.exports.includes(lodash.exports.keys(e.fields),"parent")&&lodash.exports.includes(lodash.exports.keys(e.fields),"children")&&(t=",parent,children"),""),l=("cms_files"===e.name&&(i=",versions"),!1===r.count?"":`,count:${e.name}__count(filters:{__filters})`),s=r.moreQueries?.length?","+r.moreQueries.map((function(e){return e.replace(/^{/,"").replace(/}$/,"")})).join(","):"";return{orderBy:"${orderBy}",orderDir:"${orderDir}",pageNo:"${page}",pageSize:"${perPage}",query:`{${o}:${e.name}${a}{${await getFieldsTemplate(n,r.expand)}${t}${i}}${l}${s}}`}}function getApi$2(e){if(!e)return"${context.rootUrl}/graphql"}async function getListBody(e,t){var n=[];for(const a of e){var r=await getFieldTpl(a,t);let e=r?"tpl":"text";a.hidden||a.extra||n.push({name:a.name,label:a.label,sortable:a.sortable,width:a.width,type:e,tpl:r,toggled:a.toggled})}return{type:"hbox",columns:n}}function getDefaultParams$1(e){return{perPage:e.top||e.perPage||10}}async function getListSchema$1(e,t){return e=(await getListBody(e,t)).columns,{mode:"list",name:"thelist",draggable:!1,headerToolbar:["reload"],defaultParams:getDefaultParams$1(t),syncLocation:!1,keepItemSelectionOnPageChange:!0,checkOnItemClick:!1,labelTpl:"${name}",listItem:{body:[...e],actions:!1===t.actions?null:[{icon:"fa fa-eye",label:"查看",type:"button",actionType:"link",link:Router.getObjectDetailPath({formFactor:t.formFactor,appId:t.appId,objectName:t.tabId,listView:t.listView,recordId:"${_id}"})}]}}}const refUsersObjectName="space_users",refOrgsObjectName="organizations";async function getSource$1(e,t){var n,r=await getFindQuery({name:refOrgsObjectName},null,[{name:"_id",alias:"value"},{name:"name",alias:"label"},{name:"children"}],{alias:"leftOptions",filters:"{__filters}"});(n=((n=(r.query=r.query.replace(/,count\:.+/,"}"),await getFindQuery({name:refOrgsObjectName},null,[{name:"_id",alias:"ref"}],{alias:"children",filters:"{__filters}"}))).query=n.query.replace(/,count\:.+/,"}"),r.query=r.query.replace(/}$/,","+n.query.replace(/{(.+)}/,"$1}")),await getFindQuery({name:refUsersObjectName},null,[{name:"user",alias:"value"},{name:"name",alias:"label"}],{alias:"defaultValueOptions",filters:"{__options_filters}"}))).query=n.query.replace(/,count\:.+/,"}"),r.query=r.query.replace(/}$/,","+n.query.replace(/{(.+)}/,"$1}"));let a=""+e.name;return e._prefix&&(a=""+e._prefix+e.name),t.fieldNamePrefix&&(a=""+t.fieldNamePrefix+a),r.$value="$"+a,n=`\n var filters = [['parent', '=', null]];\n api.data.query = api.data.query.replace(/{__filters}/g, JSON.stringify(filters));\n var defaultValue = api.data.$value;\n var optionsFiltersOp = "${e.multiple?"in":"="}";\n var optionsFilters = [["user", optionsFiltersOp, []]];\n if (defaultValue) { \n optionsFilters = [["user", optionsFiltersOp, defaultValue]];\n }\n api.data.query = api.data.query.replace(/{__options_filters}/g, JSON.stringify(optionsFilters));\n return api;\n `,{method:"post",url:getApi$2(),requestAdaptor:n,adaptor:"\n const data = payload.data;\n data.children = data.children.map(function (child) { \n // child.defer = !!(child.children && child.children.length);\n child.defer = true;\n delete child.children;\n return child;\n });\n data.leftOptions = data.leftOptions.map(function (leftOption) {\n leftOption.defer = !!(leftOption.children && leftOption.children.length);\n delete leftOption.children;\n return leftOption;\n });\n var defaultValueOptions = data.defaultValueOptions;\n data.children = _.union(data.children, defaultValueOptions);\n delete data.defaultValueOptions;\n payload.data = { options: [data] };\n return payload;\n ",data:r,headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"}}}async function getDeferApi$1(e,t){var n=await getFindQuery({name:"{__object_name}"},null,[],{alias:"options",queryOptions:'filters: {__filters}, sort: "{__sort}"'});let r=e.filters;return"function"==typeof(r="string"==typeof r?(r=new Function("return "+r))():r)&&(r=r(e)),n.query=n.query.replace(/,count\:.+/,"}"),n.query=n.query.replace("{_id}","{{__fields}}"),e=`\n var dep = api.query.dep;\n var ref = api.query.ref;\n var term = api.query.term;\n var filters;\n var objectName;\n var fields;\n var sort = "";\n if (dep) {\n objectName = "${refOrgsObjectName}";\n fields = "value:_id,label:name,children";\n filters = [['parent', '=', dep]];\n sort = "${t.orgsSort}";\n }\n else if (ref) { \n objectName = "${refUsersObjectName}";\n // 这里要额外把字段转为value和label是因为valueField和labelField在deferApi/searchApi中不生效,所以字段要取两次\n fields = "_id,value:user,label:name";\n // fields = "user,name,value:user,label:name";\n filters = [['user_accepted', '=', true]];\n var defaultFilters = ${r&&JSON.stringify(r)};\n if(defaultFilters){\n filters.push(defaultFilters);\n }\n filters.push(['organizations_parents', '=', ref]);\n sort = "${t.usersSort}";\n }\n api.data.query = api.data.query.replace(/{__object_name}/g, objectName).replace(/{__fields}/g, fields).replace(/{__filters}/g, JSON.stringify(filters)).replace('{__sort}', sort.trim());\n return api;\n `,{method:"post",url:getApi$2()+"?ref=${ref}&dep=${value}",requestAdaptor:e,adaptor:"\n if (api.query.dep) {\n // 展开组织时才需要根据children值设置defer属性\n const data = payload.data;\n data.options = data.options.map(function (option) {\n option.defer = !!(option.children && option.children.length);\n delete option.children;\n return option;\n });\n payload.data = data;\n }\n return payload;\n ",data:n,headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"}}}async function getSearchApi(e,t){var n=await getFindQuery({name:refUsersObjectName},null,[{name:"user",alias:"value"},{name:"name",alias:"label"}],{alias:"options",queryOptions:'filters: {__filters}, sort: "{__sort}"'});e=`\n var term = api.query.term;\n var filters;\n var sort = "";\n if (term) { \n filters = [['user_accepted', '=', true]];\n var defaultFilters = ${(e=(n.query=n.query.replace(/,count\:.+/,"}"),e.filters))&&JSON.stringify(e)};\n if(defaultFilters){\n filters.push(defaultFilters);\n }\n var fieldsForSearch = ["name", "username", "email", "mobile"];\n var termFilters = [];\n fieldsForSearch.forEach(function (field) {\n termFilters.push([field, 'contains', term]);\n termFilters.push("or");\n });\n termFilters.pop();\n filters.push(termFilters);\n sort = "${t.usersSort}";\n }\n api.data.query = api.data.query.replace(/{__filters}/g, JSON.stringify(filters)).replace('{__sort}', sort.trim());\n return api;\n `;return{method:"post",url:getApi$2()+"?term=${term}",requestAdaptor:e,data:n,headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"}}}function getRefListViewSort$1(e){e=lodash.exports.find(e.list_views,((e,t)=>"all"===t));let t="";return e?getListViewSort(e):t}async function getSelectUserSchema(e,t,n){if(!e)return{};n=n||{};var r={type:getAmisStaticFieldType("select",t)};return t?r.tpl=await getLookupTpl(e,n):(t=await getUISchema(refUsersObjectName),n.usersSort=getRefListViewSort$1(t),t=await getUISchema(refOrgsObjectName),n.orgsSort=getRefListViewSort$1(t),Object.assign(r,{multiple:e.multiple,searchable:e.searchable,selectMode:"associated",leftMode:"tree",extractValue:!0,clearable:!0,source:await getSource$1(e,n),deferApi:await getDeferApi$1(e,n),searchApi:await getSearchApi(e,n)}),e.multiple&&Object.assign(r,{joinValues:!1}),"boolean"!=typeof r.searchable&&(r.searchable=!0),(t=e.onEvent)&&(r.onEvent=t)),r}var config={listView:{newRecordMode:"modal",editRecordMode:"modal",perPage:20}};const getSchema$4=async(e,t)=>({type:"service",body:[{type:"button",label:"新建",id:"u:standard_new",level:"default",onEvent:{click:{weight:0,actions:[{actionType:"dialog",dialog:{type:"dialog",data:{$master:"$$",defaultData:"${defaultData}",appId:"${appId}",objectName:"${objectName}",context:"${context}",global:"${global}",listViewId:"${listViewId}",uiSchema:"${uiSchema}",isLookup:"${isLookup}",listName:"${listName}"},title:"新建 ${uiSchema.label}",body:[{type:"service",id:"u:1678e148c4d2",messages:{},schemaApi:{data:{isLookup:"${isLookup}"},url:"${context.rootUrl}/api/pageSchema/form?app=${appId}&objectApiName=${objectName}&formFactor=${formFactor}",method:"get",messages:{},headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"},requestAdaptor:"",adaptor:'\n let formSchema = {\n "type": "steedos-object-form",\n "label": "对象表单",\n "objectApiName": "${objectName}",\n "recordId": "",\n "mode": "edit",\n "layout": "normal"\n };\n\n if (payload && payload.schema) {\n formSchema = _.isString(payload.schema) ? JSON.parse(payload.schema) : payload.schema;\n }\n return {\n data: formSchema\n };\n '}}],showCloseButton:!0,id:"u:e11347411d2d",closeOnEsc:!1,closeOnOutside:!1,size:"lg"}}]}}}],regions:["body"],className:"p-0 border-0",id:"u:aef99d937b10"});async function getObjectFieldsFilterFormSchema(e,t,n){n=n||{};var r,a,o=[];for(r of t)lodash.exports.includes(["grid","avatar","image","object","[object]","[Object]","[grid]","[text]","audio","file"],r.type)||(delete r.defaultValue,delete r.required,delete r.is_wide,delete r.readonly,delete r.hidden,delete r.omit,(a=await getFieldSearchable(r,t,n))&&o.push(a));return lodash.exports.map(o,"name"),n.enableSearchableFieldsVisibleOn&&o.forEach((function(e){e.visibleOn=`this.filterFormSearchableFields && this.filterFormSearchableFields.indexOf("${e.fieldName}") > -1`})),o}async function getObjectFieldsFilterBarSchema(e,t,n){return n=n||{},t=await getObjectFieldsFilterFormSchema(e,t,Object.assign({},{enableSearchableFieldsVisibleOn:!0},n)),{type:"service",name:"service_listview_filter_form",data:{},id:"service_listview_filter_form_"+e.name,dataProvider:{inited:'\n const objectName = data.objectName;\n const isLookup = data.isLookup;\n const listViewId = data.listViewId;\n let searchableFieldsStoreKey = location.pathname + "/searchable_fields/";\n if(isLookup){\n searchableFieldsStoreKey += "lookup/" + objectName;\n }\n else{\n searchableFieldsStoreKey += listViewId;\n }\n let defaultSearchableFields = sessionStorage.getItem(searchableFieldsStoreKey);\n if(!defaultSearchableFields && data.uiSchema){\n let listView = data.uiSchema.list_views[data.listName];\n defaultSearchableFields = listView && listView.searchable_fields;\n if(defaultSearchableFields && defaultSearchableFields.length){\n defaultSearchableFields = _.map(defaultSearchableFields, \'field\');\n }\n }\n if(_.isEmpty(defaultSearchableFields) && data.uiSchema){\n defaultSearchableFields = _.map(\n _.filter(_.values(data.uiSchema.fields), (field) => {\n return field.searchable;\n }),\n "name"\n );\n }\n setData({ filterFormSearchableFields: defaultSearchableFields });\n if(isLookup){\n // looup字段过滤器不在本地缓存记住过滤条件,所以初始始终隐藏过滤器\n setData({ showFieldsFilter: false });\n }\n else{\n const listViewPropsStoreKey = location.pathname + "/crud/" + data.listViewId ;\n let localListViewProps = sessionStorage.getItem(listViewPropsStoreKey);\n if(localListViewProps){\n localListViewProps = JSON.parse(localListViewProps);\n let filterFormValues = _.pickBy(localListViewProps, function(n,k){\n return /^__searchable__/g.test(k);\n });\n if(!_.isEmpty(filterFormValues)){\n setData({ ...filterFormValues });\n const omitedEmptyFormValue = _.omitBy(filterFormValues, function(n){\n return _.isNil(n) \n || (_.isObject(n) && _.isEmpty(n)) \n || (_.isArray(n) && _.isEmpty(n.filter(function(item){return !_.isNil(item)})))\n || (_.isString(n) && n.length === 0);\n });\n // 有过滤条件时自动展开搜索栏\n if(!_.isEmpty(omitedEmptyFormValue)){\n setData({ showFieldsFilter: true });\n }\n }\n }\n }\n '},body:{type:"wrapper",body:{type:"wrapper",body:[{type:"wrapper",body:[t],size:"xs",visibleOn:"this.filterFormSearchableFields && this.filterFormSearchableFields.length",className:"SMALL"===n.formFactor?"slds-filters__body p-0 mb-2":"slds-filters__body p-0 sm:grid sm:gap-2 sm:grid-cols-4 mb-2"},{type:"wrapper",body:{type:"wrapper",body:[{type:"button",label:"搜索",icon:"fa fa-search",visibleOn:"this.filterFormSearchableFields && this.filterFormSearchableFields.length",onEvent:{click:{actions:[{actionType:"custom",script:'\n const scope = event.context.scoped;\n var filterForm = scope.parent.parent.getComponents().find(function(n){\n return n.props.type === "form";\n });\n filterForm.handleFormSubmit(event)\n // var filterFormValues = filterForm.getValues();\n // var listView = scope.parent.parent.parent.getComponents().find(function(n){\n // return n.props.type === "crud";\n // });\n // const removedValues = {};\n // // 设置搜索项中移除搜索项后,filterFormValues未把其字段的空值保存为own property,即hasOwnProperty属性中\n // // 这会造成handleFilterSubmit时把移除掉的搜索项字段之前的值加到过滤条件中\n // for(var k in filterFormValues){\n // if(filterFormValues[k] === "" && !filterFormValues.hasOwnProperty(k)){\n // removedValues[k] = "";\n // }\n // }\n // listView.handleFilterSubmit(Object.assign({}, removedValues, filterFormValues));\n '}]}}},{type:"button",label:"设置搜索项",onEvent:{click:{actions:[{actionType:"dialog",dialog:{type:"dialog",size:"md",title:"设置搜索项",body:[{type:"form",title:"",body:[{label:"",type:"transfer",name:"fields",id:"u:92c0b3cccca0",source:{method:"get",url:"${context.rootUrl}/service/api/amis-metadata-objects/objects/${objectName}/fields/options",dataType:"json",headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"},data:null,requestAdaptor:"",adaptor:""},options:[],required:!0,placeholder:"-",className:"col-span-2 m-0",checkAll:!1,searchable:!0,sortable:!0,joinValues:!1,extractValue:!0,multiple:!0}],id:"u:e5ac506d5683",mode:"normal",persistData:!1,promptPageLeave:!0,name:"form",debug:!1,actions:[],panelClassName:"m-0",bodyClassName:"p-4",className:"steedos-amis-form"}],id:"u:ca99fa9fe1b1",actions:[{type:"button",label:"取消",onEvent:{click:{actions:[{componentId:"",args:{},actionType:"closeDialog"}]}},id:"u:4e447b5ca72a"},{type:"button",label:"确认",onEvent:{click:{actions:[{actionType:"custom",script:'\n const data = context.props.data;\n const listName = data.listName;\n const objectName = data.objectName;\n const isLookup = data.isLookup;\n const listViewId = data.listViewId;\n const value = data.fields;\n const scope = event.context.scoped;\n // 这里的filterForm不是name为"listview-filter-form"的内部form,而是crud自带的filter form\n const filterForm = scope.parent.parent.getComponents().find(function(n){\n return n.props.type === "form";\n });\n const filterService = filterForm.context.getComponents().find(function(n){\n return n.props.type === "service";\n });\n filterService.setData({ filterFormSearchableFields: value });\n let searchableFieldsStoreKey = location.pathname + "/searchable_fields/";\n if(isLookup){\n searchableFieldsStoreKey += "lookup/" + objectName;\n }\n else{\n searchableFieldsStoreKey += listViewId;\n }\n sessionStorage.setItem(searchableFieldsStoreKey, value);\n\n // ===START===:当变更可搜索字段时,如果被移除的可搜索字段在本地存储中已经存入过滤条件中则应该清除本地存储中相关字段的过滤条件。\n const searchableFields = data.fields;\n let preSearchableFields = data.__super.fields;\n if(typeof preSearchableFields === "string"){\n preSearchableFields = preSearchableFields.split(",");\n }\n const removedFields = _.difference(preSearchableFields, searchableFields);\n\n // const getClosestAmisComponentByType = function (scope, type, name) {\n // // 递归children找到listview-filter-form\n // let re = scope.getComponents().find(function (n) {\n // return n.props.type === type && n.props.name === name;\n // });\n // if (re) {\n // return re;\n // }\n // else {\n // if (scope.children && scope.children.length) {\n // for (let i = 0; i < scope.children.length; i++) {\n // re = getClosestAmisComponentByType(scope.children[i], type, name);\n // if (re) {\n // break;\n // }\n // }\n // return re;\n // }\n \n // }\n // }\n // // 这里第二层form才是真正要提交到crud过滤条件的form\n // filterInnerForm = getClosestAmisComponentByType(filterForm.context, "form", "listview-filter-form");\n\n const filterFormValues = filterForm.getValues();\n let removedKeys = [];\n _.each(filterFormValues, function(n,k){\n // __searchable__开头的不在searchableFields范围则清除其值\n let isRemoved = !!removedFields.find(function(fieldName){\n return new RegExp("__searchable__.*" + fieldName + "$").test(k);\n });\n if(isRemoved){\n removedKeys.push(k);\n }\n });\n const removedValues = {};\n removedKeys.forEach(function(key){\n removedValues[key] = "";\n });\n filterForm.setValues(removedValues);//这里使用filterInnerForm也可以\n\n if(isLookup){\n return;\n }\n \n // 列表视图crud支持本地缓存,所以需要进一步清除浏览器本地缓存里面用户在可搜索项中移除的字段值\n const listViewPropsStoreKey = location.pathname + "/crud/" + listViewId ;\n let localListViewProps = sessionStorage.getItem(listViewPropsStoreKey);\n if(localListViewProps){\n localListViewProps = JSON.parse(localListViewProps);\n // const removedValues = {};\n removedKeys.forEach(function(key){\n delete localListViewProps[key];\n // removedValues[key] = "";\n });\n sessionStorage.setItem(listViewPropsStoreKey, JSON.stringify(localListViewProps));\n }\n // ===END===\n '},{componentId:"",args:{},actionType:"closeDrawer"}]}},id:"u:14e7388fecd3",level:"primary"}],closeOnEsc:!1,closeOnOutside:!1,showCloseButton:!0,data:{"&":"$$",objectName:"${objectName}",listName:"${listName}",listViewId:"${listViewId}",uiSchema:"${uiSchema}",isLookup:"${isLookup}",context:"${context}",fields:"${filterFormSearchableFields}"}}}]}},id:"u:b96d84868a5a",level:"link"}],size:"xs",className:"space-x-4"},size:"xs",className:"slds-filters__footer slds-grid slds-shrink-none flex justify-between p-0"}],size:"xs",className:"slds-filters"},size:"xs",className:"border-gray-300 border-y slds-grid slds-grid_vertical slds-nowrap "+(!n.isLookup&&"mt-2"),visibleOn:"this.showFieldsFilter"},className:"bg-white"}}async function getObjectListHeaderFieldsFilterBar(e,t,n){var r=lodash.exports.keys(e.fields);r=lodash.exports.sortBy(lodash.exports.compact(lodash.exports.map(r,(t=>e.fields[t]))),"sort_no");return await getObjectFieldsFilterBarSchema(e,r,n)}const getDisplayAsButton=function(e){return{type:"dropdown-button",icon:"fa fa-table-columns",btnClassName:"antd-Button--iconOnly bg-white p-2 rounded border-gray-300 text-gray-500",align:"right",buttons:[{label:"显示为",children:[{type:"button",label:"表格",onClick:"const url = document.location.pathname + '?display=grid'; props.env.jumpTo(url);"},{type:"button",label:"分栏视图",onClick:"const url = document.location.pathname + '?display=split'; props.env.jumpTo(url);"}]}]}},onFieldsFilterToggleScript='\nconst scope = event.context.scoped;\nconst filterForm = scope.getComponents().find(function(n){\n return n.props.type === "form";\n});\nconst filterService = filterForm.context.getComponents().find(function(n){\n return n.props.type === "service";\n});\nfilterService.setData({showFieldsFilter: !!!filterService.props.data.showFieldsFilter});\n';function getExportApiRequestAdaptorScript(){return'\n console.log(api.url);\n // 获取列表视图的属性\n let uiSchema = api.body.uiSchema;\n let list_views = uiSchema.list_views;\n let list_views_name = api.body.listName;\n let col = list_views[list_views_name].columns;\n let sort_test = list_views[list_views_name].sort;\n \n // 获取下载字段\n let select = [];\n _.each(col, (col) => {\n if (col.field == undefined)\n select.push(col);\n else select.push(col.field);\n });\n \n // 获取排序字段\n \n let sort = [];\n _.forEach(sort_test, (sortField) => {\n if (sortField.field_name == undefined)\n sort.push(sortField);\n else sort.push([sortField.field_name, sortField.order]);\n })\n \n let orders = [];\n _.map(sort, (value) => {\n let order_tmp = [];\n if (value[1] == "desc")\n order_tmp = value[0] + \' desc\';\n else\n order_tmp = value[0];\n orders.push(order_tmp);\n });\n let order = orders.join(\',\');\n \n let filename = uiSchema.label + "-" + list_views[list_views_name].label;\n \n url_tmp = api.url.split(\'?\')[0];\n api.url = url_tmp + "?$select=" + select.toString() + "&filename=" + filename;\n \n // 判断sort 和 filters\n if (sort.length > 0) {\n api.url += "&$orderby=" + order;\n }\n let filters = list_views[list_views_name].filters;\n if (filters && filters.length > 0) {\n api.url = api.url + "&filters=" + JSON.stringify(filters);\n }\n console.log(api.url);\n return api;\n '}function getObjectHeaderToolbar(e,t,{showDisplayAs:n=!1,hiddenCount:r=!1}={}){return window.innerWidth<768&&(n=!1),"SMALL"===t?[r?{}:{type:"tpl",tpl:"${count} 个项目"},{type:"button",align:"right",className:"bg-white p-2 rounded border-gray-300 text-gray-500",label:"",icon:"fa fa-sync",onEvent:{click:{actions:[{actionType:"custom",script:'\n const scope = event.context.scoped;\n var listView = scope.parent.getComponents().find(function(n){\n return n.props.type === "crud";\n });\n listView.handleChangePage(1);\n '}]}}},{label:"",icon:"fa fa-search",type:"button",align:"right",className:"bg-white p-2 rounded border-gray-300 text-gray-500",onEvent:{click:{actions:[{actionType:"custom",script:onFieldsFilterToggleScript}]}}},n?getDisplayAsButton():{}]:["bulkActions",{type:"columns-toggler",className:"hidden"},r?{}:{type:"tpl",tpl:"${count} 个项目"},{type:"reload",align:"right",tooltipPlacement:"bottom",className:"bg-white p-2 rounded border-gray-300 text-gray-500"},{type:"button",label:"",icon:"fa fa-download",align:"right",className:"bg-white p-2 rounded border-gray-300 text-gray-500",tooltipPlacement:"bottom",visibleOn:"${!isLookup && global.user.is_space_admin}",tooltip:"导出Excel",onEvent:{click:{weight:0,actions:[{args:{api:{url:"${context.rootUrl}/api/record/export/${objectName}",method:"get",messages:{},requestAdaptor:""+getExportApiRequestAdaptorScript(),data:{uiSchema:"${uiSchema}",listName:"${listName}"},headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"}}},actionType:"download"}]}}},{label:"",icon:"fa fa-search",type:"button",align:"right",className:"bg-white p-2 rounded border-gray-300 text-gray-500",onEvent:{click:{actions:[{actionType:"custom",script:onFieldsFilterToggleScript}]}}},n?getDisplayAsButton():{}]}function getObjectFooterToolbar(e,t){return"SMALL"===t?["load-more"]:["statistics","pagination"]}async function getObjectFilter(e,t,n){return{title:"",submitText:"",className:"",mode:"normal",wrapWithPanel:!1,body:[await getObjectListHeaderFieldsFilterBar(e,null,n)]}}async function getSource(e,t){var n=t.objectName,r=await getFindQuery({name:n},null,[{name:t.valueField,alias:"value"},{name:t.labelField,alias:"label"},{name:"children"}],{alias:"options",filters:"{__filters}"});(n=(r.query=r.query.replace(/,count\:.+/,"}"),await getFindQuery({name:n},null,[{name:t.valueField,alias:"value"},{name:t.labelField,alias:"label"}],{alias:"defaultValueOptions",filters:"{__options_filters}"}))).query=n.query.replace(/,count\:.+/,"}"),r.query=r.query.replace(/}$/,","+n.query.replace(/{(.+)}/,"$1}"));let a=""+e.name;return e._prefix&&(a=""+e._prefix+e.name),t.fieldNamePrefix&&(a=""+t.fieldNamePrefix+a),r.$value="$"+a,n=`\n var filters = [['parent', '=', null]];\n api.data.query = api.data.query.replace(/{__filters}/g, JSON.stringify(filters));\n var defaultValue = api.data.$value;\n var optionsFiltersOp = "${e.multiple?"in":"="}";\n var optionsFilters = [["${t.valueField}", optionsFiltersOp, []]];\n if (defaultValue) { \n optionsFilters = [["${t.valueField}", optionsFiltersOp, defaultValue]];\n }\n api.data.query = api.data.query.replace(/{__options_filters}/g, JSON.stringify(optionsFilters));\n return api;\n `,{method:"post",url:getApi$2(),requestAdaptor:n,adaptor:'\n const data = payload.data;\n data.options = data.options.map(function (optionItem) {\n optionItem.defer = !!(optionItem.children && optionItem.children.length);\n delete optionItem.children;\n return optionItem;\n });\n var defaultValueOptions = data.defaultValueOptions;\n // 字段值下拉选项合并到options中\n data.options = _.unionWith(data.options, defaultValueOptions, function(a,b){\n return a["value"]=== b["value"];\n });\n delete data.defaultValueOptions;\n payload.data = data;\n return payload;\n ',data:r,headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"}}}async function getDeferApi(e,t){var n=t.objectName,r=await getFindQuery({name:"{__object_name}"},null,[],{alias:"options",queryOptions:'filters: {__filters}, sort: "{__sort}"'});let a=e.filters;return"function"==typeof(a="string"==typeof a?(a=new Function("return "+a))():a)&&(a=a(e)),r.query=r.query.replace(/,count\:.+/,"}"),r.query=r.query.replace("{_id}","{{__fields}}"),e=`\n var dep = api.query.dep;\n var term = api.query.term;\n var filters;\n var objectName;\n var fields;\n var sort = "";\n if (dep) {\n objectName = "${n}";\n fields = "_id,value:${t.valueField},label:${t.labelField},children";\n filters = [['parent', '=', dep]];\n sort = "${t.sort}";\n }\n api.data.query = api.data.query.replace(/{__object_name}/g, objectName).replace(/{__fields}/g, fields).replace(/{__filters}/g, JSON.stringify(filters)).replace('{__sort}', sort.trim());\n return api;\n `,{method:"post",url:getApi$2()+"?dep=${value}",requestAdaptor:e,adaptor:"\n if (api.query.dep) {\n // 展开组织时才需要根据children值设置defer属性\n const data = payload.data;\n data.options = data.options.map(function (option) {\n option.defer = !!(option.children && option.children.length);\n delete option.children;\n return option;\n });\n payload.data = data;\n }\n return payload;\n ",data:r,headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"}}}function getRefListViewSort(e){e=lodash.exports.find(e.list_views,((e,t)=>"all"===t));let t="";return e?getListViewSort(e):t}async function lookupToAmisTreeSelect(e,t,n){if(!e)return{};n=n||{};var r={type:getAmisStaticFieldType("tree-select",t)};return t?r.tpl=await getLookupTpl(e,n):(t=await getUISchema(n.objectName),n.sort=getRefListViewSort(t),Object.assign(r,{multiple:e.multiple,searchable:e.searchable,extractValue:!0,hideNodePathLabel:!0,clearable:!0,source:await getSource(e,n),deferApi:await getDeferApi(e,n)}),e.multiple&&Object.assign(r,{joinValues:!1}),"boolean"!=typeof r.searchable&&(r.searchable=!0),(t=e.onEvent)&&(r.onEvent=t)),r}const getReferenceTo=async e=>{let t=e.reference_to;if(t){"users"===t&&(t="space_users",e.reference_to_field="user");var n=await getUISchema(t);if(!n)return null;let r=null,a=e.reference_to_field;return a=a||n.idFieldName||"_id",r="_id"===a?{name:"_id",label:"ID",type:"text",toggled:!1}:n.fields[a]||{name:a},{objectName:t,valueField:r,labelField:n.fields[n.NAME_FIELD_KEY||"name"],NAME_FIELD_KEY:n.NAME_FIELD_KEY||"name"}}};async function lookupToAmisPicker(e,t,n){var r=await getReferenceTo(e);if(r){const i=await getUISchema(r.objectName),l=[];let s=0;const u=[],c=[];var a=lodash.exports.find(i.list_views,((e,t)=>"all"===t));a&&a.columns?lodash.exports.each(a.columns,(function(e){lodash.exports.isString(e)&&i.fields[e]?c.push(i.fields[e]):lodash.exports.isObject(e)&&i.fields[e.field]&&c.push(Object.assign({},i.fields[e.field],{width:e.width,wrap:e.wrap}))})):lodash.exports.each(i.fields,((e,t)=>{"_id"==t||e.hidden||(lodash.exports.has(e,"name")||(e.name=t),c.push(e))})),lodash.exports.each(lodash.exports.sortBy(c,"sort_no"),(function(e){s<5&&(lodash.exports.find(l,(function(t){return t.name===e.name}))||(s++,l.push(e),e.searchable&&u.push(e.name)))}));const d={[r.labelField.name]:r.labelField,[r.valueField.name]:r.valueField};lodash.exports.each(l,(e=>{e.hidden||(d[e.name]=e)}));let f="";if(a&&(f=getListViewSort(a)),(a=await getApi$1(i,null,d,{expand:!0,alias:"rows",queryOptions:'filters: {__filters}, top: {__top}, skip: {__skip}, sort: "{__sort}"'})).url){const t=[],n=[];lodash.exports.each(e.depend_on,(e=>{t.push(`depend_on_${e}=\${${e}}`),n.push("this."+e)})),0<t.length&&(a.url=a.url+"?"+t.join("&"),a.sendOn=""+n.join(" && "))}a.data.$term="$term",a.data.$self="$$",a.requestAdaptor=`\n const selfData = JSON.parse(JSON.stringify(api.data.$self));\n var filters = [];\n var pageSize = api.data.pageSize || 10;\n var pageNo = api.data.pageNo || 1;\n var skip = (pageNo - 1) * pageSize;\n var orderBy = api.data.orderBy || '';\n var orderDir = api.data.orderDir || '';\n var sort = orderBy + ' ' + orderDir;\n sort = orderBy ? sort : "${f}";\n var allowSearchFields = ${JSON.stringify(u)};\n if(api.data.$term){\n filters = [["name", "contains", "'+ api.data.$term +'"]];\n }else if(selfData.op === 'loadOptions' && selfData.value){\n if(selfData.value?.indexOf(',') > 0){\n filters = [["${r.valueField.name}", "=", selfData.value.split(',')]];\n }else{\n filters = [["${r.valueField.name}", "=", selfData.value]];\n }\n }\n\n var searchableFilter = [];\n _.each(selfData, (value, key)=>{\n if(!_.isEmpty(value) || _.isBoolean(value)){\n if(_.startsWith(key, '__searchable__between__')){\n searchableFilter.push([\`\${key.replace("__searchable__between__", "")}\`, "between", value])\n }else if(_.startsWith(key, '__searchable__')){\n if(_.isString(value)){\n searchableFilter.push([\`\${key.replace("__searchable__", "")}\`, "contains", value])\n }else{\n searchableFilter.push([\`\${key.replace("__searchable__", "")}\`, "=", value])\n }\n }\n }\n });\n\n if(searchableFilter.length > 0){\n if(filters.length > 0 ){\n filters = [filters, 'and', searchableFilter];\n }else{\n filters = searchableFilter;\n }\n }\n\n if(allowSearchFields){\n allowSearchFields.forEach(function(key){\n const keyValue = selfData[key];\n if(keyValue){\n filters.push([key, "contains", keyValue]);\n }\n })\n }\n\n var fieldFilters = ${JSON.stringify(e.filters)};\n if(fieldFilters && fieldFilters.length){\n filters.push(fieldFilters);\n }\n \n const filtersFunction = ${e.filtersFunction||e._filtersFunction};\n\n if(filtersFunction){\n const _filters = filtersFunction(filters, api.data.$self.__super.__super);\n if(_filters && _filters.length > 0){\n filters.push(_filters);\n }\n }\n\n api.data.query = api.data.query.replace(/{__filters}/g, JSON.stringify(filters)).replace('{__top}', pageSize).replace('{__skip}', skip).replace('{__sort}', sort.trim());\n return api;\n `,a.adaptor=`\n const enable_tree = ${i.enable_tree};\n if(enable_tree){\n const records = payload.data.rows;\n const treeRecords = [];\n const getChildren = (records, childrenIds)=>{\n if(!childrenIds){\n return;\n }\n const children = _.filter(records, (record)=>{\n return _.includes(childrenIds, record._id)\n });\n _.each(children, (item)=>{\n if(item.children){\n item.children = getChildren(records, item.children)\n }\n })\n return children;\n }\n\n _.each(records, (record)=>{\n if(!record.parent){\n treeRecords.push(Object.assign({}, record, {children: getChildren(records, record.children)}));\n }\n });\n payload.data.rows = treeRecords;\n }\n return payload;\n `,(e.optionsFunction||e._optionsFunction)&&(a.adaptor=`\n payload.data.rows = eval(${e.optionsFunction||e._optionsFunction})(api.data.$self);\n return payload;\n `);let p=20,h=(i.paging&&!1===i.paging.enabled&&(p=1e3),null);"SMALL"===n.formFactor?h=await getListSchema$1(l,{top:p,...n,actions:!1}):((h=await getTableSchema$1(l,{labelFieldName:i.NAME_FIELD_KEY,top:p,...n})).headerToolbar=getObjectHeaderToolbar(i,n.formFactor),i.permissions.allowCreate&&((o=await getSchema$4(i,{appId:n.appId,objectName:i.name,formFactor:n.formFactor})).align="right",h.headerToolbar.push(o)),h.footerToolbar=getObjectFooterToolbar(),!1!==n.filterVisible&&(o=n.filterLoopCount||0,o++,h.filter=await getObjectFilter(i,d,{isLookup:!0,...n,filterLoopCount:o})),h.data=Object.assign({},h.data,{"&":"$$",objectName:i.name,uiSchema:i,listName:"all",isLookup:!0}),h.onEvent||(h.onEvent={}),h.onEvent["@data.changed."+i.name]={actions:[{actionType:"reload"}]});var o={type:getAmisStaticFieldType("picker",t),labelField:r.labelField.name,valueField:r.valueField.name,modalMode:"dialog",source:a,size:"lg",pickerSchema:h,joinValues:!1,extractValue:!0};return e.multiple&&(o.multiple=!0,o.extractValue=!0),t&&(o.tpl=await getLookupTpl(e,n)),o}}async function lookupToAmisSelect(e,t,n){var r=await getReferenceTo(e),a=r&&r.valueField?.name||"_id";let o;r?(i=await getFindQuery({name:r.objectName},null,{[r.labelField.name]:Object.assign({},r.labelField,{alias:"label"}),[r.valueField.name]:Object.assign({},r.valueField,{alias:"value"})},{alias:"defaultValueOptions",filters:"{__options_filters}",count:!1}),(o=await getApi$1({name:r.objectName},null,{[r.labelField.name]:Object.assign({},r.labelField,{alias:"label"}),[r.valueField.name]:Object.assign({},r.valueField,{alias:"value"})},{expand:!1,alias:"options",queryOptions:'filters: {__filters}, top: {__top}, sort: "{__sort}"',moreQueries:[i.query]})).adaptor='\n const data = payload.data;\n var defaultValueOptions = data.defaultValueOptions;\n // 字段值下拉选项合并到options中\n data.options = _.unionWith(defaultValueOptions, data.options, function(a,b){\n return a["value"]=== b["value"];\n });\n delete data.defaultValueOptions;\n payload.data.options = data.options;\n return payload;\n '):o={method:"post",url:getApi$2(),data:{query:'{objects(filters: ["_id", "=", "-1"]){_id}}',$:"$$"}};var i=(i=r&&await getUISchema(r.objectName))&&lodash.exports.find(i.list_views,((e,t)=>"all"===t));let l="";if(i&&(l=getListViewSort(i)),o.url){const t=[],n=[];lodash.exports.each(e.depend_on,(e=>{t.push(`depend_on_${e}=\${${e}}`),n.push("this."+e)})),0<t.length&&(o.url=o.url+"?"+t.join("&"),o.sendOn=""+n.join(" && "))}return o.data.$term="$term",o.data.$value=n.isRefToMutiple?`$${e.name}.ids`:"$"+e.name,lodash.exports.each(e.depend_on,(function(e){o.data[e]="$"+e})),o.data.$="$$",o.data.rfield="${object_name}",o.requestAdaptor=`\n var filters = [];\n var top = 10;\n if(api.data.$term){\n filters = [["${r?.NAME_FIELD_KEY||"name"}", "contains", api.data.$term]];\n }\n // else if(api.data.$value){\n // filters = [["_id", "=", api.data.$value]];\n // }\n\n var fieldFilters = ${JSON.stringify(e.filters)};\n if(fieldFilters && fieldFilters.length){\n filters.push(fieldFilters);\n }\n\n const filtersFunction = ${e.filtersFunction||e._filtersFunction};\n\n if(filtersFunction){\n const _filters = filtersFunction(filters, api.data.$);\n if(_filters && _filters.length > 0){\n filters.push(_filters);\n }\n }\n var sort = "${l}";\n api.data.query = api.data.query.replace(/{__filters}/g, JSON.stringify(filters)).replace('{__top}', top).replace('{__sort}', sort.trim());\n\n var defaultValue = api.data.$value;\n var optionsFiltersOp = "${e.multiple?"in":"="}";\n var optionsFilters = [["${a}", optionsFiltersOp, []]];\n if (defaultValue && !api.data.$term) { \n // 字段值单独请求,没值的时候在请求中返回空\n optionsFilters = [["${a}", optionsFiltersOp, defaultValue]];\n if(filters.length > 0){\n optionsFilters = [filters, optionsFilters];\n }\n }\n api.data.query = api.data.query.replace(/{__options_filters}/g, JSON.stringify(optionsFilters));\n return api;\n `,r&&r.labelField.name,r&&r.valueField.name,(e.optionsFunction||e._optionsFunction)&&(o.adaptor=`\n payload.data.options = eval(${e.optionsFunction||e._optionsFunction})(api.data.$);\n return payload;\n `),(i={type:getAmisStaticFieldType("select",t),joinValues:!1,extractValue:!0,source:o,autoComplete:o,searchable:!0}).menuTpl="${icon ? `<span class='flex items-center mt-0.5'>\n <span role='img' aria-label='smile' class='anticon anticon-smile'>\n <span class='slds-icon_container slds-icon-standard-${REPLACE(icon,'_','-')}'>\n <svg class='slds-icon slds-icon_x-small' aria-hidden='true'>\n <use xlink:href='${context.rootUrl}/assets/icons/standard-sprite/svg/symbols.svg#${icon}'></use>\n </svg>\n </span> \n </span>\n <span class='pl-1.5'>${label}</span>\n </span>` : label}",e.multiple&&(i.multiple=!0,i.extractValue=!0),t&&(i.tpl=await getLookupTpl(e,n)),i}async function getApi$1(e,t,n,r){return e=await getFindQuery(e,t,n,r),{method:"post",url:getApi$2(),data:e,headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"}}}async function lookupToAmis(e,t,n){var r,a;return n=n||{},t?{type:getAmisStaticFieldType("picker",t),tpl:getRelatedFieldTpl(e,n)}:!e.reference_to||lodash.exports.isString(e.reference_to)||t?n.ids||n.idsTrackOn?lookupToAmisIdsPicker(e,t,n):(r=await getReferenceTo(e))?(a=await getUISchema(r.objectName),"space_users"===r.objectName&&"user"===e.reference_to_field?lookupToAmisSelectUser(e,t,n):1==a.enable_enhanced_lookup&&lodash.exports.isEmpty(e.depend_on)?lookupToAmisPicker(e,t,n):a.enable_tree?lookupToAmisTreeSelect(e,t,Object.assign({},n,{labelField:r.labelField?.name||"name",valueField:r.valueField?.name||"_id",objectName:r.objectName})):lookupToAmisSelect(e,t,n)):lookupToAmisSelect(e,t,n):{type:"steedos-field-lookup",field:e,readonly:t,ctx:{}}}async function lookupToAmisSelectUser(e,t,n){return getSelectUserSchema(e,t,n)}async function lookupToAmisIdsPicker(e,t,n){return getIdsPickerSchema(e,t,n)}async function getIdsPickerSchema(e,t,n){n=n||{};var r=await getReferenceTo(e);if(r){var a=await getUISchema(r.objectName),{ids:o,idsTrackOn:i}=n,l={[r.labelField.name]:r.labelField,[r.valueField.name]:r.valueField},s=[r.labelField];(l=await getApi$1(a,null,l,{expand:!0,alias:"rows",queryOptions:"filters: {__filters}, top: {__top}, skip: {__skip}"})).data.$term="$term",l.data.$self="$$",o&&o.length?l.sendOn=!0:l.sendOn=!1,i&&(l.sendOn=`\${${i} && ${i}.length}`),l.requestAdaptor=`\n const selfData = JSON.parse(JSON.stringify(api.data.$self));\n var filters = [];\n var pageSize = api.data.pageSize || 1000;\n var pageNo = api.data.pageNo || 1;\n var skip = (pageNo - 1) * pageSize;\n if(selfData.op === 'loadOptions' && selfData.value){\n if(selfData.value?.indexOf(',') > 0){\n filters = [["${r.valueField.name}", "=", selfData.value.split(',')]];\n }else{\n filters = [["${r.valueField.name}", "=", selfData.value]];\n }\n }\n\n var ids = ${JSON.stringify(o)};\n var idsTrackOn = "${i}";\n if(idsTrackOn){\n ids = api.data.$self[idsTrackOn];\n }\n if(ids && ids.length){\n filters.push(["${r.valueField.name}", "=", ids]);\n }\n\n api.data.query = api.data.query.replace(/{__filters}/g, JSON.stringify(filters)).replace('{__top}', pageSize).replace('{__skip}', skip);\n return api;\n `;let u=null;return u="SMALL"===n.formFactor?await getListSchema$1(s,{top:1e3,...n,actions:!1}):await getTableSchema$1(s,{labelFieldName:a.NAME_FIELD_KEY,top:1e3,...n}),o={type:getAmisStaticFieldType("picker",t),labelField:r.labelField.name,valueField:r.valueField.name,modalMode:"dialog",source:l,size:"lg",pickerSchema:u,joinValues:!1,extractValue:!0},e.multiple&&(o.multiple=!0,o.extractValue=!0),t&&(o.tpl=await getLookupTpl(e,n)),o}}const getMarkdownFieldSchema=(e,t,n)=>t?{type:"markdown",name:e.name,options:{linkify:!0,html:!0,breaks:!0}}:{type:"group",body:[{type:"editor",name:e.name,language:"markdown"},{type:"markdown",name:e.name,options:{linkify:!0,html:!0,breaks:!0}}]},getHtmlFieldSchema=(e,t,n)=>t?{type:"html",name:e.name}:{type:"input-rich-text",name:e.name},AmisFormInputs=["text","date","file","avatar","image","datetime","time","number","currency","percent","password","url","email"];function getAmisStaticFieldType(e,t,n){return t?lodash.exports.includes(["text","image"],e)?"image"===e&&n&&n.multiple?"static-images":"static-"+e:"static":lodash.exports.includes(AmisFormInputs,e)?"input-"+e:e}const getFileTableName=e=>{switch(e.type){case"avatar":return"avatars";case"image":return"images";case"file":return"files"}},getAmisFieldType$1=(e,t)=>getAmisStaticFieldType("avatar"===e.type?"image":e.type,t,{multiple:e.multiple}),getAmisFileReadonlySchema=e=>{var t=e.type,n=getAmisFieldType$1(e,!0);return _.includes(["avatar","image"],t)?{type:n,defaultImage:"",enlargeAble:!0,showToolbar:!0}:"file"===t?{type:n,tpl:`\n <% let fileData = data.${e.name}; if (fileData) { %>\n <% if(!Array.isArray(fileData)){ fileData = [fileData]} %>\n <% fileData.forEach(function(item) { %> \n <a href='<%= item.url %>' target='_self' class='block'><%= item.name %></a> \n <% });} %>`}:void 0},getAmisFileEditSchema=e=>{var t=getFileTableName(e);t={type:getAmisFieldType$1(e,!1),useChunk:!1,receiver:{method:"post",url:"${context.rootUrl}/s3/"+t,data:{$:"$$",context:"${context}"},adaptor:`\n const { context } = api.body; \n var rootUrl = context.rootUrl + "/api/files/${t}/";\n payload = {\n status: response.status == 200 ? 0 : response.status,\n msg: response.statusText,\n data: {\n value: payload._id,\n name: payload.original.name,\n url: rootUrl + payload._id,\n }\n }\n return payload;\n `,headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"}}};return e.multiple&&(t.multiple=!0,t.joinValues=!1,t.extractValue=!0),t},getAmisFileSchema=(e,t)=>(t?getAmisFileReadonlySchema:getAmisFileEditSchema)(e),OMIT_FIELDS=["created","created_by","modified","modified_by"];function getBaseFields(e){let t="m-1";return[{name:"createdInfo",label:"创建人",type:"static",labelClassName:"text-left",className:t=e?""+t:t,tpl:getCreatedInfoTpl()},{name:"modifiedInfo",label:"修改人",type:"static",labelClassName:"text-left",className:t,tpl:getModifiedInfoTpl()}]}function getAmisFieldType(e){switch(e.type){case"text":case"autonumber":return"text";case"textarea":return"textarea";case"html":return"html";case"markdown":return"markdown";case"select":case"lookup":return"select";case"boolean":return"checkbox";case"date":return"date";case"datetime":return"datetime";case"number":case"currency":case"percent":return"number";case"password":return"password";case"master_detail":return"picker";case"url":return"url";case"email":return"email";case"image":return"image";case"formula":case"summary":break;case"grid":return"table";default:console.log("convertData default",e.type)}}function getObjectFieldSubFields(e,t){var n=Object.assign({subFields:[]},e);t=lodash.exports.filter(t,(function(t){var n=t.name.startsWith(e.name+".")&&lodash.exports.split(t.name,".").length<3;return n&&(t._prefix=e.name+"."),n}));return n.subFields=t,n}function getGridFieldSubFields(e,t){var n=Object.assign({subFields:[]},e);t=lodash.exports.filter(t,(function(t){var n=t.name.startsWith(e.name+".");return n&&(t._prefix=e.name+"."),n}));return n.subFields=t,n}function getPermissionFields(e,t){const n=[],r=[];return lodash.exports.each(e.fields,((e,t)=>{lodash.exports.has(e,"name")||(e.name=t),r.push(e)})),lodash.exports.each(lodash.exports.sortBy(r,"sort_no"),(function(e){e.hidden||n.push(Object.assign({},e,{permission:{allowEdit:!0}}))})),n}function getSelectFieldOptions(e){const t=e.data_type||"text",n=[];return lodash.exports.each(e.options,(e=>{switch(t){case"number":n.push({label:e.label,value:Number(e.value)});break;case"text":n.push({label:e.label,value:String(e.value)});break;case"boolean":n.push({label:e.label,value:"false"!==e.value})}})),n}async function convertSFieldToAmisField(e,t,n){if(!lodash.exports.includes(OMIT_FIELDS,e.name)||1==n.showSystemFields){var r={name:n.fieldNamePrefix?""+n.fieldNamePrefix+e.name:e.name,label:e.label,labelRemark:e.inlineHelpText,required:(lodash.exports.has(n,"required")?n:e).required};let u={};switch(e.type){case"text":u.type=getAmisStaticFieldType("text",t);break;case"textarea":u.type=getAmisStaticFieldType("textarea",t),u.tpl=`<%=(data.${e.name} || "").split("\\n").join('<br>')%>`;break;case"html":u=getHtmlFieldSchema(e,t);break;case"markdown":u=getMarkdownFieldSchema(e,t);break;case"select":u={type:getAmisStaticFieldType("select",t),joinValues:!1,options:getSelectFieldOptions(e),extractValue:!0,clearable:!0,labelField:"label",valueField:"value",tpl:t?getSelectTpl(e):null},e.multiple&&(u.multiple=!0,u.extractValue=!0);break;case"boolean":u={type:getAmisStaticFieldType("checkbox",t),tpl:t?getSwitchTpl(e):null};break;case"input-date-range":u={type:"input-date-range",inputFormat:"YYYY-MM-DD",format:"YYYY-MM-DDT00:00:00.000[Z]",tpl:t?getDateTpl(e):null,joinValues:!1};break;case"date":u={type:getAmisStaticFieldType("date",t),inputFormat:"YYYY-MM-DD",format:"YYYY-MM-DDT00:00:00.000[Z]",tpl:t?getDateTpl(e):null};break;case"input-datetime-range":u={type:"input-datetime-range",inputFormat:"YYYY-MM-DD HH:mm",format:"YYYY-MM-DDTHH:mm:ss.SSSZ",tpl:t?getDateTimeTpl(e):null,utc:!0,joinValues:!1};break;case"datetime":u={type:getAmisStaticFieldType("datetime",t),inputFormat:"YYYY-MM-DD HH:mm",format:"YYYY-MM-DDTHH:mm:ss.SSSZ",tpl:t?getDateTimeTpl(e):null,utc:!0};break;case"input-time-range":u={type:"input-time-range",inputFormat:"HH:mm",timeFormat:"HH:mm",format:"1970-01-01THH:mm:00.000[Z]",tpl:t?getDateTimeTpl(e):null,joinValues:!1};break;case"time":u={type:getAmisStaticFieldType("time",t),inputFormat:"HH:mm",timeFormat:"HH:mm",format:"1970-01-01THH:mm:00.000[Z]",tpl:t?getDateTimeTpl(e):null};break;case"currency":case"number":u=t?{type:"static-tpl",tpl:getNumberTpl(e)}:{type:getAmisStaticFieldType("number",t),min:e.min,max:e.max,precision:e.scale};break;case"input-array":u=Object.assign({},e,r);break;case"input-range":u={type:"input-range",min:e.min,max:e.max,value:[0,0],multiple:!0,showInput:!0};break;case"percent":u={type:getAmisStaticFieldType("number",t),min:e.min,max:e.max,precision:e.scale};break;case"password":u={type:getAmisStaticFieldType("password",t),tpl:t?getPasswordTpl(e):null};break;case"lookup":case"master_detail":u=await lookupToAmis(e,t,n);break;case"autonumber":t&&(u={type:"static-text"});break;case"url":u={type:getAmisStaticFieldType("url",t)};break;case"email":u={type:getAmisStaticFieldType("email",t)};break;case"avatar":case"image":case"file":u=getAmisFileSchema(e,t);break;case"formula":case"summary":t&&(u.type=getAmisStaticFieldType(e.data_type,t));break;case"code":u={type:"editor",language:e.language};break;case"toggle":u={type:"switch",name:e.name,label:e.label,width:e.width,toggled:e.toggled,disabled:t};break;case"grid":if(e.subFields){u={type:"input-table",showIndex:!0,columnsTogglable:!1,strictMode:!1,affixHeader:!1,editable:!t,addable:!t,removable:!t,draggable:!t,columns:[]};for(const r of e.subFields){var a,o=r.name.replace(`${e._prefix||""}${e.name}.$.`,"").replace(e.name+".",""),i=await convertSFieldToAmisField(Object.assign({},r,{name:o,isTableField:!0}),t,n);i&&(delete i.name,delete i.label,a={name:o,label:r.label,quickEdit:!t&&i},"lookup"===r.type&&(a.type=i.type,a.tpl=i.tpl),u.columns.push(Object.assign({},a,r.amis,{name:o})))}}break;case"object":if(e.subFields)for(var l of(u={type:"combo",items:[]},e.subFields)){let r=l.name.replace(e.name+".$.","").replace(e.name+".","");"grid"===l.type?l=await getGridFieldSubFields(l,n.__formFields):t&&(r=e.name+"."+r);var s=await convertSFieldToAmisField(Object.assign({},l,{name:r}),t,n);s&&(delete s.name,delete s.label,u.items.push(Object.assign({},s,{label:l.label},l.amis,{name:r})))}}return lodash.exports.isEmpty(u)?void 0:(e.is_wide||"group"===u.type?u.className="col-span-2 m-1":u.className="m-1",t&&(u.className=u.className+" md:border-b"),t&&(u.quickEdit=!1),e.visible_on&&(e.visible_on.startsWith("{{")?u.visibleOn=""+e.visible_on.substring(2,e.visible_on.length-2).replace(/formData./g,"data."):u.visibleOn=""+e.visible_on.replace(/formData./g,"data.")),"group"===u.type?(u.body[0]=Object.assign({},r,u.body[0],{labelClassName:"text-left",clearValueOnHidden:!0,fieldName:e.name}),u):Object.assign({},r,u,{labelClassName:"text-left",clearValueOnHidden:!0,fieldName:e.name},e.amis,{name:r.name}))}}async function getFieldSearchable(e,t,n){var r=n.filterLoopCount||0;let a=e,o=("grid"===a.type?a=await getGridFieldSubFields(e,t):"object"===e.type&&(a=await getObjectFieldSubFields(e,t)),"__searchable__");if(a.name.indexOf(".")<0&&(e=lodash.exports.cloneDeep(a),lodash.exports.includes(["textarea","html","code","autonumber"],a.type)&&(e.type="text"),lodash.exports.includes(["formula","summary"],a.type)?(e.type=a.data_type,e.precision=a.precision,e.scale=a.scale):"select"===a.type&&a.data_type&&"text"!=a.data_type&&(e.type=a.data_type),"number"!==e.type&&"currency"!==e.type||(e.type="input-array",e.inline=!0,e.addable=!1,e.removable=!1,e.value=[null,null],e.items={type:"input-number"},e.is_wide=!0,o+="between__"),"date"===e.type&&(e.type="input-date-range",e.is_wide=!0,o+="between__"),"datetime"===e.type&&(e.type="input-datetime-range",e.is_wide=!0,o+="between__"),"time"===e.type&&(e.type="input-time-range",e.is_wide=!0,o+="between__"),"users"===e.reference_to&&(e.reference_to="space_users",e.reference_to_field="user"),e.readonly=!1,e.disabled=!1,e.multiple=!0,e.is_wide=!1,e.defaultValue=void 0,t=await convertSFieldToAmisField(e,!1,Object.assign({},n,{fieldNamePrefix:o,required:!1,showSystemFields:!0,filterVisible:r<5}))))return t}async function getTableColumns(e,t){var n=[{name:"_index",type:"text",width:32,placeholder:""}];for(const a of e)if(!a.is_name&&a.name!==t.labelFieldName||"cms_files"!==t.objectName)if("toggle"===a.type)n.push(Object.assign({},{type:"switch",name:a.name,label:a.label,width:a.width,toggled:a.toggled,disabled:!0,className:"whitespace-nowrap"},a.amis,{name:a.name}));else if("avatar"===a.type||"image"===a.type||"file"===a.type)n.push(Object.assign({},{type:"switch",name:a.name,label:a.label,width:a.width,toggled:a.toggled,disabled:!0,className:"whitespace-nowrap",...getAmisFileReadonlySchema(a)},a.amis,{name:a.name}));else{var r=await getFieldTpl(a,t);let e="text";r?e="tpl":"html"===a.type&&(e="markdown"),a.hidden||a.extra||n.push(Object.assign({},{name:a.name,label:a.label,sortable:a.sortable,width:a.width,type:e,tpl:r,toggled:a.toggled,className:"textarea"===a.type?"min-w-56 whitespace-pre-wrap textarea":"whitespace-nowrap",html:"html"===a.type||null},a.amis,{name:a.name}))}else r=`\n var data = event.data;\n var file_name = data.versions ? data.name : "${a.label}";\n var file_id = data._id;\n SteedosUI.previewFile && SteedosUI.previewFile({file_name, file_id});\n `,n.push({type:"button",label:`<%=data.versions ? data.name : "${a.label}"%>`,className:"whitespace-nowrap",level:"link",onEvent:{click:{actions:[{args:{api:{url:"${context.rootUrl}/api/files/files/${versions[0]}?download=true",method:"get",headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"}}},actionType:"download",expression:"!!!window?.nw?.require"},{args:{},actionType:"custom",script:r,expression:"!!window?.nw?.require"}]}}});return n}function getMobileLines(e){let t=[],n=[],r=!1,a=!0,o="",i="flex items-center justify-between h-[20px]";return e.forEach((function(e){r&&t.length<2&&(t.push({type:"wrapper",body:n,size:"none",className:i}),n=[]),a?(o="steedos-listview-item-left truncate",e.field.is_wide&&(o="steedos-listview-item-wide truncate"),0===t.length&&(o+=" font-bold text-gray-800")):o="steedos-listview-item-right truncate ml-2 flex flex-shrink-0",n.push({type:"tpl",tpl:e.tpl,className:o}),r=a=!!e.field.is_wide||!a})),n.length&&t.length<2&&t.push({type:"wrapper",body:n,size:"none",className:i}),t}async function getMobileTableColumns(e,t){var n=[];let r={};var a=[];for(const n of e){let e="";e=(e=n.is_name||n.name===t.labelFieldName?(r=n,t.onlyDisplayLabel=!0,await getFieldTpl(n,t)):"avatar"===n.type||"image"===n.type||"file"===n.type?`\${_display.${n.name}.name}`:("lookup"!==n.type&&"master_detail"!==n.type||(t.onlyDisplayLabel=!0),await getFieldTpl(n,t)))||`\${${n.name}}`,n.hidden||n.extra||a.push({field:n,tpl:e})}e=getNameTplUrl(r,t);var o=getMobileLines(a);return n.push({name:r.name,label:r.label,sortable:r.sortable,type:"button",level:"link",actionType:"link",link:e,innerClassName:"steedos-listview-item block text-gray-500",body:{type:"wrapper",body:o,size:"none",className:"p-1"}}),n}function getDefaultParams(e){return{perPage:e.top||e.perPage||config.listView.perPage}}function getButtonVisibleOn(e){let t=e.visible;return e._visible&&(t=e._visible),(t=lodash.exports.isBoolean(t)?t.toString():t)?t.trim().startsWith("function")?t+"(objectName, _id, recordPermissions, data)":t:"amis_button"===e.type&&(e=e.amis_schema)&&e.body&&0<e.body.length?e.body[0].visibleOn:void 0}async function getTableOperation(e){e=e.buttons;const t=[];if(lodash.exports.each(e,(e=>{lodash.exports.isBoolean(e.visible)&&(e.visible=e.visible.toString()),t.push({type:"steedos-object-button",name:e.name,objectName:e.objectName,visibleOn:getButtonVisibleOn(e),className:"antd-Button--default"})})),!(t.length<1))return{type:"operation",label:"操作",fixed:"right",labelClassName:"text-center",className:"text-center steedos-listview-operation w-20",buttons:[{type:"steedos-dropdown-button",label:"xxx",buttons:t,placement:"bottomRight",overlayClassName:"shadow !min-w-[160px]",trigger:["click"],id:"u:c2140a365019",onOpenApi:{url:"${context.rootUrl}/service/api/@${objectName}/recordPermissions/${_id}",method:"get",data:{$:"$$",objectName:"${objectName}",listViewId:"${listViewId}",appId:"${appId}",formFactor:"${formFactor}",context:"${context}"},responseData:{recordPermissions:"$$"},headers:{Authorization:"Bearer ${context.tenantId},${context.authToken}"},adaptor:"\n payload.recordPermissions = payload;\n return payload;\n "}}]}}async function getTableSchema$1(e,t){let n=[];return"SMALL"===(t=t||{}).formFactor?n=await getMobileTableColumns(e,t):(n=await getTableColumns(e,t)).push(await getTableOperation(t)),{mode:"table",name:"thelist",headerToolbarClassName:"py-2 px-2 border-gray-300 bg-gray-100 border-solid border-b",className:"",draggable:!1,defaultParams:getDefaultParams(t),columns:n,syncLocation:!1,keepItemSelectionOnPageChange:!0,checkOnItemClick:!1,labelTpl:`\${${t.labelFieldName}}`,autoFillHeight:!1,columnsTogglable:!1}}Object.freeze({__proto__:null,OMIT_FIELDS:OMIT_FIELDS,getBaseFields:getBaseFields,getAmisFieldType:getAmisFieldType,getObjectFieldSubFields:getObjectFieldSubFields,getGridFieldSubFields:getGridFieldSubFields,getPermissionFields:getPermissionFields,getSelectFieldOptions:getSelectFieldOptions,convertSFieldToAmisField:convertSFieldToAmisField,getFieldSearchable:getFieldSearchable,getAmisStaticFieldType:getAmisStaticFieldType});let UI_SCHEMA_CACHE={},UISchemaFunction;const setUISchemaCache=("undefined"!=typeof window&&(window.UI_SCHEMA_CACHE||(window.UI_SCHEMA_CACHE=UI_SCHEMA_CACHE),UI_SCHEMA_CACHE=window.UI_SCHEMA_CACHE),(e,t)=>{UI_SCHEMA_CACHE[e]=t}),getUISchemaCache=e=>lodash.exports.cloneDeep(UI_SCHEMA_CACHE[e]),hasUISchemaCache=e=>lodash.exports.has(UI_SCHEMA_CACHE,e);function getListViewSort(e){let t="";return e&&e.sort&&e.sort.length&&lodash.exports.each(e.sort,(function(e,n){var r;lodash.exports.isArray(e)?(r=e[0]+" "+(e[1]||""),t+=r=0<n?","+r:r):(r=e.field_name+" "+e.order,t+=r=0<n?","+r:r)})),t}function formatUISchemaCache(objectName,uiSchema){setUISchemaCache(objectName,uiSchema),lodash.exports.each(uiSchema.fields,(field=>{try{"lookup"===field.type&&field._reference_to&&___default.isString(field._reference_to)&&(field.reference_to=eval(`(${field._reference_to})`)())}catch(e){field.reference_to=void 0,console.error(e)}})),lodash.exports.each(uiSchema.list_views,((e,t)=>{e.name=t,lodash.exports.has(e,"columns")||(e.columns=uiSchema.list_views.all.columns)}))}async function getUISchema(e,t){if(e){if(!hasUISchemaCache(e)||t){let n=null;try{if(!(n=UISchemaFunction?await UISchemaFunction(e,t):await fetchAPI(`/service/api/@${e.replace(/\./g,"_")}/uiSchema`,{method:"get"})))return;formatUISchemaCache(e,n)}catch(t){console.error("getUISchema",e,t),setUISchemaCache(e,null)}}return getUISchemaCache(e)}}function getUISchemaSync(e,t){if(e){if(!hasUISchemaCache(e)||t)try{var n,r=`/service/api/@${e.replace(/\./g,"_")}/uiSchema`;if(!(n=Steedos.authRequest(r,{type:"GET",async:!1})))return;formatUISchemaCache(e,n)}catch(t){console.error("getUISchema",e,t),setUISchemaCache(e,null)}return getUISchemaCache(e)}}"undefined"!=typeof window&&(window.getUISchema=getUISchema,window.getUISchemaSync=getUISchemaSync);var __assign=function(){return(__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var a in t=arguments[n])Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e}).apply(this,arguments)};function createObject(e,t,n){var r=(e=e&&Object.isFrozen(e)?cloneObject(e):e)?Object.create(e,__assign(__assign({},n),{__super:{value:e,writable:!1,enumerable:!1}})):Object.create(Object.prototype,n);return t&&isObject(t)&&Object.keys(t).forEach((function(e){return r[e]=t[e]})),r}function cloneObject(e,t){void 0===t&&(t=!0);var n=e&&e.__super?Object.create(e.__super,{__super:{value:e.__super,writable:!1,enumerable:!1}}):Object.create(Object.prototype);return t&&e&&Object.keys(e).forEach((function(t){return n[t]=e[t]})),n}function isObject(e){var t=typeof e;return e&&"string"!=t&&"number"!=t&&"boolean"!=t&&"function"!=t&&!Array.isArray(e)}var FullCalendar=function(e){var t=e.dispatchEvent,n=e.data,r=__rest(e,["dispatchEvent","data"]),a=function(e,r){return __awaiter(void 0,void 0,void 0,(function(){var a,o;return __generator(this,(function(i){switch(i.label){case 0:return t?[4,t(e,r?createObject(n,r):n)]:[2];case 1:return a=i.sent(),[2,null!==(o=null==a?void 0:a.prevented)&&void 0!==o&&o]}}))}))};return React.createElement(FullCalendar$1,__assign$1({plugins:[main$3,main$2,main$1,main],headerToolbar:{left:"title",center:"",right:"prev,next today dayGridMonth,timeGridWeek,timeGridDay"},locales:_default,locale:"zh-cn",editable:!0,selectable:!0,selectMirror:!0,dayMaxEvents:!0,initialView:"timeGridWeek",events:function(e,t,n){setTimeout((function(){a("getEvents",{fetchInfo:e,successCallback:t,failureCallback:n})}),100)},select:function(e){a("select",e)},eventClick:function(e){a("eventClick",e)},eventsSet:function(e){a("eventsSet",e)},eventAdd:function(e){a("eventAdd",e)},eventChange:function(e){a("eventChange",e)},eventRemove:function(e){a("eventRemove",e)},forceEventDuration:!0},r))};exports.FullCalendar=FullCalendar;
82
82
  //# sourceMappingURL=fullcalendar.cjs.js.map