owncast/static/web/_next/static/chunks/971-621f7da64e666ff3.js
2023-07-10 01:36:23 +00:00

1 line
No EOL
55 KiB
JavaScript
Vendored

"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[971],{25413:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"bars",theme:"outlined"}},33282:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z"}}]},name:"ellipsis",theme:"outlined"}},6594:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z"}}]},name:"left",theme:"outlined"}},77307:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z"}}]},name:"right",theme:"outlined"}},54067:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(45799))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},26937:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(67701))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},68229:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(7500))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},67638:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r,a=(r=n(86994))&&r.__esModule?r:{default:r};t.default=a,e.exports=a},45799:function(e,t,n){var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=l?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(67294)),i=r(n(25413)),u=r(n(92074));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var s=function(e,t){return o.createElement(u.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:i.default}))};s.displayName="BarsOutlined";var f=o.forwardRef(s);t.default=f},67701:function(e,t,n){var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=l?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(67294)),i=r(n(33282)),u=r(n(92074));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var s=function(e,t){return o.createElement(u.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:i.default}))};s.displayName="EllipsisOutlined";var f=o.forwardRef(s);t.default=f},7500:function(e,t,n){var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=l?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(67294)),i=r(n(6594)),u=r(n(92074));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var s=function(e,t){return o.createElement(u.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:i.default}))};s.displayName="LeftOutlined";var f=o.forwardRef(s);t.default=f},86994:function(e,t,n){var r=n(64836),a=n(18698);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=r(n(42122)),o=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==a(e)&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},l=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var o in e)if("default"!==o&&Object.prototype.hasOwnProperty.call(e,o)){var i=l?Object.getOwnPropertyDescriptor(e,o):null;i&&(i.get||i.set)?Object.defineProperty(r,o,i):r[o]=e[o]}return r.default=e,n&&n.set(e,r),r}(n(67294)),i=r(n(77307)),u=r(n(92074));function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var s=function(e,t){return o.createElement(u.default,(0,l.default)((0,l.default)({},e),{},{ref:t,icon:i.default}))};s.displayName="RightOutlined";var f=o.forwardRef(s);t.default=f},63406:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(e){return!isNaN(parseFloat(e))&&isFinite(e)}},87412:function(e,t,n){var r,a=n(75263).default,l=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SiderContext=void 0;var o=l(n(38416)),i=l(n(10434)),u=l(n(27424)),c=l(n(54067)),s=l(n(68229)),f=l(n(67638)),d=l(n(94184)),p=l(n(18475)),v=a(n(67294)),m=n(31929),y=l(n(63406)),h=n(62704),E=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},b={xs:"479.98px",sm:"575.98px",md:"767.98px",lg:"991.98px",xl:"1199.98px",xxl:"1599.98px"},C=v.createContext({});t.SiderContext=C;var g=(r=0,function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return r+=1,"".concat(e).concat(r)}),N=v.forwardRef(function(e,t){var n,r,a,l,N,O,M,x,P,Z,S,I=e.prefixCls,w=e.className,_=e.trigger,R=e.children,k=e.defaultCollapsed,T=e.theme,A=void 0===T?"dark":T,j=e.style,K=void 0===j?{}:j,L=e.collapsible,D=void 0!==L&&L,U=e.reverseArrow,F=void 0!==U&&U,z=e.width,W=void 0===z?200:z,H=e.collapsedWidth,V=void 0===H?80:H,G=e.zeroWidthTriggerStyle,B=e.breakpoint,Q=e.onCollapse,Y=e.onBreakpoint,X=E(e,["prefixCls","className","trigger","children","defaultCollapsed","theme","style","collapsible","reverseArrow","width","collapsedWidth","zeroWidthTriggerStyle","breakpoint","onCollapse","onBreakpoint"]),q=(0,v.useContext)(h.LayoutContext).siderHook,J=(0,v.useState)("collapsed"in X?X.collapsed:void 0!==k&&k),$=(0,u.default)(J,2),ee=$[0],et=$[1],en=(0,v.useState)(!1),er=(0,u.default)(en,2),ea=er[0],el=er[1];(0,v.useEffect)(function(){"collapsed"in X&&et(X.collapsed)},[X.collapsed]);var eo=function(e,t){"collapsed"in X||et(e),null==Q||Q(e,t)},ei=(0,v.useRef)();ei.current=function(e){el(e.matches),null==Y||Y(e.matches),ee!==e.matches&&eo(e.matches,"responsive")},(0,v.useEffect)(function(){function e(e){return ei.current(e)}if("undefined"!=typeof window){var t,n=window.matchMedia;if(n&&B&&B in b){t=n("(max-width: ".concat(b[B],")"));try{t.addEventListener("change",e)}catch(n){t.addListener(e)}e(t)}}return function(){try{null==t||t.removeEventListener("change",e)}catch(n){null==t||t.removeListener(e)}}},[B]),(0,v.useEffect)(function(){var e=g("ant-sider-");return q.addSider(e),function(){return q.removeSider(e)}},[]);var eu=function(){eo(!ee,"clickTrigger")},ec=(0,v.useContext)(m.ConfigContext).getPrefixCls,es=v.useMemo(function(){return{siderCollapsed:ee}},[ee]);return v.createElement(C.Provider,{value:es},(r=ec("layout-sider",I),a=(0,p.default)(X,["collapsed"]),l=ee?V:W,N=(0,y.default)(l)?"".concat(l,"px"):String(l),O=0===parseFloat(String(V||0))?v.createElement("span",{onClick:eu,className:(0,d.default)("".concat(r,"-zero-width-trigger"),"".concat(r,"-zero-width-trigger-").concat(F?"right":"left")),style:G},_||v.createElement(c.default,null)):null,M=ee?"collapsed":"expanded",x=({expanded:F?v.createElement(f.default,null):v.createElement(s.default,null),collapsed:F?v.createElement(s.default,null):v.createElement(f.default,null)})[M],P=null!==_?O||v.createElement("div",{className:"".concat(r,"-trigger"),onClick:eu,style:{width:N}},_||x):null,Z=(0,i.default)((0,i.default)({},K),{flex:"0 0 ".concat(N),maxWidth:N,minWidth:N,width:N}),S=(0,d.default)(r,"".concat(r,"-").concat(A),(n={},(0,o.default)(n,"".concat(r,"-collapsed"),!!ee),(0,o.default)(n,"".concat(r,"-has-trigger"),D&&null!==_&&!O),(0,o.default)(n,"".concat(r,"-below"),!!ea),(0,o.default)(n,"".concat(r,"-zero-width"),0===parseFloat(N)),n),w),v.createElement("aside",(0,i.default)({className:S},a,{style:Z,ref:t}),v.createElement("div",{className:"".concat(r,"-children")},R),D||ea&&O?P:null)))});t.default=N},62704:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.LayoutContext=t.Header=t.Footer=t.Content=void 0;var l=a(n(861)),o=a(n(38416)),i=a(n(27424)),u=a(n(10434)),c=a(n(94184)),s=r(n(67294)),f=n(31929),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},p=s.createContext({siderHook:{addSider:function(){return null},removeSider:function(){return null}}});function v(e){var t=e.suffixCls,n=e.tagName;return e.displayName,function(e){return s.forwardRef(function(r,a){var l=(0,s.useContext(f.ConfigContext).getPrefixCls)(t,r.prefixCls);return s.createElement(e,(0,u.default)({ref:a,prefixCls:l,tagName:n},r))})}}t.LayoutContext=p;var m=s.forwardRef(function(e,t){var n=e.prefixCls,r=e.className,a=e.children,l=e.tagName,o=d(e,["prefixCls","className","children","tagName"]),i=(0,c.default)(n,r);return s.createElement(l,(0,u.default)((0,u.default)({className:i},o),{ref:t}),a)}),y=s.forwardRef(function(e,t){var n,r=s.useContext(f.ConfigContext).direction,a=s.useState([]),v=(0,i.default)(a,2),m=v[0],y=v[1],h=e.prefixCls,E=e.className,b=e.children,C=e.hasSider,g=e.tagName,N=d(e,["prefixCls","className","children","hasSider","tagName"]),O=(0,c.default)(h,(n={},(0,o.default)(n,"".concat(h,"-has-sider"),"boolean"==typeof C?C:m.length>0),(0,o.default)(n,"".concat(h,"-rtl"),"rtl"===r),n),E),M=s.useMemo(function(){return{siderHook:{addSider:function(e){y(function(t){return[].concat((0,l.default)(t),[e])})},removeSider:function(e){y(function(t){return t.filter(function(t){return t!==e})})}}}},[]);return s.createElement(p.Provider,{value:M},s.createElement(g,(0,u.default)({ref:t,className:O},N),b))}),h=v({suffixCls:"layout",tagName:"section",displayName:"Layout"})(y),E=v({suffixCls:"layout-header",tagName:"header",displayName:"Header"})(m);t.Header=E;var b=v({suffixCls:"layout-footer",tagName:"footer",displayName:"Footer"})(m);t.Footer=b;var C=v({suffixCls:"layout-content",tagName:"main",displayName:"Content"})(m);t.Content=C,t.default=h},22493:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=(0,n(67294).createContext)({prefixCls:"",firstLevel:!0,inlineCollapsed:!1});t.default=r},24421:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(10434)),o=a(n(38416)),i=a(n(94184)),u=n(97868),c=r(n(67294)),s=n(31929),f=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n};t.default=function(e){var t=e.prefixCls,n=e.className,r=e.dashed,a=f(e,["prefixCls","className","dashed"]),d=(0,c.useContext(s.ConfigContext).getPrefixCls)("menu",t),p=(0,i.default)((0,o.default)({},"".concat(d,"-item-divider-dashed"),!!r),n);return c.createElement(u.Divider,(0,l.default)({className:p},a))}},51005:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(38416)),o=a(n(10434)),i=a(n(56690)),u=a(n(89728)),c=a(n(61655)),s=a(n(26389)),f=a(n(94184)),d=n(97868),p=a(n(45598)),v=r(n(67294)),m=n(87412),y=a(n(94055)),h=n(47419),E=a(n(22493)),b=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},C=function(e){(0,c.default)(n,e);var t=(0,s.default)(n);function n(){var e;return(0,i.default)(this,n),e=t.apply(this,arguments),e.renderItem=function(t){var n,r,a=t.siderCollapsed,i=e.context,u=i.prefixCls,c=i.firstLevel,s=i.inlineCollapsed,m=i.direction,E=i.disableMenuItemTitleTooltip,C=e.props,g=C.className,N=C.children,O=e.props,M=O.title,x=O.icon,P=O.danger,Z=b(O,["title","icon","danger"]),S=M;void 0===M?S=c?N:"":!1===M&&(S="");var I={title:S};a||s||(I.title=null,I.open=!1);var w=(0,p.default)(N).length,_=v.createElement(d.Item,(0,o.default)({},Z,{className:(0,f.default)((n={},(0,l.default)(n,"".concat(u,"-item-danger"),P),(0,l.default)(n,"".concat(u,"-item-only-child"),(x?w+1:w)===1),n),g),title:"string"==typeof M?M:void 0}),(0,h.cloneElement)(x,{className:(0,f.default)((0,h.isValidElement)(x)?null===(r=x.props)||void 0===r?void 0:r.className:"","".concat(u,"-item-icon"))}),e.renderItemChildren(s));return E||(_=v.createElement(y.default,(0,o.default)({},I,{placement:"rtl"===m?"left":"right",overlayClassName:"".concat(u,"-inline-collapsed-tooltip")}),_)),_},e}return(0,u.default)(n,[{key:"renderItemChildren",value:function(e){var t=this.context,n=t.prefixCls,r=t.firstLevel,a=this.props,l=a.icon,o=a.children,i=v.createElement("span",{className:"".concat(n,"-title-content")},o);return(!l||(0,h.isValidElement)(o)&&"span"===o.type)&&o&&e&&r&&"string"==typeof o?v.createElement("div",{className:"".concat(n,"-inline-collapsed-noicon")},o.charAt(0)):i}},{key:"render",value:function(){return v.createElement(m.SiderContext.Consumer,null,this.renderItem)}}]),n}(v.Component);t.default=C,C.contextType=E.default},2639:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.OverrideProvider=void 0;var l=a(n(10434)),o=r(n(67294)),i=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},u=o.createContext(null);t.OverrideProvider=function(e){var t=e.children,n=i(e,["children"]),r=o.useContext(u),a=o.useMemo(function(){return(0,l.default)((0,l.default)({},r),n)},[r,n.prefixCls,n.mode,n.selectable]);return o.createElement(u.Provider,{value:a},t)},t.default=u},78966:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(10434)),o=a(n(94184)),i=n(97868),u=a(n(18475)),c=r(n(67294)),s=n(47419),f=a(n(22493));t.default=function(e){var t,n,r=e.popupClassName,a=e.icon,d=e.title,p=e.theme,v=c.useContext(f.default),m=v.prefixCls,y=v.inlineCollapsed,h=v.antdMenuTheme,E=(0,i.useFullPath)();if(a){var b=(0,s.isValidElement)(d)&&"span"===d.type;n=c.createElement(c.Fragment,null,(0,s.cloneElement)(a,{className:(0,o.default)((0,s.isValidElement)(a)?null===(t=a.props)||void 0===t?void 0:t.className:"","".concat(m,"-item-icon"))}),b?d:c.createElement("span",{className:"".concat(m,"-title-content")},d))}else n=y&&!E.length&&d&&"string"==typeof d?c.createElement("div",{className:"".concat(m,"-inline-collapsed-noicon")},d.charAt(0)):c.createElement("span",{className:"".concat(m,"-title-content")},d);var C=c.useMemo(function(){return(0,l.default)((0,l.default)({},v),{firstLevel:!1})},[v]);return c.createElement(f.default.Provider,{value:C},c.createElement(i.SubMenu,(0,l.default)({},(0,u.default)(e,["icon"]),{title:n,popupClassName:(0,o.default)(m,"".concat(m,"-").concat(p||h),r)})))}},88535:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return u.useMemo(function(){return e?function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,o.default)(t)){var r=t.label,a=t.children,p=t.key,v=t.type,m=d(t,["label","children","key","type"]),y=null!=p?p:"tmp-".concat(n);return a||"group"===v?"group"===v?u.createElement(i.ItemGroup,(0,l.default)({key:y},m,{title:r}),e(a)):u.createElement(f.default,(0,l.default)({key:y},m,{title:r}),e(a)):"divider"===v?u.createElement(c.default,(0,l.default)({key:y},m)):u.createElement(s.default,(0,l.default)({key:y},m),r)}return null}).filter(function(e){return e})}(e):e},[e])};var l=a(n(10434)),o=a(n(18698)),i=n(97868),u=r(n(67294)),c=a(n(24421)),s=a(n(51005)),f=a(n(78966)),d=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n}},12386:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var l=a(n(56690)),o=a(n(89728)),i=a(n(61655)),u=a(n(26389)),c=a(n(10434)),s=a(n(26937)),f=a(n(94184)),d=r(n(97868)),p=a(n(18545)),v=a(n(18475)),m=r(n(67294)),y=n(31929),h=n(87412),E=a(n(53683)),b=n(47419);a(n(13594));var C=a(n(88535)),g=a(n(22493)),N=a(n(24421)),O=a(n(51005)),M=a(n(2639)),x=a(n(78966)),P=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},Z=(0,m.forwardRef)(function(e,t){var n,r,a=m.useContext(M.default)||{},l=m.useContext(y.ConfigContext),o=l.getPrefixCls,i=l.getPopupContainer,u=l.direction,h=o(),N=e.prefixCls,O=e.className,x=e.theme,Z=void 0===x?"light":x,S=e.expandIcon,I=e._internalDisableMenuItemTitleTooltip,w=e.inlineCollapsed,_=e.siderCollapsed,R=e.items,k=e.children,T=e.mode,A=e.selectable,j=e.onClick,K=P(e,["prefixCls","className","theme","expandIcon","_internalDisableMenuItemTitleTooltip","inlineCollapsed","siderCollapsed","items","children","mode","selectable","onClick"]),L=(0,v.default)(K,["collapsedWidth"]),D=(0,C.default)(R)||k;null===(n=a.validator)||void 0===n||n.call(a,{mode:T});var U=(0,p.default)(function(){var e;null==j||j.apply(void 0,arguments),null===(e=null==a?void 0:a.onClick)||void 0===e||e.call(a)}),F=a.mode||T,z=null!=A?A:a.selectable,W=m.useMemo(function(){return void 0!==_?_:w},[w,_]),H={horizontal:{motionName:"".concat(h,"-slide-up")},inline:E.default,other:{motionName:"".concat(h,"-zoom-big")}},V=o("menu",N||a.prefixCls),G=(0,f.default)("".concat(V,"-").concat(Z),O);r="function"==typeof S?S:(0,b.cloneElement)(S||a.expandIcon,{className:"".concat(V,"-submenu-expand-icon")});var B=m.useMemo(function(){return{prefixCls:V,inlineCollapsed:W||!1,antdMenuTheme:Z,direction:u,firstLevel:!0,disableMenuItemTitleTooltip:I}},[V,W,Z,u,I]);return m.createElement(M.default.Provider,{value:null},m.createElement(g.default.Provider,{value:B},m.createElement(d.default,(0,c.default)({getPopupContainer:i,overflowedIndicator:m.createElement(s.default,null),overflowedIndicatorPopupClassName:"".concat(V,"-").concat(Z),mode:F,selectable:z,onClick:U},L,{inlineCollapsed:W,className:G,prefixCls:V,direction:u,defaultMotions:H,expandIcon:r,ref:t}),D)))}),S=function(e){(0,i.default)(n,e);var t=(0,u.default)(n);function n(){var e;return(0,l.default)(this,n),e=t.apply(this,arguments),e.focus=function(t){var n;null===(n=e.menu)||void 0===n||n.focus(t)},e}return(0,o.default)(n,[{key:"render",value:function(){var e=this;return m.createElement(h.SiderContext.Consumer,null,function(t){return m.createElement(Z,(0,c.default)({ref:function(t){e.menu=t}},e.props,t))})}}]),n}(m.Component);S.Divider=N.default,S.Item=O.default,S.SubMenu=x.default,S.ItemGroup=d.ItemGroup,t.default=S},98919:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.className,n=e.direction,r=e.index,a=e.marginDirection,c=e.children,s=e.split,f=e.wrap,d=i.useContext(u.SpaceContext),p=d.horizontalSize,v=d.verticalSize,m=d.latestIndex,y=d.supportFlexGap,h={};return(!y&&("vertical"===n?r<m&&(h={marginBottom:p/(s?2:1)}):h=(0,o.default)((0,o.default)({},r<m&&(0,l.default)({},a,p/(s?2:1))),f&&{paddingBottom:v})),null==c)?null:i.createElement(i.Fragment,null,i.createElement("div",{className:t,style:h},c),r<m&&s&&i.createElement("span",{className:"".concat(t,"-split"),style:h},s))};var l=a(n(38416)),o=a(n(10434)),i=r(n(67294)),u=n(74048)},74048:function(e,t,n){var r=n(75263).default,a=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SpaceContext=void 0;var l=a(n(10434)),o=a(n(38416)),i=a(n(27424)),u=a(n(94184)),c=a(n(45598)),s=r(n(67294)),f=n(31929),d=a(n(87855)),p=a(n(98919)),v=a(n(46549)),m=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var a=0,r=Object.getOwnPropertySymbols(e);a<r.length;a++)0>t.indexOf(r[a])&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]]);return n},y=s.createContext({latestIndex:0,horizontalSize:0,verticalSize:0,supportFlexGap:!1});t.SpaceContext=y;var h={small:8,middle:16,large:24},E=function(e){var t,n=s.useContext(f.ConfigContext),r=n.getPrefixCls,a=n.space,v=n.direction,E=e.size,b=void 0===E?(null==a?void 0:a.size)||"small":E,C=e.align,g=e.className,N=e.children,O=e.direction,M=void 0===O?"horizontal":O,x=e.prefixCls,P=e.split,Z=e.style,S=e.wrap,I=void 0!==S&&S,w=m(e,["size","align","className","children","direction","prefixCls","split","style","wrap"]),_=(0,d.default)(),R=s.useMemo(function(){return(Array.isArray(b)?b:[b,b]).map(function(e){return"string"==typeof e?h[e]:e||0})},[b]),k=(0,i.default)(R,2),T=k[0],A=k[1],j=(0,c.default)(N,{keepEmpty:!0}),K=void 0===C&&"horizontal"===M?"center":C,L=r("space",x),D=(0,u.default)(L,"".concat(L,"-").concat(M),(t={},(0,o.default)(t,"".concat(L,"-rtl"),"rtl"===v),(0,o.default)(t,"".concat(L,"-align-").concat(K),K),t),g),U="".concat(L,"-item"),F="rtl"===v?"marginLeft":"marginRight",z=0,W=j.map(function(e,t){null!=e&&(z=t);var n=e&&e.key||"".concat(U,"-").concat(t);return s.createElement(p.default,{className:U,key:n,direction:M,index:t,marginDirection:F,split:P,wrap:I},e)}),H=s.useMemo(function(){return{horizontalSize:T,verticalSize:A,latestIndex:z,supportFlexGap:_}},[T,A,z,_]);if(0===j.length)return null;var V={};return I&&(V.flexWrap="wrap",_||(V.marginBottom=-A)),_&&(V.columnGap=T,V.rowGap=A),s.createElement("div",(0,l.default)({className:D,style:(0,l.default)((0,l.default)({},V),Z)},w),s.createElement(y.Provider,{value:H},W))};E.Compact=v.default,t.default=E},97868:function(e,t,n){n.r(t),n.d(t,{Divider:function(){return eD},Item:function(){return ed},ItemGroup:function(){return eL},MenuItem:function(){return ed},MenuItemGroup:function(){return eL},SubMenu:function(){return e_},default:function(){return eU},useFullPath:function(){return Z}});var r=n(87462),a=n(4942),l=n(1413),o=n(74902),i=n(97685),u=n(45987),c=n(94184),s=n.n(c),f=n(39983),d=n(21770),p=n(80334),v=n(67294),m=n(73935),y=n(91881),h=v.createContext(null);function E(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function b(e){return E(v.useContext(h),e)}var C=n(56982),g=["children","locked"],N=v.createContext(null);function O(e){var t=e.children,n=e.locked,r=(0,u.Z)(e,g),a=v.useContext(N),o=(0,C.Z)(function(){var e;return e=(0,l.Z)({},a),Object.keys(r).forEach(function(t){var n=r[t];void 0!==n&&(e[t]=n)}),e},[a,r],function(e,t){return!n&&(e[0]!==t[0]||!(0,y.Z)(e[1],t[1],!0))});return v.createElement(N.Provider,{value:o},t)}var M=v.createContext(null);function x(){return v.useContext(M)}var P=v.createContext([]);function Z(e){var t=v.useContext(P);return v.useMemo(function(){return void 0!==e?[].concat((0,o.Z)(t),[e]):t},[t,e])}var S=v.createContext(null),I=v.createContext({}),w=n(15105),_=n(75164),R=n(88603),k=w.Z.LEFT,T=w.Z.RIGHT,A=w.Z.UP,j=w.Z.DOWN,K=w.Z.ENTER,L=w.Z.ESC,D=w.Z.HOME,U=w.Z.END,F=[A,j,k,T];function z(e,t){return(0,R.tS)(e,!0).filter(function(e){return t.has(e)})}function W(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1;if(!e)return null;var a=z(e,t),l=a.length,o=a.findIndex(function(e){return n===e});return r<0?-1===o?o=l-1:o-=1:r>0&&(o+=1),a[o=(o+l)%l]}var H="__RC_UTIL_PATH_SPLIT__",V=function(e){return e.join(H)},G="rc-menu-more";function B(e){var t=v.useRef(e);t.current=e;var n=v.useCallback(function(){for(var e,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))},[]);return e?n:void 0}var Q=Math.random().toFixed(5).toString().slice(2),Y=0,X=n(15671),q=n(43144),J=n(32531),$=n(73568),ee=n(98423),et=n(42550);function en(e,t,n,r){var a=v.useContext(N),l=a.activeKey,o=a.onActive,i=a.onInactive,u={active:l===e};return t||(u.onMouseEnter=function(t){null==n||n({key:e,domEvent:t}),o(e)},u.onMouseLeave=function(t){null==r||r({key:e,domEvent:t}),i(e)}),u}function er(e){var t=v.useContext(N),n=t.mode,r=t.rtl,a=t.inlineIndent;return"inline"!==n?null:r?{paddingRight:e*a}:{paddingLeft:e*a}}function ea(e){var t=e.icon,n=e.props,r=e.children;return("function"==typeof t?v.createElement(t,(0,l.Z)({},n)):t)||r||null}var el=["item"];function eo(e){var t=e.item,n=(0,u.Z)(e,el);return Object.defineProperty(n,"item",{get:function(){return(0,p.ZP)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}var ei=["title","attribute","elementRef"],eu=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],ec=["active"],es=function(e){(0,J.Z)(n,e);var t=(0,$.Z)(n);function n(){return(0,X.Z)(this,n),t.apply(this,arguments)}return(0,q.Z)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,a=e.elementRef,l=(0,u.Z)(e,ei),o=(0,ee.Z)(l,["eventKey","popupClassName","popupOffset","onTitleClick"]);return(0,p.ZP)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),v.createElement(f.Z.Item,(0,r.Z)({},n,{title:"string"==typeof t?t:void 0},o,{ref:a}))}}]),n}(v.Component),ef=v.forwardRef(function(e,t){var n,i=e.style,c=e.className,f=e.eventKey,d=(e.warnKey,e.disabled),p=e.itemIcon,m=e.children,y=e.role,h=e.onMouseEnter,E=e.onMouseLeave,C=e.onClick,g=e.onKeyDown,O=e.onFocus,M=(0,u.Z)(e,eu),x=b(f),P=v.useContext(N),S=P.prefixCls,_=P.onItemClick,R=P.disabled,k=P.overflowDisabled,T=P.itemIcon,A=P.selectedKeys,j=P.onActive,K=v.useContext(I)._internalRenderMenuItem,L="".concat(S,"-item"),D=v.useRef(),U=v.useRef(),F=R||d,z=(0,et.x1)(t,U),W=Z(f),H=function(e){return{key:f,keyPath:(0,o.Z)(W).reverse(),item:D.current,domEvent:e}},V=en(f,F,h,E),G=V.active,B=(0,u.Z)(V,ec),Q=A.includes(f),Y=er(W.length),X={};"option"===e.role&&(X["aria-selected"]=Q);var q=v.createElement(es,(0,r.Z)({ref:D,elementRef:z,role:null===y?"none":y||"menuitem",tabIndex:d?null:-1,"data-menu-id":k&&x?null:x},M,B,X,{component:"li","aria-disabled":d,style:(0,l.Z)((0,l.Z)({},Y),i),className:s()(L,(n={},(0,a.Z)(n,"".concat(L,"-active"),G),(0,a.Z)(n,"".concat(L,"-selected"),Q),(0,a.Z)(n,"".concat(L,"-disabled"),F),n),c),onClick:function(e){if(!F){var t=H(e);null==C||C(eo(t)),_(t)}},onKeyDown:function(e){if(null==g||g(e),e.which===w.Z.ENTER){var t=H(e);null==C||C(eo(t)),_(t)}},onFocus:function(e){j(f),null==O||O(e)}}),m,v.createElement(ea,{props:(0,l.Z)((0,l.Z)({},e),{},{isSelected:Q}),icon:p||T}));return K&&(q=K(q,e,{selected:Q})),q}),ed=v.forwardRef(function(e,t){var n=e.eventKey,a=x(),l=Z(n);return(v.useEffect(function(){if(a)return a.registerPath(n,l),function(){a.unregisterPath(n,l)}},[l]),a)?null:v.createElement(ef,(0,r.Z)({},e,{ref:t}))}),ep=["className","children"],ev=v.forwardRef(function(e,t){var n=e.className,a=e.children,l=(0,u.Z)(e,ep),o=v.useContext(N),i=o.prefixCls,c=o.mode,f=o.rtl;return v.createElement("ul",(0,r.Z)({className:s()(i,f&&"".concat(i,"-rtl"),"".concat(i,"-sub"),"".concat(i,"-").concat("inline"===c?"inline":"vertical"),n),role:"menu"},l,{"data-menu-list":!0,ref:t}),a)});ev.displayName="SubMenuList";var em=n(71002),ey=n(50344),eh=["label","children","key","type"];function eE(e,t){return(0,ey.Z)(e).map(function(e,n){if(v.isValidElement(e)){var r,a,l=e.key,i=null!==(r=null===(a=e.props)||void 0===a?void 0:a.eventKey)&&void 0!==r?r:l;null==i&&(i="tmp_key-".concat([].concat((0,o.Z)(t),[n]).join("-")));var u={key:i,eventKey:i};return v.cloneElement(e,u)}return e})}var eb=n(81263),eC={adjustX:1,adjustY:1},eg={topLeft:{points:["bl","tl"],overflow:eC,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:eC,offset:[0,7]},leftTop:{points:["tr","tl"],overflow:eC,offset:[-4,0]},rightTop:{points:["tl","tr"],overflow:eC,offset:[4,0]}},eN={topLeft:{points:["bl","tl"],overflow:eC,offset:[0,-7]},bottomLeft:{points:["tl","bl"],overflow:eC,offset:[0,7]},rightTop:{points:["tr","tl"],overflow:eC,offset:[-4,0]},leftTop:{points:["tl","tr"],overflow:eC,offset:[4,0]}};function eO(e,t,n){return t||(n?n[e]||n.other:void 0)}var eM={horizontal:"bottomLeft",vertical:"rightTop","vertical-left":"rightTop","vertical-right":"leftTop"};function ex(e){var t=e.prefixCls,n=e.visible,r=e.children,o=e.popup,u=e.popupClassName,c=e.popupOffset,f=e.disabled,d=e.mode,p=e.onVisibleChange,m=v.useContext(N),y=m.getPopupContainer,h=m.rtl,E=m.subMenuOpenDelay,b=m.subMenuCloseDelay,C=m.builtinPlacements,g=m.triggerSubMenuAction,O=m.forceSubMenuRender,M=m.rootClassName,x=m.motion,P=m.defaultMotions,Z=v.useState(!1),S=(0,i.Z)(Z,2),I=S[0],w=S[1],R=h?(0,l.Z)((0,l.Z)({},eN),C):(0,l.Z)((0,l.Z)({},eg),C),k=eM[d],T=eO(d,x,P),A=v.useRef(T);"inline"!==d&&(A.current=T);var j=(0,l.Z)((0,l.Z)({},A.current),{},{leavedClassName:"".concat(t,"-hidden"),removeOnLeave:!1,motionAppear:!0}),K=v.useRef();return v.useEffect(function(){return K.current=(0,_.Z)(function(){w(n)}),function(){_.Z.cancel(K.current)}},[n]),v.createElement(eb.Z,{prefixCls:t,popupClassName:s()("".concat(t,"-popup"),(0,a.Z)({},"".concat(t,"-rtl"),h),u,M),stretch:"horizontal"===d?"minWidth":null,getPopupContainer:y,builtinPlacements:R,popupPlacement:k,popupVisible:I,popup:o,popupAlign:c&&{offset:c},action:f?[]:[g],mouseEnterDelay:E,mouseLeaveDelay:b,onPopupVisibleChange:p,forceRender:O,popupMotion:j},r)}var eP=n(82225);function eZ(e){var t=e.id,n=e.open,a=e.keyPath,o=e.children,u="inline",c=v.useContext(N),s=c.prefixCls,f=c.forceSubMenuRender,d=c.motion,p=c.defaultMotions,m=c.mode,y=v.useRef(!1);y.current=m===u;var h=v.useState(!y.current),E=(0,i.Z)(h,2),b=E[0],C=E[1],g=!!y.current&&n;v.useEffect(function(){y.current&&C(!1)},[m]);var M=(0,l.Z)({},eO(u,d,p));a.length>1&&(M.motionAppear=!1);var x=M.onVisibleChanged;return(M.onVisibleChanged=function(e){return y.current||e||C(!0),null==x?void 0:x(e)},b)?null:v.createElement(O,{mode:u,locked:!y.current},v.createElement(eP.default,(0,r.Z)({visible:g},M,{forceRender:f,removeOnLeave:!1,leavedClassName:"".concat(s,"-hidden")}),function(e){var n=e.className,r=e.style;return v.createElement(ev,{id:t,className:n,style:r},o)}))}var eS=["style","className","title","eventKey","warnKey","disabled","internalPopupClose","children","itemIcon","expandIcon","popupClassName","popupOffset","onClick","onMouseEnter","onMouseLeave","onTitleClick","onTitleMouseEnter","onTitleMouseLeave"],eI=["active"],ew=function(e){var t,n=e.style,o=e.className,c=e.title,d=e.eventKey,p=(e.warnKey,e.disabled),m=e.internalPopupClose,y=e.children,h=e.itemIcon,E=e.expandIcon,C=e.popupClassName,g=e.popupOffset,M=e.onClick,x=e.onMouseEnter,P=e.onMouseLeave,w=e.onTitleClick,_=e.onTitleMouseEnter,R=e.onTitleMouseLeave,k=(0,u.Z)(e,eS),T=b(d),A=v.useContext(N),j=A.prefixCls,K=A.mode,L=A.openKeys,D=A.disabled,U=A.overflowDisabled,F=A.activeKey,z=A.selectedKeys,W=A.itemIcon,H=A.expandIcon,V=A.onItemClick,G=A.onOpenChange,Q=A.onActive,Y=v.useContext(I)._internalRenderSubMenuItem,X=v.useContext(S).isSubPathKey,q=Z(),J="".concat(j,"-submenu"),$=D||p,ee=v.useRef(),et=v.useRef(),el=E||H,ei=L.includes(d),eu=!U&&ei,ec=X(z,d),es=en(d,$,_,R),ef=es.active,ed=(0,u.Z)(es,eI),ep=v.useState(!1),em=(0,i.Z)(ep,2),ey=em[0],eh=em[1],eE=function(e){$||eh(e)},eb=v.useMemo(function(){return ef||"inline"!==K&&(ey||X([F],d))},[K,ef,F,ey,d,X]),eC=er(q.length),eg=B(function(e){null==M||M(eo(e)),V(e)}),eN=T&&"".concat(T,"-popup"),eO=v.createElement("div",(0,r.Z)({role:"menuitem",style:eC,className:"".concat(J,"-title"),tabIndex:$?null:-1,ref:ee,title:"string"==typeof c?c:null,"data-menu-id":U&&T?null:T,"aria-expanded":eu,"aria-haspopup":!0,"aria-controls":eN,"aria-disabled":$,onClick:function(e){$||(null==w||w({key:d,domEvent:e}),"inline"===K&&G(d,!ei))},onFocus:function(){Q(d)}},ed),c,v.createElement(ea,{icon:"horizontal"!==K?el:null,props:(0,l.Z)((0,l.Z)({},e),{},{isOpen:eu,isSubMenu:!0})},v.createElement("i",{className:"".concat(J,"-arrow")}))),eM=v.useRef(K);if("inline"!==K&&q.length>1?eM.current="vertical":eM.current=K,!U){var eP=eM.current;eO=v.createElement(ex,{mode:eP,prefixCls:J,visible:!m&&eu&&"inline"!==K,popupClassName:C,popupOffset:g,popup:v.createElement(O,{mode:"horizontal"===eP?"vertical":eP},v.createElement(ev,{id:eN,ref:et},y)),disabled:$,onVisibleChange:function(e){"inline"!==K&&G(d,e)}},eO)}var ew=v.createElement(f.Z.Item,(0,r.Z)({role:"none"},k,{component:"li",style:n,className:s()(J,"".concat(J,"-").concat(K),o,(t={},(0,a.Z)(t,"".concat(J,"-open"),eu),(0,a.Z)(t,"".concat(J,"-active"),eb),(0,a.Z)(t,"".concat(J,"-selected"),ec),(0,a.Z)(t,"".concat(J,"-disabled"),$),t)),onMouseEnter:function(e){eE(!0),null==x||x({key:d,domEvent:e})},onMouseLeave:function(e){eE(!1),null==P||P({key:d,domEvent:e})}}),eO,!U&&v.createElement(eZ,{id:eN,open:eu,keyPath:q},y));return Y&&(ew=Y(ew,e,{selected:ec,active:eb,open:eu,disabled:$})),v.createElement(O,{onItemClick:eg,mode:"horizontal"===K?"vertical":K,itemIcon:h||W,expandIcon:el},ew)};function e_(e){var t,n=e.eventKey,r=e.children,a=Z(n),l=eE(r,a),o=x();return v.useEffect(function(){if(o)return o.registerPath(n,a),function(){o.unregisterPath(n,a)}},[a]),t=o?l:v.createElement(ew,e,l),v.createElement(P.Provider,{value:a},t)}var eR=["prefixCls","rootClassName","style","className","tabIndex","items","children","direction","id","mode","inlineCollapsed","disabled","disabledOverflow","subMenuOpenDelay","subMenuCloseDelay","forceSubMenuRender","defaultOpenKeys","openKeys","activeKey","defaultActiveFirst","selectable","multiple","defaultSelectedKeys","selectedKeys","onSelect","onDeselect","inlineIndent","motion","defaultMotions","triggerSubMenuAction","builtinPlacements","itemIcon","expandIcon","overflowedIndicator","overflowedIndicatorPopupClassName","getPopupContainer","onClick","onOpenChange","onKeyDown","openAnimation","openTransitionName","_internalRenderMenuItem","_internalRenderSubMenuItem"],ek=[],eT=v.forwardRef(function(e,t){var n,c,p,b,C,g,N,x,P,Z,w,R,X,q,J,$,ee,et,en,er,ea,el,ei,eu,ec,es,ef,ep=e.prefixCls,ev=void 0===ep?"rc-menu":ep,ey=e.rootClassName,eb=e.style,eC=e.className,eg=e.tabIndex,eN=e.items,eO=e.children,eM=e.direction,ex=e.id,eP=e.mode,eZ=void 0===eP?"vertical":eP,eS=e.inlineCollapsed,eI=e.disabled,ew=e.disabledOverflow,eT=e.subMenuOpenDelay,eA=e.subMenuCloseDelay,ej=e.forceSubMenuRender,eK=e.defaultOpenKeys,eU=e.openKeys,eF=e.activeKey,ez=e.defaultActiveFirst,eW=e.selectable,eH=void 0===eW||eW,eV=e.multiple,eG=void 0!==eV&&eV,eB=e.defaultSelectedKeys,eQ=e.selectedKeys,eY=e.onSelect,eX=e.onDeselect,eq=e.inlineIndent,eJ=e.motion,e$=e.defaultMotions,e0=e.triggerSubMenuAction,e1=e.builtinPlacements,e4=e.itemIcon,e6=e.expandIcon,e2=e.overflowedIndicator,e8=void 0===e2?"...":e2,e9=e.overflowedIndicatorPopupClassName,e3=e.getPopupContainer,e7=e.onClick,e5=e.onOpenChange,te=e.onKeyDown,tt=(e.openAnimation,e.openTransitionName,e._internalRenderMenuItem),tn=e._internalRenderSubMenuItem,tr=(0,u.Z)(e,eR),ta=v.useMemo(function(){var e;return e=eO,eN&&(e=function e(t){return(t||[]).map(function(t,n){if(t&&"object"===(0,em.Z)(t)){var a=t.label,l=t.children,o=t.key,i=t.type,c=(0,u.Z)(t,eh),s=null!=o?o:"tmp-".concat(n);return l||"group"===i?"group"===i?v.createElement(eL,(0,r.Z)({key:s},c,{title:a}),e(l)):v.createElement(e_,(0,r.Z)({key:s},c,{title:a}),e(l)):"divider"===i?v.createElement(eD,(0,r.Z)({key:s},c)):v.createElement(ed,(0,r.Z)({key:s},c),a)}return null}).filter(function(e){return e})}(eN)),eE(e,ek)},[eO,eN]),tl=v.useState(!1),to=(0,i.Z)(tl,2),ti=to[0],tu=to[1],tc=v.useRef(),ts=(n=(0,d.Z)(ex,{value:ex}),p=(c=(0,i.Z)(n,2))[0],b=c[1],v.useEffect(function(){Y+=1;var e="".concat(Q,"-").concat(Y);b("rc-menu-uuid-".concat(e))},[]),p),tf="rtl"===eM,td=(0,d.Z)(eK,{value:eU,postState:function(e){return e||ek}}),tp=(0,i.Z)(td,2),tv=tp[0],tm=tp[1],ty=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function n(){tm(e),null==e5||e5(e)}t?(0,m.flushSync)(n):n()},th=v.useState(tv),tE=(0,i.Z)(th,2),tb=tE[0],tC=tE[1],tg=v.useRef(!1),tN=v.useMemo(function(){return("inline"===eZ||"vertical"===eZ)&&eS?["vertical",eS]:[eZ,!1]},[eZ,eS]),tO=(0,i.Z)(tN,2),tM=tO[0],tx=tO[1],tP="inline"===tM,tZ=v.useState(tM),tS=(0,i.Z)(tZ,2),tI=tS[0],tw=tS[1],t_=v.useState(tx),tR=(0,i.Z)(t_,2),tk=tR[0],tT=tR[1];v.useEffect(function(){tw(tM),tT(tx),tg.current&&(tP?tm(tb):ty(ek))},[tM,tx]);var tA=v.useState(0),tj=(0,i.Z)(tA,2),tK=tj[0],tL=tj[1],tD=tK>=ta.length-1||"horizontal"!==tI||ew;v.useEffect(function(){tP&&tC(tv)},[tv]),v.useEffect(function(){return tg.current=!0,function(){tg.current=!1}},[]);var tU=(C=v.useState({}),g=(0,i.Z)(C,2)[1],N=(0,v.useRef)(new Map),x=(0,v.useRef)(new Map),P=v.useState([]),w=(Z=(0,i.Z)(P,2))[0],R=Z[1],X=(0,v.useRef)(0),q=(0,v.useRef)(!1),J=function(){q.current||g({})},$=(0,v.useCallback)(function(e,t){var n=V(t);x.current.set(n,e),N.current.set(e,n),X.current+=1;var r=X.current;Promise.resolve().then(function(){r===X.current&&J()})},[]),ee=(0,v.useCallback)(function(e,t){var n=V(t);x.current.delete(n),N.current.delete(e)},[]),et=(0,v.useCallback)(function(e){R(e)},[]),en=(0,v.useCallback)(function(e,t){var n=(N.current.get(e)||"").split(H);return t&&w.includes(n[0])&&n.unshift(G),n},[w]),er=(0,v.useCallback)(function(e,t){return e.some(function(e){return en(e,!0).includes(t)})},[en]),ea=(0,v.useCallback)(function(e){var t="".concat(N.current.get(e)).concat(H),n=new Set;return(0,o.Z)(x.current.keys()).forEach(function(e){e.startsWith(t)&&n.add(x.current.get(e))}),n},[]),v.useEffect(function(){return function(){q.current=!0}},[]),{registerPath:$,unregisterPath:ee,refreshOverflowKeys:et,isSubPathKey:er,getKeyPath:en,getKeys:function(){var e=(0,o.Z)(N.current.keys());return w.length&&e.push(G),e},getSubPathKeys:ea}),tF=tU.registerPath,tz=tU.unregisterPath,tW=tU.refreshOverflowKeys,tH=tU.isSubPathKey,tV=tU.getKeyPath,tG=tU.getKeys,tB=tU.getSubPathKeys,tQ=v.useMemo(function(){return{registerPath:tF,unregisterPath:tz}},[tF,tz]),tY=v.useMemo(function(){return{isSubPathKey:tH}},[tH]);v.useEffect(function(){tW(tD?ek:ta.slice(tK+1).map(function(e){return e.key}))},[tK,tD]);var tX=(0,d.Z)(eF||ez&&(null===(es=ta[0])||void 0===es?void 0:es.key),{value:eF}),tq=(0,i.Z)(tX,2),tJ=tq[0],t$=tq[1],t0=B(function(e){t$(e)}),t1=B(function(){t$(void 0)});(0,v.useImperativeHandle)(t,function(){return{list:tc.current,focus:function(e){var t,n,r,a,l=null!=tJ?tJ:null===(t=ta.find(function(e){return!e.props.disabled}))||void 0===t?void 0:t.key;l&&(null===(n=tc.current)||void 0===n||null===(r=n.querySelector("li[data-menu-id='".concat(E(ts,l),"']")))||void 0===r||null===(a=r.focus)||void 0===a||a.call(r,e))}}});var t4=(0,d.Z)(eB||[],{value:eQ,postState:function(e){return Array.isArray(e)?e:null==e?ek:[e]}}),t6=(0,i.Z)(t4,2),t2=t6[0],t8=t6[1],t9=function(e){if(eH){var t,n=e.key,r=t2.includes(n);t8(t=eG?r?t2.filter(function(e){return e!==n}):[].concat((0,o.Z)(t2),[n]):[n]);var a=(0,l.Z)((0,l.Z)({},e),{},{selectedKeys:t});r?null==eX||eX(a):null==eY||eY(a)}!eG&&tv.length&&"inline"!==tI&&ty(ek)},t3=B(function(e){null==e7||e7(eo(e)),t9(e)}),t7=B(function(e,t){var n=tv.filter(function(t){return t!==e});if(t)n.push(e);else if("inline"!==tI){var r=tB(e);n=n.filter(function(e){return!r.has(e)})}(0,y.Z)(tv,n,!0)||ty(n,!0)}),t5=B(e3),ne=(el=function(e,t){var n=null!=t?t:!tv.includes(e);t7(e,n)},ei=v.useRef(),(eu=v.useRef()).current=tJ,ec=function(){_.Z.cancel(ei.current)},v.useEffect(function(){return function(){ec()}},[]),function(e){var t=e.which;if([].concat(F,[K,L,D,U]).includes(t)){var n=function(){return u=new Set,c=new Map,s=new Map,tG().forEach(function(e){var t=document.querySelector("[data-menu-id='".concat(E(ts,e),"']"));t&&(u.add(t),s.set(t,e),c.set(e,t))}),u};n();var r=function(e,t){for(var n=e||document.activeElement;n;){if(t.has(n))return n;n=n.parentElement}return null}(c.get(tJ),u),l=s.get(r),o=function(e,t,n,r){var l,o,i,u,c="prev",s="next",f="children",d="parent";if("inline"===e&&r===K)return{inlineTrigger:!0};var p=(l={},(0,a.Z)(l,A,c),(0,a.Z)(l,j,s),l),v=(o={},(0,a.Z)(o,k,n?s:c),(0,a.Z)(o,T,n?c:s),(0,a.Z)(o,j,f),(0,a.Z)(o,K,f),o),m=(i={},(0,a.Z)(i,A,c),(0,a.Z)(i,j,s),(0,a.Z)(i,K,f),(0,a.Z)(i,L,d),(0,a.Z)(i,k,n?f:d),(0,a.Z)(i,T,n?d:f),i);switch(null===(u=({inline:p,horizontal:v,vertical:m,inlineSub:p,horizontalSub:m,verticalSub:m})["".concat(e).concat(t?"":"Sub")])||void 0===u?void 0:u[r]){case c:return{offset:-1,sibling:!0};case s:return{offset:1,sibling:!0};case d:return{offset:-1,sibling:!1};case f:return{offset:1,sibling:!1};default:return null}}(tI,1===tV(l,!0).length,tf,t);if(!o&&t!==D&&t!==U)return;(F.includes(t)||[D,U].includes(t))&&e.preventDefault();var i=function(e){if(e){var t=e,n=e.querySelector("a");null!=n&&n.getAttribute("href")&&(t=n);var r=s.get(e);t$(r),ec(),ei.current=(0,_.Z)(function(){eu.current===r&&t.focus()})}};if([D,U].includes(t)||o.sibling||!r){var u,c,s,f,d=z(f=r&&"inline"!==tI?function(e){for(var t=e;t;){if(t.getAttribute("data-menu-list"))return t;t=t.parentElement}return null}(r):tc.current,u);i(t===D?d[0]:t===U?d[d.length-1]:W(f,u,r,o.offset))}else if(o.inlineTrigger)el(l);else if(o.offset>0)el(l,!0),ec(),ei.current=(0,_.Z)(function(){n();var e=r.getAttribute("aria-controls");i(W(document.getElementById(e),u))},5);else if(o.offset<0){var p=tV(l,!0),v=p[p.length-2],m=c.get(v);el(v,!1),i(m)}}null==te||te(e)});v.useEffect(function(){tu(!0)},[]);var nt=v.useMemo(function(){return{_internalRenderMenuItem:tt,_internalRenderSubMenuItem:tn}},[tt,tn]),nn="horizontal"!==tI||ew?ta:ta.map(function(e,t){return v.createElement(O,{key:e.key,overflowDisabled:t>tK},e)}),nr=v.createElement(f.Z,(0,r.Z)({id:ex,ref:tc,prefixCls:"".concat(ev,"-overflow"),component:"ul",itemComponent:ed,className:s()(ev,"".concat(ev,"-root"),"".concat(ev,"-").concat(tI),eC,(ef={},(0,a.Z)(ef,"".concat(ev,"-inline-collapsed"),tk),(0,a.Z)(ef,"".concat(ev,"-rtl"),tf),ef),ey),dir:eM,style:eb,role:"menu",tabIndex:void 0===eg?0:eg,data:nn,renderRawItem:function(e){return e},renderRawRest:function(e){var t=e.length,n=t?ta.slice(-t):null;return v.createElement(e_,{eventKey:G,title:e8,disabled:tD,internalPopupClose:0===t,popupClassName:e9},n)},maxCount:"horizontal"!==tI||ew?f.Z.INVALIDATE:f.Z.RESPONSIVE,ssr:"full","data-menu-list":!0,onVisibleChange:function(e){tL(e)},onKeyDown:ne},tr));return v.createElement(I.Provider,{value:nt},v.createElement(h.Provider,{value:ts},v.createElement(O,{prefixCls:ev,rootClassName:ey,mode:tI,openKeys:tv,rtl:tf,disabled:eI,motion:ti?eJ:null,defaultMotions:ti?e$:null,activeKey:tJ,onActive:t0,onInactive:t1,selectedKeys:t2,inlineIndent:void 0===eq?24:eq,subMenuOpenDelay:void 0===eT?.1:eT,subMenuCloseDelay:void 0===eA?.1:eA,forceSubMenuRender:ej,builtinPlacements:e1,triggerSubMenuAction:void 0===e0?"hover":e0,getPopupContainer:t5,itemIcon:e4,expandIcon:e6,onItemClick:t3,onOpenChange:t7},v.createElement(S.Provider,{value:tY},nr),v.createElement("div",{style:{display:"none"},"aria-hidden":!0},v.createElement(M.Provider,{value:tQ},ta)))))}),eA=["className","title","eventKey","children"],ej=["children"],eK=function(e){var t=e.className,n=e.title,a=(e.eventKey,e.children),l=(0,u.Z)(e,eA),o=v.useContext(N).prefixCls,i="".concat(o,"-item-group");return v.createElement("li",(0,r.Z)({role:"presentation"},l,{onClick:function(e){return e.stopPropagation()},className:s()(i,t)}),v.createElement("div",{role:"presentation",className:"".concat(i,"-title"),title:"string"==typeof n?n:void 0},n),v.createElement("ul",{role:"group",className:"".concat(i,"-list")},a))};function eL(e){var t=e.children,n=(0,u.Z)(e,ej),r=eE(t,Z(n.eventKey));return x()?r:v.createElement(eK,(0,ee.Z)(n,["warnKey"]),r)}function eD(e){var t=e.className,n=e.style,r=v.useContext(N).prefixCls;return x()?null:v.createElement("li",{className:s()("".concat(r,"-item-divider"),t),style:n})}eT.Item=ed,eT.SubMenu=e_,eT.ItemGroup=eL,eT.Divider=eD;var eU=eT},39983:function(e,t,n){n.d(t,{Z:function(){return I}});var r=n(87462),a=n(1413),l=n(97685),o=n(45987),i=n(67294),u=n(94184),c=n.n(u),s=n(48555),f=n(8410),d=["prefixCls","invalidate","item","renderItem","responsive","responsiveDisabled","registerSize","itemKey","className","style","children","display","order","component"],p=void 0,v=i.forwardRef(function(e,t){var n,l=e.prefixCls,u=e.invalidate,f=e.item,v=e.renderItem,m=e.responsive,y=e.responsiveDisabled,h=e.registerSize,E=e.itemKey,b=e.className,C=e.style,g=e.children,N=e.display,O=e.order,M=e.component,x=void 0===M?"div":M,P=(0,o.Z)(e,d),Z=m&&!N;i.useEffect(function(){return function(){h(E,null)}},[]);var S=v&&f!==p?v(f):g;u||(n={opacity:Z?0:1,height:Z?0:p,overflowY:Z?"hidden":p,order:m?O:p,pointerEvents:Z?"none":p,position:Z?"absolute":p});var I={};Z&&(I["aria-hidden"]=!0);var w=i.createElement(x,(0,r.Z)({className:c()(!u&&l,b),style:(0,a.Z)((0,a.Z)({},n),C)},I,P,{ref:t}),S);return m&&(w=i.createElement(s.default,{onResize:function(e){h(E,e.offsetWidth)},disabled:y},w)),w});v.displayName="Item";var m=n(66680),y=n(73935),h=n(75164);function E(e,t){var n=i.useState(t),r=(0,l.Z)(n,2),a=r[0],o=r[1];return[a,(0,m.Z)(function(t){e(function(){o(t)})})]}var b=i.createContext(null),C=["component"],g=["className"],N=["className"],O=i.forwardRef(function(e,t){var n=i.useContext(b);if(!n){var a=e.component,l=void 0===a?"div":a,u=(0,o.Z)(e,C);return i.createElement(l,(0,r.Z)({},u,{ref:t}))}var s=n.className,f=(0,o.Z)(n,g),d=e.className,p=(0,o.Z)(e,N);return i.createElement(b.Provider,{value:null},i.createElement(v,(0,r.Z)({ref:t,className:c()(s,d)},f,p)))});O.displayName="RawItem";var M=["prefixCls","data","renderItem","renderRawItem","itemKey","itemWidth","ssr","style","className","maxCount","renderRest","renderRawRest","suffix","component","itemComponent","onVisibleChange"],x="responsive",P="invalidate";function Z(e){return"+ ".concat(e.length," ...")}var S=i.forwardRef(function(e,t){var n,u,d=e.prefixCls,p=void 0===d?"rc-overflow":d,m=e.data,C=void 0===m?[]:m,g=e.renderItem,N=e.renderRawItem,O=e.itemKey,S=e.itemWidth,I=void 0===S?10:S,w=e.ssr,_=e.style,R=e.className,k=e.maxCount,T=e.renderRest,A=e.renderRawRest,j=e.suffix,K=e.component,L=void 0===K?"div":K,D=e.itemComponent,U=e.onVisibleChange,F=(0,o.Z)(e,M),z="full"===w,W=(n=i.useRef(null),function(e){n.current||(n.current=[],function(e){if("undefined"==typeof MessageChannel)(0,h.Z)(e);else{var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(void 0)}}(function(){(0,y.unstable_batchedUpdates)(function(){n.current.forEach(function(e){e()}),n.current=null})})),n.current.push(e)}),H=E(W,null),V=(0,l.Z)(H,2),G=V[0],B=V[1],Q=G||0,Y=E(W,new Map),X=(0,l.Z)(Y,2),q=X[0],J=X[1],$=E(W,0),ee=(0,l.Z)($,2),et=ee[0],en=ee[1],er=E(W,0),ea=(0,l.Z)(er,2),el=ea[0],eo=ea[1],ei=E(W,0),eu=(0,l.Z)(ei,2),ec=eu[0],es=eu[1],ef=(0,i.useState)(null),ed=(0,l.Z)(ef,2),ep=ed[0],ev=ed[1],em=(0,i.useState)(null),ey=(0,l.Z)(em,2),eh=ey[0],eE=ey[1],eb=i.useMemo(function(){return null===eh&&z?Number.MAX_SAFE_INTEGER:eh||0},[eh,G]),eC=(0,i.useState)(!1),eg=(0,l.Z)(eC,2),eN=eg[0],eO=eg[1],eM="".concat(p,"-item"),ex=Math.max(et,el),eP=k===x,eZ=C.length&&eP,eS=k===P,eI=eZ||"number"==typeof k&&C.length>k,ew=(0,i.useMemo)(function(){var e=C;return eZ?e=null===G&&z?C:C.slice(0,Math.min(C.length,Q/I)):"number"==typeof k&&(e=C.slice(0,k)),e},[C,I,G,k,eZ]),e_=(0,i.useMemo)(function(){return eZ?C.slice(eb+1):C.slice(ew.length)},[C,ew,eZ,eb]),eR=(0,i.useCallback)(function(e,t){var n;return"function"==typeof O?O(e):null!==(n=O&&(null==e?void 0:e[O]))&&void 0!==n?n:t},[O]),ek=(0,i.useCallback)(g||function(e){return e},[g]);function eT(e,t,n){(eh!==e||void 0!==t&&t!==ep)&&(eE(e),n||(eO(e<C.length-1),null==U||U(e)),void 0!==t&&ev(t))}function eA(e,t){J(function(n){var r=new Map(n);return null===t?r.delete(e):r.set(e,t),r})}function ej(e){return q.get(eR(ew[e],e))}(0,f.Z)(function(){if(Q&&"number"==typeof ex&&ew){var e=ec,t=ew.length,n=t-1;if(!t){eT(0,null);return}for(var r=0;r<t;r+=1){var a=ej(r);if(z&&(a=a||0),void 0===a){eT(r-1,void 0,!0);break}if(e+=a,0===n&&e<=Q||r===n-1&&e+ej(n)<=Q){eT(n,null);break}if(e+ex>Q){eT(r-1,e-a-ec+el);break}}j&&ej(0)+ec>Q&&ev(null)}},[Q,q,el,ec,eR,ew]);var eK=eN&&!!e_.length,eL={};null!==ep&&eZ&&(eL={position:"absolute",left:ep,top:0});var eD={prefixCls:eM,responsive:eZ,component:D,invalidate:eS},eU=N?function(e,t){var n=eR(e,t);return i.createElement(b.Provider,{key:n,value:(0,a.Z)((0,a.Z)({},eD),{},{order:t,item:e,itemKey:n,registerSize:eA,display:t<=eb})},N(e,t))}:function(e,t){var n=eR(e,t);return i.createElement(v,(0,r.Z)({},eD,{order:t,key:n,item:e,renderItem:ek,itemKey:n,registerSize:eA,display:t<=eb}))},eF={order:eK?eb:Number.MAX_SAFE_INTEGER,className:"".concat(eM,"-rest"),registerSize:function(e,t){eo(t),en(el)},display:eK};if(A)A&&(u=i.createElement(b.Provider,{value:(0,a.Z)((0,a.Z)({},eD),eF)},A(e_)));else{var ez=T||Z;u=i.createElement(v,(0,r.Z)({},eD,eF),"function"==typeof ez?ez(e_):ez)}var eW=i.createElement(L,(0,r.Z)({className:c()(!eS&&p,R),style:_,ref:t},F),ew.map(eU),eI?u:null,j&&i.createElement(v,(0,r.Z)({},eD,{responsive:eP,responsiveDisabled:!eZ,order:eb,className:"".concat(eM,"-suffix"),registerSize:function(e,t){es(t)},display:!0,style:eL}),j));return eP&&(eW=i.createElement(s.default,{onResize:function(e,t){B(t.clientWidth)},disabled:!eZ},eW)),eW});S.displayName="Overflow",S.Item=O,S.RESPONSIVE=x,S.INVALIDATE=P;var I=S},88603:function(e,t,n){n.d(t,{tS:function(){return o}});var r=n(74902),a=n(5110);function l(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if((0,a.Z)(e)){var n=e.nodeName.toLowerCase(),r=["input","select","textarea","button"].includes(n)||e.isContentEditable||"a"===n&&!!e.getAttribute("href"),l=e.getAttribute("tabindex"),o=Number(l),i=null;return l&&!Number.isNaN(o)?i=o:r&&null===i&&(i=0),r&&e.disabled&&(i=null),null!==i&&(i>=0||t&&i<0)}return!1}function o(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=(0,r.Z)(e.querySelectorAll("*")).filter(function(e){return l(e,t)});return l(e,t)&&n.unshift(e),n}},15105:function(e,t){var n={MAC_ENTER:3,BACKSPACE:8,TAB:9,NUM_CENTER:12,ENTER:13,SHIFT:16,CTRL:17,ALT:18,PAUSE:19,CAPS_LOCK:20,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,PRINT_SCREEN:44,INSERT:45,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,WIN_KEY_RIGHT:92,CONTEXT_MENU:93,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUMLOCK:144,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,PERIOD:190,SLASH:191,APOSTROPHE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,WIN_KEY:224,MAC_FF_META:224,WIN_IME:229,isTextModifyingKeyEvent:function(e){var t=e.keyCode;if(e.altKey&&!e.ctrlKey||e.metaKey||t>=n.F1&&t<=n.F12)return!1;switch(t){case n.ALT:case n.CAPS_LOCK:case n.CONTEXT_MENU:case n.CTRL:case n.DOWN:case n.END:case n.ESC:case n.HOME:case n.INSERT:case n.LEFT:case n.MAC_FF_META:case n.META:case n.NUMLOCK:case n.NUM_CENTER:case n.PAGE_DOWN:case n.PAGE_UP:case n.PAUSE:case n.PRINT_SCREEN:case n.RIGHT:case n.SHIFT:case n.UP:case n.WIN_KEY:case n.WIN_KEY_RIGHT:return!1;default:return!0}},isCharacterKey:function(e){if(e>=n.ZERO&&e<=n.NINE||e>=n.NUM_ZERO&&e<=n.NUM_MULTIPLY||e>=n.A&&e<=n.Z||-1!==window.navigator.userAgent.indexOf("WebKit")&&0===e)return!0;switch(e){case n.SPACE:case n.QUESTION_MARK:case n.NUM_PLUS:case n.NUM_MINUS:case n.NUM_PERIOD:case n.NUM_DIVISION:case n.SEMICOLON:case n.DASH:case n.EQUALS:case n.COMMA:case n.PERIOD:case n.SLASH:case n.APOSTROPHE:case n.SINGLE_QUOTE:case n.OPEN_SQUARE_BRACKET:case n.BACKSLASH:case n.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}};t.Z=n},66680:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(67294);function a(e){var t=r.useRef();return t.current=e,r.useCallback(function(){for(var e,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return null===(e=t.current)||void 0===e?void 0:e.call.apply(e,[t].concat(r))},[])}},21770:function(e,t,n){n.d(t,{Z:function(){return u}});var r=n(97685),a=n(66680),l=n(8410),o=n(30470);function i(e){return void 0!==e}function u(e,t){var n=t||{},u=n.defaultValue,c=n.value,s=n.onChange,f=n.postState,d=(0,o.Z)(function(){return i(c)?c:i(u)?"function"==typeof u?u():u:"function"==typeof e?e():e}),p=(0,r.Z)(d,2),v=p[0],m=p[1],y=void 0!==c?c:v,h=f?f(y):y,E=(0,a.Z)(s),b=(0,o.Z)([y]),C=(0,r.Z)(b,2),g=C[0],N=C[1];return(0,l.o)(function(){var e=g[0];v!==e&&E(v,e)},[g]),(0,l.o)(function(){i(c)||m(c)},[c]),[h,(0,a.Z)(function(e,t){m(e,t),N([y],t)})]}},98423:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(1413);function a(e,t){var n=(0,r.Z)({},e);return Array.isArray(t)&&t.forEach(function(e){delete n[e]}),n}}}]);